Skip to content

Implement DAG topology iterators #746

@coderofstuff

Description

@coderofstuff

Is your feature request related to a problem? Please describe.
Iterating forwards or backwards in topological DAG order from a root to some set of tips is a common operation in several parts of the code. It is currently commonly implemented as a BFS.

Describe the solution you'd like
To make this process less error prone, it is good to have an actual iterator for this operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions