Plugin developed by Aditya Giri.
This plugin provides a single function, sigma.parsers.netjson()
, that will load a NetJSON encoded file, parse it, eventually instantiate sigma and fill the graph with the graph.read()
method. The main goal is to allow use of NetJSON files in sigma.js.
First, add Sigma.js and sigma.parsers.netjson.js to your document.
The most basic way to use this helper is to call it with a path and a container. It will then instanciate sigma, but after having added the graph into the config object.
sigma.parsers.netjson(
'myGraph.json',
'myContainer'
);
- Sigma.js - A graphing library
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Aditya Giri - Initial work - BrainBuzzer
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details