Skip to main content

Step 5: Connecting Nodes

Once you have added the necessary nodes (Data Source, Logic, Predefined, Visualization) to your function's canvas, you need to connect them to define the flow of data.

Connections represent data moving from the output of one node to the input of the next.

How to Connect Nodes

  1. Identify Handles: Hover your mouse over a node. You will see small circles or connection points, called handles.

    • Source Handles: Typically located on the right side of a node. Data flows out from these handles. Data Source, Logic, and Predefined nodes usually have source handles.
    • Target Handles: Typically located on the left side of a node. Data flows into these handles. Logic, Predefined, and Visualization nodes usually have target handles.
  2. Click and Drag:

    • Click and hold your mouse button on a Source Handle of the node you want data to flow from.
    • Drag your mouse pointer towards the Target Handle of the node you want data to flow to.
    • An arrow (edge) will appear, following your cursor.
  3. Release: Release the mouse button when your cursor is over the desired Target Handle.

Result: An edge (arrow) will be drawn between the two nodes, indicating the direction of data flow.

Connection Rules & Tips

  • Direction: Data flows from a Source handle to a Target handle. You generally cannot connect Source-to-Source or Target-to-Target.
  • Input Requirements: Logic, Predefined, and Visualization nodes usually must have at least one incoming connection before they can be configured or function correctly.
  • Multiple Inputs/Outputs (Less Common): While most nodes have one input and one output, some advanced scenarios might involve nodes with multiple handles. The connection principle remains the same.
  • Deleting Connections: To remove a connection you must delete one of the nodes and re-add it.

Connecting your nodes correctly defines the sequence of operations in your Data Function, ensuring data is retrieved, processed, and visualized in the order you intend.

With your nodes added and connected, you are ready for Running Your Function.