@dxos/app-graph - v0.16.0
    Preparing search index...

    Type Alias GraphTraversalOptions

    type GraphTraversalOptions = {
        relation: RelationInput | RelationInput[];
        source?: string;
        visitor: (node: Node, path: string[]) => boolean | void;
    }
    Index

    Properties

    The relation(s) to traverse graph edges.

    source?: string

    The node to start traversing from.

    ROOT_ID
    
    visitor: (node: Node, path: string[]) => boolean | void

    A callback which is called for each node visited during traversal.

    If the callback returns false, traversal is stops recursing.