NetworkX

Previous topic

networkx.is_strongly_connected

Next topic

networkx.strongly_connected_components

Quick search

networkx.number_strongly_connected_components

number_strongly_connected_components(G)

Return the number of connected components in G.

For undirected graphs only.