is_strongly_connected

networkx.algorithms.components.strongly_connected.is_strongly_connected(G)[source]

Test directed graph for strong connectivity.

Parameters:G (NetworkX Graph) – A directed graph.
Returns:connected – True if the graph is strongly connected, False otherwise.
Return type:bool

Notes

For directed graphs only.