ADL Basic Concepts
Adding, Connecting and Arranging Blocks
To build an algo you will need to drag and drop blocks onto the canvas, define their properties and connect blocks together with edges to define the flow of data.
Adding blocks on the canvas
To add a block to the canvas:
-
In the Blocks panel locate, or search for, the block you want to place on the canvas.
-
Drag the block to the desired location on the canvas.
-
In the Block Properties panel, specify the values for the desired properties.
Any changes to the properties are reflected immediately in the block.
Connecting blocks
ADL provides two methods of making connections between blocks:
- Drawing edges between block ports
- Using the Edge Finder to highlight potential edges
Drawing edges
To connect blocks by drawing the edges:
-
Press and hold the left mouse button on the output port of the source block; then drag the line endpoint to the desired corresponding port of the destination block. Note that the ports are color-coded to indicate the type of data being passed.
Note: If you drag the line endpoint to the wrong type of input port, the preventative design feature shows an invalid connection symbol.
-
Release the mouse button.
Using the Edge Finder to highlight potential edges
To display and choose a potential edge between blocks:
-
Press and hold the Shift key to display dashed lines for all potential edges.
-
Do either of the following to create edges:
-
Left-click a dashed line to convert it to an edge.
-
Right-click any of the dashed lines to convert all the dashed lines to edges.
Disconnecting blocks
To delete a connection between two ports, right-click on the line connecting the desired ports, and select Delete.
Arranging blocks around the canvas
To arrange or move blocks:
- Select a block or group of blocks you want to move.
- Drag the selected blocks to the desired location. If edges are connected to the moved blocks, those edges update as well.
Selecting multiple blocks
To select multiple blocks:
Press the left mouse button and drag the mouse to define the region containing the blocks you want to select; then release the mouse button.
Alternatively, you can click the first block to select, then use Ctrl-click (Cmd-click for Macs) to add other blocks to the selection.