Overview
We’ll create a workflow that:- Takes two number inputs
- Performs addition and multiplication
- Displays the results
Node Definitions
NumberInputNode
AddNode
MultiplyNode
DisplayNode
Building the Workflow
Programmatic Creation
React Component
JSON Workflow
Save the workflow as JSON:With Event Handlers
Add detailed event tracking:Key Concepts
Number Input Node
Number Input Node
Uses
@Property decorator for static configuration. The value is set in the property panel, not connected from another node.Math Operations
Math Operations
Use
@Input decorators for dynamic data flow. Values come from connected nodes via handles.Node Connections
Node Connections
Connect output ports to input ports. Data flows automatically during execution.
Execution Order
Execution Order
Nodes execute in topological order.
num1 and num2 first, then add and multiply.