Files
easy-graph--easy-graph/easygraph/readwrite/json_graph/__init__.py
T
2026-07-13 12:36:30 +08:00

17 lines
521 B
Python

"""
*********
JSON data
*********
Generate and parse JSON serializable data for NetworkX graphs.
These formats are suitable for use with the d3.js examples https://d3js.org/
The three formats that you can generate with NetworkX are:
- node-link like in the d3.js example https://bl.ocks.org/mbostock/4062045
- tree like in the d3.js example https://bl.ocks.org/mbostock/4063550
- adjacency like in the d3.js example https://bost.ocks.org/mike/miserables/
"""
from easygraph.readwrite.json_graph.node_link import *