friendlysam.parts.FlowNetwork.graph

FlowNetwork.graph

A graph of all the flows.

Gets a NetworkX DiGraph representation of the graph of how nodes are connected. See https://networkx.github.io/ for details.

The graph object is a copy of the internal graph, so changing it does not affect the FlowNetwork

Examples

>>> FlowNetwork('resource').graph
<networkx.classes.digraph.DiGraph object at 0x...>