This documents the development version of NetworkX. Documentation for the current release can be found here.
Returns the set of nodes in the component of graph containing node n.
- GNetworkX Graph
An undirected graph.
- nnode label
A node in G
A set of nodes in the component of G containing node n.
If G is directed.
For undirected graphs only.