Graph.number_of_edges Graph.number_of_edges()[source] Compute the number of edges of the graph. Returns: intThe number of edges. See also number_of_nodes()