react-graph-vis icon indicating copy to clipboard operation
react-graph-vis copied to clipboard

Add ability for user supplied/custom datasets

Open notourist opened this issue 4 years ago • 0 comments

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=.../>

notourist avatar Apr 27 '21 13:04 notourist