FormNetwork.get_any_edge

FormNetwork.get_any_edge()

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.