FormDiagram.get_any_edge

FormDiagram.get_any_edge()[source]

Get the identifier of a random edge.

Deprecated since version 1.13.3: Use edge_sample() instead.

Returns:

tuple[hashable, hashable] – The identifier of the edge in the form of a pair of vertex identifiers.