Open in ClaudeOpen in ChatGPT

Define Calculations for a Node

Define a calculation for a node so it computes its value based on other nodes in the model.

Prerequisites

Steps

  1. Select the target node

    Click the node on the canvas that should contain the calculation (for example, Revenue). The function editor opens automatically.

  2. Enter the calculation formula

    In the function editor, type the formula using existing node names (for example, 'Volume' * 'Price').

  3. Use node references correctly

    Make sure each referenced node name starts and ends with an apostrophe.

  4. Confirm the operation

    Save the operation to store the calculation.

Building a calculation by drawing a connector

You can also add an input by dragging from one node’s connection handle onto another. This is not only a drawing gesture: it edits the receiving node’s formula.

Dragging from Volume onto Revenue appends + $<id of Volume> to Revenue’s operation, using the node’s numeric id rather than its name. If Revenue had no formula yet, its operation becomes that reference alone. When the node has Operation per baseline switched on, every baseline’s operation is changed the same way.

The gesture is refused silently when you cannot edit the model, and when the link already exists.

Drawing structure changes calculations

There is no way to link two nodes on the canvas without altering the target’s formula. If you are sketching a model’s shape and do not want the arithmetic yet, use annotations rather than connectors, or expect to edit the formula afterwards.

Result

The selected node now calculates its value based on the defined formula. The model reflects the calculation logic between the connected nodes.

Troubleshooting

  • Referenced node is not recognized Check that the node name is spelled correctly and wrapped in apostrophes.
  • Auto-completion does not show the node Ensure the referenced node already exists in the model.
Was this page helpful?