react-graph-vis
react-graph-vis copied to clipboard
Add ability for user supplied/custom datasets
This adds the possibility to use user supplied/custom DataSets instead of only arrays for the edges and nodes.
Example:
<Graph graph={{ edges: new DataSet(), nodes: new CustomDataSet() }}
options=.../>
or
<Graph graph={{ edges: new DataSet(), nodes: [] }}
options=.../>