Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

IsolatesΒΆ

Functions for identifying isolate (degree zero) nodes.

is_isolate(G, n) Determines whether a node is an isolate.
isolates(G) Iterator over isolates in the graph.
number_of_isolates(G) Returns the number of isolates in the graph.