rustworkx.PyDiGraph.num_edges#

PyDiGraph.num_edges()#

Return the number of edges in the graph