FormNetwork.number_of_nodes

FormNetwork.number_of_nodes()

Compute the number of nodes of the graph.

Returns

int – The number of nodes.