graphscope.experimental.nx.DiGraph.size

DiGraph.size(weight=None)

Returns the number of edges or total of all edge weights.

See also

number_of_edges