Cell.edge_sample

Cell.edge_sample(size=1)

A random sample of the edges.

Parameters

size (int, optional) – The number of edges in the random sample.

Returns

list[tuple[int, int]] – The identifiers of the edges.