graphscope.experimental.nx.Graph.size

Graph.size(weight=None)[source]

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

See also

number_of_edges