setLabel(expr: string | null): void | Set or clear (null/"") the label expression. |
setEnabled(expr: string | null): void | Set or clear (null/"") the enable expression. |
copy(): OperationNode | Duplicate this operation in its collection, inserting it right after the original. |
evaluateStep(input: ChainState, definitions?: DefinitionMap): ChainState | Promise<ChainState> | Run this step over the previous step's state, returning the cached output when neither this node nor its input changed. When the step's create/compute returns a thenable, the fold stays a Promise from here on; fail-soft applies identically whether the step throws synchronously or its promise rejects. |
referenceValue(): EntityJSON[] | The baked entity array of this step's cached state — what an expression referencing this node's key receives. Pulls the owning fold first so the state is fresh. |
invalidateCreated(): void | Force the created part to rebuild on the next pull (used after structural cache invalidation, e.g. a replaced sub-model). |
evaluate(listener?: () => void): unknown | An operation never computes standalone — the owning fold pulls it through evaluateStep(), which is what CONSUMES isDirty. The inherited BaseNode.evaluate() would clear the flag around a stub compute() and silently drop the edit signal (the next fold pass would serve the stale cached step), so return the cached value without touching dirtiness. |