Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Major Peanut on January 31, 2013, 01:11:11 pm

Title: Squence Diagrams with embedded Components
Post by: Major Peanut on January 31, 2013, 01:11:11 pm
Is it possible to create Sequence diagrams that shows embedded Components grouped together (similar to the Inline Sequence Element link below)? As I could not see how to do in EA 10 (10.0.1005).

E.g. I have a component [CompA], which has with in it two 'sub' components [CompA1 & CompA2] and a separate component [CompB].
- CompA1 has a required interface [IntX] and a provided interface [IntY]
- CompA2 has a required interface [IntY] and provided interface [IntZ]

- CompB has required interface [IntZ]

So I want to show flow from CompA through to CompB including the sub-components on a sequence diagram, but also show CompA as the parent of CompA1/A2, i.e. grouped lifeline for CompA1/A2 under CompA, including their interfaces.

BTW is this possible if CompA has IntX and IntZ as interfaces which are delegated to the internal components? (Not sure if/how delegated interfaces work/show on sequences diagrams.)

http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/standard_uml_models/inline_sequence_elements.html

Regards - MP
Title: Re: Squence Diagrams with embedded Components
Post by: Eve on January 31, 2013, 02:53:26 pm
The page you have linked to is a description of how to do exactly that.

The part that it doesn't mention is that it has used a class that is already modeled with child parts and ports.
Title: Re: Squence Diagrams with embedded Components
Post by: Ignacio G. T. on February 12, 2013, 12:42:58 am
This feature seems quite useful, but it is not standard UML, is it?
Title: Re: Squence Diagrams with embedded Components
Post by: Eve on February 12, 2013, 08:50:21 am
Yes, it is. See Figure 14.21 in UML 2.4.1 (or 17.21 from UML 2.5)
Title: Re: Squence Diagrams with embedded Components
Post by: Ignacio G. T. on February 13, 2013, 06:39:47 am
Wow, I missed that one. Time to update my sequence diagrams :-)
Thanks!