Skip to main content

reachable

Function reachable 

Source
pub fn reachable(
    store: &Store,
    from: &EntityId,
    max_depth: usize,
) -> Vec<EntityId>
Expand description

Find all entities reachable from a starting entity within max_depth hops. Undirected traversal (follows both outgoing and incoming edges). Returns the set of reachable entity IDs including the start node.