aryagraph.algorithms.traversal.dfs_edges#

aryagraph.algorithms.traversal.dfs_edges(g: Graph, source: Hashable | None = None, *, depth_limit: int | None = None) → list[tuple[Hashable, Hashable]][source]#

Tree edges (parent, child) of the depth-first search, in discovery order.