# graphscope.experimental.nx.DiGraph.size¶

DiGraph.size(weight=None)

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