Subgraph
Last updated
Last updated
Creates a nested graph within your main graph, allowing you to encapsulate complex logic into a reusable component. It acts like a function that can contain its own internal network of nodes.
(dynamic)
Inputs are defined by the inner graph's Input nodes
Any
Depends on inner graph
(dynamic)
Outputs are defined by the inner graph's Output nodes
Any
Drag the Subgraph node into your graph.
Double-click the node to open and edit the inner graph.
Add Input and Output nodes within the inner graph to define the interface.
Build your logic inside the subgraph using any other nodes.
Keep related functionality together by grouping it in a subgraph for better organization.
Inputs and outputs from the inner graph automatically appear on the parent subgraph node.
Input: For defining inputs to your graph.
Output: For defining outputs from your graph.
Reusable Components: Create complex operations that can be reused across different parts of your design system.
Logical Grouping: Organize related nodes into a single component to reduce visual complexity.
Abstraction: Hide implementation details of complex calculations behind a simpler interface.