English
@eightkk/vue-weave / core / ShortestGraphPathOptions
Interface: ShortestGraphPathOptions
Defined in: src/core/graphAlgorithms.ts:54
Properties
directed?
optionaldirected?:boolean
Defined in: src/core/graphAlgorithms.ts:56
Default true follows edge direction only; false lets edges be walked in both directions.
weight?
optionalweight?: (edge) =>number
Defined in: src/core/graphAlgorithms.ts:58
Edge cost; must be finite and nonnegative. Without it every edge costs 1 (breadth-first search).
Parameters
edge
Returns
number