This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Return number of strongly connected components in graph.
G : NetworkX graph
A directed graph.
n : integer
Number of strongly connected components
For directed graphs only.