Skip to content

GraphEdgeTuple = readonly [from: number, to: number] | readonly [from: number, to: number, weight: number]

Defined in: packages/graph/src/graph.ts:79

One edge as a tuple: [from, to] on an unweighted graph, [from, to, weight] on a weighted one.