Author Topic: Squence Diagrams with embedded Components  (Read 723 times)

Major Peanut

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Squence Diagrams with embedded Components
« 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

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6498
  • Karma: +57/-6
    • View Profile
Re: Squence Diagrams with embedded Components
« Reply #1 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.
Simon

support@sparxsystems.com

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: Squence Diagrams with embedded Components
« Reply #2 on: February 12, 2013, 12:42:58 am »
This feature seems quite useful, but it is not standard UML, is it?

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6498
  • Karma: +57/-6
    • View Profile
Re: Squence Diagrams with embedded Components
« Reply #3 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)
Simon

support@sparxsystems.com

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: Squence Diagrams with embedded Components
« Reply #4 on: February 13, 2013, 06:39:47 am »
Wow, I missed that one. Time to update my sequence diagrams :-)
Thanks!