Network.number_of_nodes

Network.number_of_nodes()

Compute the number of nodes of the network.

Returns

int – the number of nodes.