networkcommons.eval.get_number_edges

networkcommons.eval.get_number_edges(network)

Get the number of edges in the network.

Parameters:

network (nx.Graph) – The network to get the number of edges from.

Returns:

The number of edges in the network.

Return type:

int