NetworkX

Previous topic

nodes

Next topic

nodes_iter

number_of_nodes

static function.number_of_nodes(G)

Return the number of nodes in the graph.