Hyperlinkv0.8.0-beta.28

Graph

Graph.NodeIndextypeeffect/Graph.ts:49
number

Node index for node identification using plain numbers.

When to use

Use when storing or passing the stable identifier of a graph node between Graph operations.

Details

addNode allocates node identifiers from the graph's next node index.

Gotchas

A NodeIndex is an identifier, not an array offset. Removed node identifiers are not reused.

Source effect/Graph.ts:491 lines
export type NodeIndex = number
Referenced by 40 symbols