Need private packages and team management tools?Check out npm Teams »

@antv/graphin

1.0.5 • Public • Published

npm package NPM downloads Build Status

Percentage of issues still open

中文

@antv/graphin

This package is the core React component of Graphin, the graph analysis toolkit based on G6 3.x.

Install

 
npm install @antv/graphin --save
 

UMD bundle is available in releases. External dependencys: lodash, react, react-dom, @antv/g6.

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import Graphin, { Utils } from '@antv/graphin';
import '@antv/graphin/dist/index.css';
 
const App = () => {
    const data = Utils.mock(10).graphin();
    return (
        <div className="App">
            <Graphin data={data} />
        </div>
    );
};
 
const rootElement = document.getElementById('root');
ReactDOM.render(<App />, rootElement);

Docs

Please refer to Graphin doc site

APIs

Please refer to Graphin doc site for API

Keywords

none

Install

npm i @antv/graphin

DownloadsWeekly Downloads

342

Version

1.0.5

License

MIT

Unpacked Size

720 kB

Total Files

103

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar