dracula icon indicating copy to clipboard operation
dracula copied to clipboard

Added JSON import function

Open svcu opened this issue 4 years ago • 0 comments

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

svcu avatar Nov 03 '21 04:11 svcu