Finds sets of edges with non-overlapping neighboring nodes.
- Parameters:
graph (Sequence[Sequence[int]]) – The input graph specified as a sequence of edges (Sequence[int]).
- Returns:
A list of lists of edges (Tuple[int]) from the original graph with non-overlapping neighboring nodes.
- Return type:
list[list[Sequence[int]]]