#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

networkx.classes.function.number_of_edges

number_of_edges(G)[source]

Returns the number of edges in the graph.