Skip to main content

dfs

Function dfs 

Source
pub fn dfs<V>(
    q: &GraphQuery<V>,
    weight: &TraversalWeight<V>,
    start: &Pattern<V>,
) -> Vec<Pattern<V>>
where V: GraphValue + Clone, V::Id: Clone + Eq + Hash + Ord,
Expand description

Depth-first traversal from start.

Returns nodes in DFS visit order. The start node is always included.