Skip to main content

traverse

Function traverse 

Source
pub async fn traverse(
    store: &dyn GraphStore,
    start: &NodeId,
    edge_label: Option<&str>,
    max_depth: usize,
) -> Result<Vec<Node>>
Expand description

Breadth-first traversal that walks edges matching edge_label outward from start, returning every node reached within max_depth.