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

Added JSON import function #80

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

Added JSON import function #80

wants to merge 3 commits into from

Conversation

svcu
Copy link

@svcu svcu commented Nov 3, 2021

Import your nodes and edges from an external JSON document.

The JSON object must be like this:

{ "Sophie ": ["Albert", "Mike"], "Mike":["Sophie", "Albert"] }
When importing the edges you loop through all the keys of the JSON object (Souce Nodes) and read the value of the JSON object in that key, that value must be an array of Destination nodes. You loop through all the Destination nodes and add an edge from the Source Node to the Destination Node

Import your nodes and edges from an external JSON document
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