networkx.connected_component_subgraphs
networkx.is_strongly_connected
Return a list of nodes of the connected component containing node n.
For undirected graphs only.