Package: effect
Module: Graph
Edge index for edge identification using plain numbers.
When to use
Use when you need to keep the identifier for a graph edge so you can later read, update, remove, or compare that edge.
Gotchas
An EdgeIndex is an identifier, not an array offset. Removed edge
identifiers are not reused.
See
NodeIndex for node identifiers instead of edge identifiersEdge for the edge value addressed by this identifieraddEdge for creating edge identifiersgetEdge for reading edges by identifierSignature
type EdgeIndex = number
Since v3.18.0