Package: effect
Module: Graph
Immutable graph type for source-to-target relationships.
When to use
Use as the immutable graph type when edge direction is part of the model and traversal or neighbor queries should follow source-to-target edges.
Details
DirectedGraph<N, E> is a Graph<N, E, "directed"> with node data of type
N and edge data of type E.
See
directed for constructing directed graphsGraph for the generic immutable graph typeUndirectedGraph for graphs whose edges connect both endpointsMutableDirectedGraph for the mutable directed graph typeSignature
type DirectedGraph<N, E> = Graph<N, E, "directed">
Since v3.18.0