Visualiser and Association to association (association Class in UML)

Started by ChampagnePerry, September 13, 2021, 15:36:04 PM

Previous topic - Next topic

ChampagnePerry

When you create an association to an association (really powerful and useful) the relationships don't seem to be picked up properly in the visualiser.
I the attached examples it is not the depth of the visualiser, as you can see when I select "Business Object a" it picks up the related objects right through to "Business Object e" but doesn't pick up the processes.
Is this intentional behaviour or is it just that the visualiser is expecting a simple path e.g.
element <-> relationship <-> element
rather than more complex paths e.g.
element <-> relationship <-> element
                          ˄
                          ˅
                    relationship <-> element

(I realise this next bit is a different problem and refers to the label expression and not the visualiser but ...)
When dealing with an "association class" it would also be useful for the label expressions to be able to pick up the target and source of the referenced association so in the diagram we could display something like
"Business Object a" flows from "Process a" to "Process b"
or "Business Object c" contains detail of the relationship between "Business Object a" and "Business Object b"

Phil Beauvoir

Hi,

Unfortunately, the drawing library used in the Visualiser (Eclipse Zest) cannot draw connections to connections.

See:

https://github.com/archimatetool/archi/issues/177
https://github.com/archimatetool/archi/issues/420
https://github.com/archimatetool/archi/issues/562

For your label feature request, if you like you could open an issue so it is recorded:

https://github.com/archimatetool/archi/issues

We'll be adding more to Label Expressions as we gather requirements.

Regards,

Phil
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

ChampagnePerry

Hi Phil,
The connection does actually appear in the visualiser but it appears rendered as an element in each of the screenshots.
However if it expects this to be an element and is looking for relationships it won't find any, and it may well cause problems if you found the ends as it has two rather than the one that the visualiser is probably expecting.
I suppose it could go into the it would be nice bucket for the visualiser :).
Paul

Phil Beauvoir

Quote from: ChampagnePerry on September 14, 2021, 10:59:01 AM
Hi Phil,
The connection does actually appear in the visualiser but it appears rendered as an element in each of the screenshots.
However if it expects this to be an element and is looking for relationships it won't find any, and it may well cause problems if you found the ends as it has two rather than the one that the visualiser is probably expecting.
I suppose it could go into the it would be nice bucket for the visualiser :).
Paul

The root problem is that the drawing library used in the Visualiser (Eclipse Zest) cannot draw connections to connections so it has to be rendered as an element.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.