effect-io-ai

Package: effect
Module: Graph

Graph.ExternalsConfig

Configuration for selecting external nodes.

When to use

Use to configure how externals identifies graph boundary nodes when you need sinks with no outgoing edges or sources with no incoming edges.

Details

direction chooses which missing edge direction makes a node external: "outgoing" selects nodes with no outgoing edges, and "incoming" selects nodes with no incoming edges. If omitted, direction defaults to "outgoing".

See

Signature

export interface ExternalsConfig {
  readonly direction?: Direction
}

Source

Since v3.18.0