Connections

Connections are made between terminals using Connectors.
A Connector virtually "connects" Terminals of two different Nodes, it also has a reference to the data being passed and both terminals that it connects.


Connections can be made interactively by dragging a terminal to another, or using the API.

Terminal.connect
timerNode.outputs[0].connect(randomNode.inputs[0]);
randomNode.outputs[0].connect(multiplyNode.inputs[0]);
numberSource.outputs[0].connect(multiplyNode.inputs[1]);
multiplyNode.outputs[0].connect(labelNode.inputsUI[0]);