Skip to main content

transitive_deps

Function transitive_deps 

Source
pub fn transitive_deps(
    start_id: &str,
    predicate: CodeEdgePredicate,
    max_depth: usize,
    nodes_batch: &RecordBatch,
    edges_batch: &RecordBatch,
) -> Vec<CodeNode>
Expand description

Transitive dependency search — find all nodes reachable from start_id following edges of type predicate, up to max_depth hops.

Returns nodes in breadth-first order (excluding the start node).