nodes

nodes(G)[source]

Returns an iterator over the graph nodes.