UML Modeling Techniques > Object interaction modeling > Sequence diagram > Statements > Creating statements on a sequence diagram
  
Creating statements on a sequence diagram
1. On the Sequence Diagram toolbar, 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).
3. If you want to change the default text, type the required text or change in a separate text window through the Property Pages. see Changing a statement's text on a sequence diagram
* 
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.