Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / networkx / readwrite / json_graph / __init__.py @ 5cef0f13

History | View | Annotate | Download (724 Bytes)

1
"""
2
*********
3
JSON data
4
*********
5
Generate and parse JSON serializable data for NetworkX graphs.
6

7
These formats are suitable for use with the d3.js examples https://d3js.org/
8

9
The three formats that you can generate with NetworkX are:
10

11
 - node-link like in the d3.js example https://bl.ocks.org/mbostock/4062045
12
 - tree like in the d3.js example https://bl.ocks.org/mbostock/4063550
13
 - adjacency like in the d3.js example https://bost.ocks.org/mike/miserables/
14
"""
15
from networkx.readwrite.json_graph.node_link import *
16
from networkx.readwrite.json_graph.adjacency import *
17
from networkx.readwrite.json_graph.tree import *
18
from networkx.readwrite.json_graph.jit import *
19
from networkx.readwrite.json_graph.cytoscape import *