Package: effect
Module: Graph
Mutable graph interface.
When to use
Use when adding, removing, or updating nodes and edges inside a graph mutation scope.
See
Graph for the immutable graph interfacemutate for scoped mutation of an immutable graphbeginMutation for opening a mutable graph manuallyendMutation for returning to an immutable graphSignature
export interface MutableGraph<in out N, in out E, T extends Kind = "directed">
extends Iterable<readonly [NodeIndex, N]>, Equal.Equal, Pipeable, Inspectable
{
readonly [TypeId]: MutableGraph.Variance<N, E>
readonly type: T
readonly mutable: true
}
Since v3.18.0