Network.to_networkx

Network.to_networkx()[source]

Create a new NetworkX graph instance from a graph.

Returns

networkx.DiGraph – A newly created NetworkX DiGraph.