nodes

nodes(G)[source]

Return an iterator over the graph nodes.