Return nodes in connected components of graph.
Parameters: | G : NetworkX Graph
|
---|---|
Returns: | comp : list of lists
|
See also
strongly_connected_components
Notes
The list is ordered from largest connected component to smallest. For undirected graphs only.