Block.edge_sample

Block.edge_sample(size=1)

A random sample of the edges.

Parameters:
sizeint, optional

The number of edges in the random sample.

Returns:
list[tuple[int, int]]

The identifiers of the edges.