Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

# strongly_connected_components¶

strongly_connected_components(G)[source]

Generate nodes in strongly connected components of graph.

Parameters: G : NetworkX Graph An directed graph. comp : generator of lists A list of nodes for each strongly connected component of G. NetworkXNotImplemented: If G is undirected.

connected_components, weakly_connected_components