Skip to main content

Interface: Plan

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

Properties​

order​

order: readonly string[]

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

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:29

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:36

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


sinks​

sinks: readonly string[]

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

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:26


successors​

successors: ReadonlyMap<string, readonly string[]>

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

nodeId → successor ids, in edge declaration order.