Book a Demo

Author Topic: Adding assembly connector into component diagram  (Read 7803 times)

Alinen

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Adding assembly connector into component diagram
« on: July 16, 2020, 08:11:52 pm »
With EA 15 I can create a Component Diagram from a wizard that shows two components connected via an assembly connector (socket and ball notation).

However when I add additional components to that diagram and try to connect them I can only use normal associations (lines, dotted lines, etc.).

I add the relationship via "Component Relationships" → "Assembly" from the toolbox (or via the arrow on one of the components, but the popup menu only shows "Association", "Generalization", etc., but not "Assembly". If I select e.g. "Association" and then try to modify it via context menu "Advanced" → "Change Type" I can select "Assembly", but trying to do this shows an error message: "Invalid combination of source and target types for this connector type".

So, what am I doing wrong? How do I add a relationship between two (and actually more) components via assembly connector?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13448
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Adding assembly connector into component diagram
« Reply #1 on: July 16, 2020, 08:44:52 pm »
Assembly connectors are actually only allowed between ports, not between Components.
This has been wrong for many years in EA and has recently been fixed.
See also https://stackoverflow.com/questions/61332007/how-do-you-link-up-the-lollipops-using-enterprise-architect-component-diagram

Geert

Alinen

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Adding assembly connector into component diagram
« Reply #2 on: July 17, 2020, 05:28:31 am »
Ah, thank you! I understand.

And the answer of mrts on stackoverflow explains why the example components still show an assembly connector to directly connect components.