__init__.py 676 B

123456789101112131415161718
  1. """
  2. *********
  3. JSON data
  4. *********
  5. Generate and parse JSON serializable data for NetworkX graphs.
  6. These formats are suitable for use with the d3.js examples https://d3js.org/
  7. The three formats that you can generate with NetworkX are:
  8. - node-link like in the d3.js example https://bl.ocks.org/mbostock/4062045
  9. - tree like in the d3.js example https://bl.ocks.org/mbostock/4063550
  10. - adjacency like in the d3.js example https://bost.ocks.org/mike/miserables/
  11. """
  12. from networkx.readwrite.json_graph.node_link import *
  13. from networkx.readwrite.json_graph.adjacency import *
  14. from networkx.readwrite.json_graph.tree import *
  15. from networkx.readwrite.json_graph.cytoscape import *