rustworkx.PyGraph.num_edges#

PyGraph.num_edges()#

Return the number of edges in the graph