nocad.viz.plot_scc_hierarchy#

nocad.viz.plot_scc_hierarchy(adj, drivers=None, sensors=None, direction='control', matching=None, ax=None, labels=None, node_size=230, title=None, legend=True, level_labels=True)[source]#

Draw the network level by level on its condensation (see hierarchy_layout()).

Strongly connected components are shaded: source components (they need a driver node) blue, sink components (they need a sensor node) vermilion, components that are both (isolated parts) purple. Driver and sensor nodes are computed with path finding when not given; drivers=() draws none.

Returns:
axmatplotlib Axes

Examples using nocad.viz.plot_scc_hierarchy#

The SCC hierarchy: where inputs and outputs must go

The SCC hierarchy: where inputs and outputs must go

Heat exchanger networks

Heat exchanger networks

The frontal neural network of C. elegans

The frontal neural network of C. elegans