Author Topic: Relationships between components/objects by using diagrams  (Read 214 times)

sawert

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Relationships between components/objects by using diagrams
« on: April 18, 2018, 05:41:11 pm »
Is there a way to create relationships between components/objects by using diagrams?

We have objects described as components included in composite structure diagrams, and we want to link the components in the diagram to the parent object and present it in a matrix.
Is this a manual task or is there a connection or “link type” that can be used for this?
It is cumbersome to use the matrix and click in every cell to create the relationship that we have already described through the composite structure diagrams.

Br Susanne Sawert

qwerty

  • EA Guru
  • *****
  • Posts: 9361
  • Karma: +144/-137
  • I'm no guru at all
    • View Profile
Re: Relationships between components/objects by using diagrams
« Reply #1 on: April 18, 2018, 05:58:40 pm »
When you use the quick linker, EA offers 6 different relations. Does none of them work for you?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8158
  • Karma: +191/-22
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationships between components/objects by using diagrams
« Reply #2 on: April 18, 2018, 07:23:50 pm »
Susanne,

It's not because you put components on a diagram (even a composite structure diagram) that they have some kind of relation to the owner element of the diagram.

The first thing I would think is that your components are actually owned by the owner object (they reside under the object in the project browser). In that case there is already a relation (ownership) between the objects, but unfortunately that relations is not easily detected and does not follow the same rules as other types of relationships.

If you wanted to you could, with the help of a little script, automatically add a relation between the owned elements and the owner, but you would have to run that script on a regular basis in order to keep the links in synch with the reality.

Geert