Jump blocks are representations of block inputs and outputs that the user can place at many locations throughout the algorithm in order to avoid cluttering up the canvas with edges. There are two components of a jump block: the anchor jump block (green arrow) which represents the output of a block, and one or more destination jump blocks (pink arrow) which represent the input of another block. The pair can replace a direct edge between two blocks.
Note TT recommends that you use Jump blocks when creating an algo. They help to keep your algo organized and clean looking on the canvas, while also make it easier to follow the block logic pathways.
Jump blocks are commonly used for two purposes:
To connect blocks on opposite sides of the algo so you don't have edges running across large portions of an algo
Example Using a Jump block to route a discrete event message to another block
To make it easier to see the values that go into blocks without having to trace crossing edges
Example Using Jump blocks to improve readability
The following rules govern the behavior of jump blocks:
To add jump blocks:
Right-click on the output port of a block you want to send to another section of the algorithm, and select Add jump block from the menu that appears.
The source jump block (green arrow) is attached to the selected output port.
Right-click on the anchor jump block (green arrow) and select Create destination block from the context menu.
The destination jump block (pink arrow) is added to the canvas.
Note You can repeat this step to create multiple destination jump blocks.
Move the destination jumb block to the desired location and connect its output port to the input port of another block.
Notice that the Field block starts updating its value for the Instrument block.