Skip to main content

NodeEvaluation

NodeEvaluation<ValueType, StateType> = object

Result returned by a node calculator.

Type Parameters​

ValueType​

ValueType

Defines the type of the node's output values.

StateType​

StateType = unknown

Defines the type of the node's internal state.

Properties​

outputs?​

optional outputs: Record<string, ValueType | undefined>

Values made available to downstream edges, keyed by terminal id. Keys are port ids such as"out", or DEFAULT_TERMINAL` for direct node connections


state?​

optional state: StateType

Derived node state (such as display text, validation details, or cached intermediate results) written to the node's configured state property.