Sequence diagrams Part decomposition Instance line decomposition enables you to easily decompose a instance line on a sequence diagram into a series of parts. For example, if you have a composite class view in one sequence diagram and want to navigate to its parts, you can click the composite class and open a collaboration, which shows how its internal parts communicate for a particular scenario. Part decomposition is a specialization of an interaction occurrence. To create a part decomposition: 1. Open the Features window for the instance line. The Classifier Role window opens. 2. Specify the reference sequence diagram using the Decomposed list. 3. Click OK .
In the sequence diagram, the name of the reference sequence diagram is added to the classifier role label (after the word “ref”), as shown in this example. As with other interaction occurrences, navigate to the reference SD by right-clicking the instance line and selecting Open Reference Sequence Diagram . Limitations Note the following limitations for decomposition: Љ UML gates are not supported: use instance lines instead. Љ Animation is not supported. 700 User Guide