Skip to content

NodeData

NodeData<T> = object

Per-node data attached to every WorkflowBuilderNode. The properties field carries the node’s user-editable values (typed by T); type matches the corresponding NodeDefinition.type; icon is the icon shown in palette and on the diagram canvas.

Generic over T so concrete node types can refine properties to their own schema-driven shape (typically via NodeDataProperties<MySchema>).

T = BaseNodeProperties & Record<string, unknown>

optional isStartNode?: boolean

Marks this node as the workflow’s entry point. Declared on the palette item (NodeDefinition.isStartNode) and copied into the node’s data when it is dropped on the canvas; execution integrations read it to decide where a run begins. Rendering is unaffected — the visual template is still selected by NodeDefinition.templateType.