view env/lib/python3.9/site-packages/networkx/readwrite/json_graph/ @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
line wrap: on
line source

JSON data
Generate and parse JSON serializable data for NetworkX graphs.

These formats are suitable for use with the d3.js examples

The three formats that you can generate with NetworkX are:

 - node-link like in the d3.js example
 - tree like in the d3.js example
 - adjacency like in the d3.js example
from networkx.readwrite.json_graph.node_link import *
from networkx.readwrite.json_graph.adjacency import *
from networkx.readwrite.json_graph.tree import *
from networkx.readwrite.json_graph.jit import *
from networkx.readwrite.json_graph.cytoscape import *