C = condensation(G)
returns a directed graph C whose nodes represent the strongly
connected components in G. This reduction provides a simplified
view of the connectivity between components.
Condensation graph, returned as a digraph object.
C is a directed acyclic graph (DAG), and is
topologically sorted. The node numbers in C correspond to
the bin numbers returned by conncomp.
condensation determines the nodes and edges in
C by the components and connectivity in
G:
C contains a node for each strongly connected
component in G.
C contains an edge between node
I and node J if there is
an edge from any node in component I to any node
in component J of G.