Nutritious Pomegranate Muffins
Wondering what’s next for npm?Check out our public roadmap! »

@antv/graphinTypeScript icon, indicating that this package has built-in type declarations

2.0.0-beta.2 • 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

649

Version

2.0.0-beta.2

License

MIT

Unpacked Size

606 kB

Total Files

57

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
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar