@antv/graphin
the react toolkit for graph analysis based on g6
Last updated 4 days ago by pomelo-nwu .
MIT · Original npm · Tarball · package.json
$ cnpm install @antv/graphin 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.5.0-beta.0                                ...           beta (4 months ago)
  • 2.0.0-beta.2                                ...           latest (4 days ago)
  • 1.4.5                                ...           next (5 months ago)

38 Versions

  • 2.0.0-beta.2                                ...           4 days ago
  • 2.0.0-beta.1                                ...           7 days ago
  • 1.6.3                                ...           11 days ago
  • 1.6.2                                ...           11 days ago
  • 1.6.1                                ...           19 days ago
  • 1.6.0                                ...           a month ago
  • 1.5.0                                ...           3 months ago
  • 1.5.0-beta.0                                ...           4 months ago
  • 1.4.5                                ...           5 months ago
  • 1.4.4                                ...           6 months ago
  • 1.4.3                                ...           6 months ago
  • 1.4.2                                ...           6 months ago
  • 1.4.1                                ...           7 months ago
  • 1.4.0                                ...           7 months ago
  • 1.3.0                                ...           8 months ago
  • 1.2.1                                ...           8 months ago
  • 1.2.0                                ...           9 months ago
  • 1.1.0-beta.2                                ...           10 months ago
  • 1.1.0-beta.1                                ...           10 months ago
  • 1.1.0                                ...           10 months ago
  • 1.0.6-beta                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-beta.12                                ...           a year ago
  • 1.0.0-beta.11                                ...           a year ago
  • 1.0.0-beta.10                                ...           a year ago
  • 1.0.0-beta.9                                ...           a year ago
  • 1.0.0-beta.8                                ...           a year ago
  • 1.0.0-beta.7                                ...           a year ago
  • 1.0.0-beta.5                                ...           a year ago
  • 1.0.0-beta.4                                ...           a year ago
  • 1.0.0-beta.3                                ...           a year ago
  • 1.0.0-beta.2                                ...           a year ago
  • 1.0.0-beta.1                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |