BaseNetwork.number_of_edges

BaseNetwork.number_of_edges()

Compute the number of edges of the network.

Returns

int – the number of edges.