Skip to main content

Interface: Plan

Defined in: packages/core/src/graph/plan.ts:51

Properties

order

order: readonly string[]

Defined in: packages/core/src/graph/plan.ts:59

Reachable nodes in topological order. Source is first; output is guaranteed to appear somewhere (not necessarily last — other branches may descend further but not reach output).


output

output: string

Defined in: packages/core/src/graph/plan.ts:55

Resolved sink — either the explicit input.output or the unique reachable sink.


predecessors

predecessors: ReadonlyMap<string, readonly string[]>

Defined in: packages/core/src/graph/plan.ts:62

nodeId → predecessor ids, in edge declaration order. Absent nodes are unreachable (pruned).


sinks

sinks: readonly string[]

Defined in: packages/core/src/graph/plan.ts:67

All reachable sinks (nodes with no outgoing reachable edges). When output is explicitly set, may contain nodes other than output.


source

source: string

Defined in: packages/core/src/graph/plan.ts:52


successors

successors: ReadonlyMap<string, readonly string[]>

Defined in: packages/core/src/graph/plan.ts:64

nodeId → successor ids, in edge declaration order.