Graph.number_of_nodes Graph.number_of_nodes()[source] Compute the number of nodes of the graph. Returns: intThe number of nodes. See also number_of_edges()