effect-io-ai

Package: effect
Module: Graph

Graph.Proto

Common public protocol for graph values.

Details

Contains only the runtime marker and shared protocols. Graph storage is kept internal; use module functions such as nodes, edges, getNode, and getEdge to inspect graph contents.

Signature

export interface Proto<out N, out E> extends Iterable<readonly [NodeIndex, N]>, Equal.Equal, Pipeable, Inspectable {
  readonly [TypeId]: Graph.Variance<N, E>
}

Source

Since v3.18.0