Block.edge_loop

Block.edge_loop(edge)

Find all edges on the same loop as a given edge.

Parameters:
edgetuple[int, int]

The identifier of the starting edge.

Returns:
list[tuple[int, int]]

The edges on the same loop as the given edge.