rustworkx.PyDAG.num_edges#

PyDAG.num_edges()#

Return the number of edges in the graph