Exports the network to a JSON file with an array of nodes and an array of edges. This file is suitable to be used with the parseJSON plugin to Sigma.js. JSON allows Sigma.js to be faster and work
Why use JSON and not Gexf for Sigma?
Gexf is larger than JSON using extra bandwidth (important for mobile), does not parse correctly on Internet Explorer (yes there are still people using this browser), and is faster (everyone wants that!). More information here.
Sigma.js website: http://sigmajs.org/
Sigma.js JSON parser
Use the sigma.parseJson.js plugin to Sigma just as you use the parseGexf plugin and enjoy all the benefits of JSON.
v1.1 (Aug 2013)
- Switch to Google Gson for underlying JSON conversion fixing issues with improper escapes.
- Export edge attributes
- Export edge color