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