Returns the condensation of G.
The condensation of G is the graph with each of the strongly connected components contracted into a single node.
Parameters: | G : NetworkX Graph
|
---|---|
Returns: | cG : NetworkX DiGraph
|
Notes
After contracting all strongly connected components to a single node, the resulting graph is a directed acyclic graph.