pub fn bfs<V>(
q: &GraphQuery<V>,
weight: &TraversalWeight<V>,
start: &Pattern<V>,
) -> Vec<Pattern<V>>Expand description
Breadth-first traversal from start.
Returns nodes in BFS visit order. The start node is always included.
pub fn bfs<V>(
q: &GraphQuery<V>,
weight: &TraversalWeight<V>,
start: &Pattern<V>,
) -> Vec<Pattern<V>>Breadth-first traversal from start.
Returns nodes in BFS visit order. The start node is always included.