Graph.to_networkx

Graph.to_networkx()[source]

Create a new NetworkX graph instance from a graph.

Returns:
networkx.DiGraph

A newly created NetworkX DiGraph.

See also

from_networkx()