Network.number_of_edges

Network.number_of_edges()[source]

Compute the number of edges of the network.

Returns

int – the number of edges.