Feature Request: Import/Export graph as JSON #957

Open
geofurb opened this Issue Aug 12, 2016 · 3 comments

Projects

None yet

2 participants

@geofurb
geofurb commented Aug 12, 2016

It would be nice if we could import and export graphs in JSON node-link format per:
http://bl.ocks.org/mbostock/4062045

@szhorvat
Contributor
szhorvat commented Aug 17, 2016 edited

The question is: What software uses this specific format? Is it widely used?

It shouldn't be difficult to produce JSON form an igraph graph with any of the high-level interfaces. With Mathematica it was just a few lines even 3 years ago and now it should be simpler still.

There are many different ways to encode a graph into JSON. Does it make any sense to create an exporter just for one type of representation unless it is widely used by many different tools?

@geofurb
geofurb commented Aug 17, 2016

This is the most flexible format for import/export in the very popular Python graph library, NetworkX.

@szhorvat
Contributor
szhorvat commented Sep 13, 2016 edited

Is it fully documented anywhere? Is there any other software than NetworkX which uses this specific encoding into JSON?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment