interface ArrowGraphHashed<N>
An type-invariant immutable valued arrow (directed) graph. The connections are internally maintained using hashed collections See the Graph documentation and the ArrowGraphHashed API documentation
Companion namespace: ArrowGraphHashed
Implemented by: ArrowGraphHashed.NonEmpty<N>
Type parameters
Name | Description |
---|---|
N | the node type |
example
const g1 = ArrowGraphHashed.empty<number>()
const g2 = ArrowGraphHashed.of([1], [2, 3], [2, 4])