copapy.backend.get_all_dag_edges_between#

copapy.backend.get_all_dag_edges_between(roots, leaves)#

Get all edges in the DAG connecting given roots with given leaves

Parameters:

nodes – Iterable of nodes to start the traversal from

Yields:

Tuples of (source_node, target_node) representing edges in the DAG

Return type:

Generator[tuple[Node, Node], None, None]