Input
Last updated
Last updated
Defines the entry points for data flowing into your graph. This node allows you to create named inputs that can be configured when the graph runs, making your graph reusable with different values.
[custom inputs]
Any named inputs you define become available as outputs
Any
No
[matching outputs]
Each input you define creates a matching output
Any
Drag the Input node into your graph (usually at the left/beginning).
Click the "+" button to add a new named input (like "baseColor" or "spacing").
Set the type and default value for each input.
Connect the outputs to other nodes in your graph that need these values.
When the graph is used, these inputs can be configured externally.
You should only have one Input node per graph.
Give your inputs clear, descriptive names that indicate their purpose.
Set meaningful default values so the graph works well even without custom inputs.
Output: For defining what values are returned from your graph.
Constant: For values that don't need to change between uses of the graph.
Design System Components: Create reusable components with configurable properties.
Theming: Build a color scheme generator that takes base colors as inputs.
Layout Systems: Define spacing algorithms that can adapt to different base units.