Graph.get_any_edge

Graph.get_any_edge()[source]

Get the identifier of a random edge.

Returns

tuple – The identifier of the edge in the form of a pair of vertex identifiers.