Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for user supplied/custom datasets #112

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

notourist
Copy link
Contributor

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

Allow the component to use user supplied data sets for nodes and edges instead of only arrays.
notourist added a commit to notourist/react-graph-vis that referenced this pull request Apr 27, 2021
@notourist notourist mentioned this pull request Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant