Author Topic: Why doesn't EA automatically create composition relationships in UML?  (Read 3422 times)

mse

  • EA User
  • **
  • Posts: 303
  • Karma: +1/-0
    • View Profile
I am used to the SysML feature of BDD/IBD where you can automatically synchronize parts and composition relations when switching from a BDD to an IBD. However, in UML, it seems that EA does not have that automation. For example, in the UML specification https://www.omg.org/spec/UML/2.5.1/PDF, there is Figure 11.5. If one draws the diagram on the left, there seems to be no connection to the one on the right in EA. One must make sure that the composition relations are drawn correctly and maintain them afterwards if a part is removed.

Follow-up: I might be answering my own question here, but it appears that in Figure 11.5, diagram (i) is not to be confused as equivalent to diagram (ii) because they are illustrating the advantage of a composite structure by showing how (ii) actually constrains the possibilities to the context of a car, where as (i) actually permits more (and potentially undesirable combinations). And that is why you do not necessarily need EA to generate a part for a composite relationship.
« Last Edit: October 18, 2024, 09:54:47 pm by mse »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Why doesn't EA automatically create composition relationships in UML?
« Reply #1 on: October 19, 2024, 07:03:10 am »
Well, UML does not have that specification. Show the part im UML2.5.1 and you could blame Sparx. Whitout you would be able to emulate that via an add-in.

q.