14+ Optional Sequence Diagram. A sequence diagram shows object interactions arranged in time sequence. Uml sequence diagrams model the flow of logic within your system in a visual manner, enabling you both to document and validate your logic, and are commonly used for both analysis and design.
Sequence diagrams may contain, essentially, subdiagrams called interaction fragments. When drawing a sequence diagram, lifeline notation elements are placed across the top of the again, the return messages are an optional part of a sequence diagram. Figure 2 shows a sequence diagram for calculating the total of a sale transaction.
Sequence diagrams are a type of unified modeling language.
14+ Optional Sequence Diagram. Uml distilled, third edition, chapter 4. We can also use the terms. Both sequence diagrams and collaboration diagrams are kinds of interaction diagrams. It depicts the objects involved in the scenario and the sequence of messages exchanged between the objects needed to carry out the functionality of the scenario.