Action chart element.
Return block plays two roles: it specifies the value the action chart will return (if it's return type is not void) and also causes that value to be returned immediately.
Each branch of the action chart should end with Return block. That is the reason that when you start drawing an action chart, one "return" block is automatically included into the action chart to make the construction complete.To insert "return" block into an action chart
Drag the Return from the Actionchart palette onto the diagram of agent. While moving the mouse over the graphical editor you will see insertion points of action chart(s) indicated with little blue circles. Release the mouse button over the insertion point where you want to place the block. New "return" block will be inserted into this place.
Return – [Visible if the action chart's Return type is not void] The value this action chart will return on reaching this block. The value should be of Return type specified in the properties of this Action chart.
Name – The name of the element.
Fill color – Sets the fill color for the element. Click inside the control and choose a color from the set of most used ones, or choose some custom color using the Colors dialog box.
Charts. Defining Algorithms Visually
Editing action chart blocks
Creating an action chart. Tutorial