nodes

nodes(G)[source]

Return a copy of the graph nodes in a list.