Creating statements on a sequence diagram
1. On the Sequence Diagram tab, click the required button:
Sequence button - adds a Statement of type seq. Use this button to create the basic sequential Statements.
Selection button - adds a Statement of type alt and a Statement of type end alt. Use this button to create a selection construct.
Outcome button - adds a Statement of type else alt. Use this button to add a conditional or case Statement to a selection (alt, end alt) construct.
Note When adding a Statement of type else alt, the Statement must be added directly before a Statement of type end alt or else alt.
Iteration button - adds a Statement of type loop and a statement of type end loop. Use this button to create an iteration construct.
Parallel button - adds a Statement of type par and a statement of type end par. Use this button to create a parallel construct.
Also Parallel button - adds a Statement of type also par. Use this button to add additional parallel statements to a parallel (par, end par) construct.
Break button - adds a Statement of type break. Use the break statement to exit a construct. If there are any indented Statements following a break statement, those Statements are processed before exiting the construct.
2. Click the diagram, to the left of the system boundary, where you want to add the item.
Modeler adds the Statements to the diagram with default text (the type of the statement).
| • Statements support rich text, which allows you to format the text and add model object references. • You can copy statements from other Sequence Diagrams. • You can create statements by copying and pasting paragraph delimited text, such as the text in Use Case descriptions. |