Return graph from adjacency data format.
Parameters : | data : dict
|
---|---|
Returns : | G : NetworkX graph
directed : bool
multigraph : bool
|
See also
Examples
>>> from networkx.readwrite import json_graph
>>> G = nx.Graph([(1,2)])
>>> data = json_graph.adjacency_data(G)
>>> H = json_graph.adjacency_graph(data)