Network.get_any_edges
- Network.get_any_edges(n)[source]
Get the identifiers of a set of random edges.
Deprecated since version 1.13.3: Use
edge_sample()
instead.- Parameters
n (int) – The number of edges in the set.
- Returns
list[tuple[hashable, hashable]] – The identifiers of the random edges.