Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: skiwi on December 12, 2023, 10:59:03 am

Title: Diagram display of connector alias and name
Post by: skiwi on December 12, 2023, 10:59:03 am
In diagrams properties  we have set
In preferences Diagram Behaviour we have set
This means that enties display the (alias) and name,
but connectors, do not,
is this a bug or a feature?
How can I get both the connector (alias) AND name to display?

Title: Re: Diagram display of connector alias and name
Post by: Sunshine on December 12, 2023, 05:50:08 pm
To be honest not used alias on connectors so never noticed. Tried with V16.1 Build 1628 The object shows the name and alias in brackets but the connector just shows the alias. I looked through all the preferences and diagram properties but couldn't see a way of showing name and alias on connector so I guess it could be classed as a bug.
Title: Re: Diagram display of connector alias and name
Post by: Paolo F Cantoni on December 12, 2023, 10:17:28 pm
To be honest not used alias on connectors, so never noticed. Tried with V16.1 Build 1628 The object shows the name and alias in brackets but the connector just shows the alias. I looked through all the preferences and diagram properties but couldn't see a way of showing the name and alias on the connector so I guess it could be classed as a bug.
It can't be classed as a bug.  I was clearly put in my place when I suggested a particular functionality was less than optimal.  "So you don't like how we implemented this..." (or words to that effect).

I agree it's a defect in conceptualisation.  But what would I know?  Why would anyone want to see both the name and the alias for a connector?  Aside from the common two languages use case, you could use the alias for the reverse association functor, e.g. has as a child (has as a parent).
 
I'd suggest using the shapescript to implement this if you can access it.

Paolo