Jump Blocks

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 the destination jump block (pink arrow) which represents the input of another block. The pair can replace a direct edge between two blocks.

The following rules govern the behavior of jump blocks:

  • Only the output of a block can be "jumped" to another block.
  • The user can create multiple copies of the destination jump block (pink arrow) by copying or pasting the anchor jump block (green arrow) or the destination block (pink arrow).
  • Jump blocks can be applied to both continuous outputs and discrete event message outputs.
  • Jump blocks cannot cross virtual block boundaries, only group block boundaries.
  • Copy or paste the original variable AND the anchor jump block together to create a new copy of both.

How to create a Jump Block

To create a jump block:

  • 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 anchor jump block (green arrow) is attached to the selected output port.

  • Right-click on the anchor jump block (green arrow) and select Copy from the context menu.

  • Right-click once more elsewhere on the canvas and select Paste to place the receiving end of the jump block (pink arrow).

  • Connect the output port of the pasted jump block to the input port of another block.

Example Using a Jump Block to route a discrete event message to another block