FormDiagram.edge_sample

FormDiagram.edge_sample(size=1)[source]

Get the identifiers of a set of random edges.

Parameters:

size (int, optional) – The size of the sample.

Returns:

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