Graph.edge_sample
- Graph.edge_sample(size=1)[source]
Get the identifiers of a set of random edges.
- Parameters:
- sizeint, optional
The size of the sample.
- Returns:
- list[tuple[hashable, hashable]]
The identifiers of the random edges.
See also
Site Navigation
Get the identifiers of a set of random edges.
The size of the sample.
The identifiers of the random edges.
See also