Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Conversation

@AndrewSpeed
Copy link
Contributor

Networks are exported as a JSON array containing an array of objects
representing each node in the network. Each node contains an Id, it's x
and y coordinates and the nodes it is connected to.

Import converts the JSON to a vis DataSet and then regenerates the
network using each node's attributes, inserting it in the same
coordinates and with the same number of connections as before.

Implementation for Issue #2073

Networks are exported as a JSON array containing an array of objects
representing each node in the network. Each node contains an Id, it's x
and y coordinates and the nodes it is connected to.

Import converts the JSON to a vis DataSet and then regenerates the
network using each node's attributes, inserting it in the same
coordinates and with the same number of connections as before.
Copy link
Member

@mojoaxel mojoaxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice! Perfect!
Thats exactly what we were looking for!

@mojoaxel mojoaxel merged commit ea859d4 into visjs:develop Oct 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants