Creating and Editing Links

Overview

To create a new link between two nodes, click any output port and drag it to any input port. When the nodes are moved, the link will automatically adjust itself.

Note that each input port can have only one link connected to it. If you want to use more links in one input port, there are helper nodes that can be used (for example, the Logic:Any node). Output ports are not limited and can have an unlimited number of links.

To delete a link, you can unplug it by clicking the input port that the link is connected to and dragging the mouse pointer away from the port. When the link is dropped on the background pane, the link will be removed. Alternatively, the link context menu can be used to delete a link.

Every link has a context menu that can be opened by right-clicking the small dot in the middle of the link.

The link context menu has three entries. The Remove option removes the selected link and the Disable option disables the selected link. A disabled link is not deleted, but greyed out, and is not processed when the according output port is activated.

Once a link has been disabled, the context menu entry will switch to the Enable option, which can be used to enable the link again. The Delay option will create a Time:Delay node between the nodes connected by the link with a default delay time of 1 second.

Incoming and outgoing links can be highlighted to make the debugging of complex graphs easier. You can also hover your mouse over input/output ports to highlight links.

  • To highlight incoming links red, select a node and press F.
  • To highlight outgoing links blue, select a node and press G.

Multiple Inputs On One Port

Having multiple inputs on a port is not possible without using a helper node. The Logic:Any node can take multiple links and reroute them to the output port.

Every time an input is received on one of the input ports, the output port is triggered. The Logic:Any node is also the best way to build a loop construction. The above example shows how to display a text message that lasts for three seconds, every five seconds on the HUD display.

The color of the links and nodes can be changed in the Preferences menu of the Sandbox Editor.