TopologyDiagram.to_networkx

TopologyDiagram.to_networkx()[source]

Create a new NetworkX graph instance from a graph.

Returns:

networkx.DiGraph – A newly created NetworkX DiGraph.