JSON

JSON data

Generate and parse JSON serializable data for DyNetx graphs.

node_link_data(G[, attrs]) Return data in node-link format that is suitable for JSON serialization and use in Javascript documents.
node_link_graph(data[, directed, attrs]) Return graph from node-link data format.