@cylynx/graphin
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • 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';

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

Readme

Keywords

none

Package Sidebar

Install

npm i @cylynx/graphin

Weekly Downloads

1

Version

2.2.0

License

MIT

Unpacked Size

1.85 MB

Total Files

244

Last publish

Collaborators

  • timothy-lynx
  • cylynx-yinghua