Menu: Algorithm / New Local Definition / Operation
DialogWindow: ``AlgorithmMain'', click OK
DefinitionWindow
To define this algorithm as the main algorithm,
Menu: Edit / Main Definition ; or the short key CTRL + M
Menu: Edit / Create Reference
DialogWindow: click local, select input
DialogWindow: ``in1 in2'' (figure 1.5)
Menu: Edit / Create Reference
DialogWindow: click local, select output
DialogWindow: ``out1 out2 out3''
Menu: Edit / Create Reference
DialogWindow: click local, select calcul
DialogWindow: ``calc''
to create a data dependence between the ``in1'' operation reference and the ``calc'' operation reference,
point the cursor on the output port ``o'' of the ``in1'' operation and click on the middle button of the mouse (or CTRL+click left button of the mouse) and drag to the input port ``a'' of the ``calc'' operation. This draws an arrow between the ports of these operations. After creating the other data dependences we obtain the main algorithm (figure 1.6).