Skip to main content

dfs

Function dfs 

Source
pub fn dfs(
    graph: &CodeGraph,
    start_id: u64,
    options: &TraversalOptions,
) -> TraversalResult
Expand description

Perform a depth-first traversal from the given start node.

Returns all reachable nodes with their distance from the start.