Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

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.