本文へ移動

@eightkk/vue-weave / core / GraphPathResult

Interface: GraphPathResult ​

Defined in: src/core/graphAlgorithms.ts:61

Properties ​

distance ​

distance: number

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

Total cost: the edge count, or the sum of weights.


edgeIds ​

edgeIds: string[]

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

IDs of the traversed edges, one fewer than nodeIds.


nodeIds ​

nodeIds: string[]

Defined in: src/core/graphAlgorithms.ts:63

Node IDs from the start to the end, inclusive.

MIT ライセンスで公開しています。