NetworkX

Previous topic

edges

Next topic

edges_iter

number_of_edges

number_of_edges(G)[source]

Return the number of edges in the graph.