pub fn bfs<T: Sync + Send + Debug>(
    initial: NodeRef<T>
) -> impl Iterator<Item = NodeRef<T>>
Expand description

Returns a Breadth-first search of the DAG, as an iterator of NodeRef This is expected to be used in conjunction with a node_dag::NodeDag<T>, walking the graph from one of its heads.