Archi Forum

Archi => General Archi Discussion => Topic started by: ChampagnePerry on September 13, 2021, 15:36:04 PM

Title: Visualiser and Association to association (association Class in UML)
Post by: ChampagnePerry on September 13, 2021, 15:36:04 PM
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"
Title: Re: Visualiser and Association to association (association Class in UML)
Post by: Phil Beauvoir on September 13, 2021, 17:10:49 PM
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
Title: Re: Visualiser and Association to association (association Class in UML)
Post by: 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
Title: Re: Visualiser and Association to association (association Class in UML)
Post by: Phil Beauvoir on September 14, 2021, 11:49:47 AM
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.