Skip to content

@eightkk/vue-weave / core / GraphTraversalResult

Interface: GraphTraversalResult ​

Defined in: src/core/graphTraversal.ts:54

Properties ​

edgeIds ​

edgeIds: string[]

Defined in: src/core/graphTraversal.ts:58

Every edge followed from a node that was expanded, in discovery order.


multiplyReachedIds? ​

optional multiplyReachedIds?: string[]

Defined in: src/core/graphTraversal.ts:72

With paths: true: the reached nodes, starts excepted, into which more than one followed edge leads (in any walk), so that more than one path reaches them. In nodeIds order.


nodeIds ​

nodeIds: string[]

Defined in: src/core/graphTraversal.ts:56

The known start nodes and every node reached from them, in discovery order.


truncated? ​

optional truncated?: GraphTraversalTruncation[]

Defined in: src/core/graphTraversal.ts:65

With edgeFilter, maxNodes or paths: true: the nodes at which a limit stopped a walk, once per node and walk, in the order the walks met them. Empty when every accepted edge of the reached nodes was followed.


unknownIds ​

unknownIds: string[]

Defined in: src/core/graphTraversal.ts:60

Start IDs that are not nodes of the graph, deduplicated, in input order.


via? ​

optional via?: GraphTraversalVia

Defined in: src/core/graphTraversal.ts:67

With paths: true: the step through which each walk first reached each node, which has the fewest hops in that walk.

Released under the MIT License.