interface SearchFirstOptions1 {
    directed?: boolean;
    root: string | CollectionArgument;
    visit?: SearchVisitFunction;
}

Hierarchy (view full)

Properties

Properties

directed?: boolean

A boolean indicating whether the algorithm should only go along edges from source to target (default false).

root: string | CollectionArgument

The root nodes (selector or collection) to start the search from.

A handler function that is called when a node is visited in the search.