Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/networkx/readwrite/json_graph/__init__.py: 100%
4 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-10-20 07:00 +0000
« prev ^ index » next coverage.py v7.3.2, created at 2023-10-20 07:00 +0000
1"""
2*********
3JSON data
4*********
5Generate and parse JSON serializable data for NetworkX graphs.
7These formats are suitable for use with the d3.js examples https://d3js.org/
9The three formats that you can generate with NetworkX are:
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"""
15from networkx.readwrite.json_graph.node_link import *
16from networkx.readwrite.json_graph.adjacency import *
17from networkx.readwrite.json_graph.tree import *
18from networkx.readwrite.json_graph.cytoscape import *