Insert Loop Exit

The Insert Loop Exit command inserts a loop exit at the insertion point for an activity diagram or an EFFBD. This command is available either from the menu structure or by dragging the Loop Exit construct from the diagram palette to the desired insertion point.

 

  

 

If you insert by using the menu commands, CORE will insert based upon your current selection. If a node or construct is selected, CORE will insert before the selected object. If a branch is selected, CORE will insert at the end of the branch. If nothing is selected, CORE will insert at the end of the main branch.

 

For ease of use, CORE uses the standard insertion approaches for inserting loop exits. However, because loop exits represent the point at which you exit loop logic, there are specific rules for where a loop exit can be inserted. First, a loop exit must be inserted within a loop construct. Second, a loop exit must be inserted at the end of a branch (otherwise, the remaining branch logic would be orphaned). If you attempt to insert a loop exit at an invalid point, CORE will prompt you accordingly.