Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Ribeye on November 18, 2023, 04:42:03 pm
-
How do you hide Link Labels on Diagrams? Not one by one, but in bulk for an existing diagram, and so they default to hidden on create?
This must be a common requirement, but I cant find the how anywhere.
The closest is https://sparxsystems.com/forums/smf/index.php/topic,18878.msg177483.html#msg177483 but its not an actual answer.
-
By link labels I assume you mean connector labels. In which case right click on background of diagram and select properties. In the diagram properties dialog select connectors then tick the "suppress all connector labels" tick box. click ok.
If you want to do that on a bulk load of diagrams then a script is probably the way to go.
-
Thanks Sunshine, I now see the "show stereotype labels" option on the Connectors tab.
For my DLS Diagrams I tried setting this property on the diagram and re-generating my MDG. Unfortunately I am not seeing new diagrams of my type inheriting the "show stereotype labels" = off from it.
So presumably I should set using the code which sets up the diagram.
But where is the "show stereotype labels" on Connectors property in the documentation?
From the Object Model documentation for Diagram, here https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/diagram.html
I reviewed classes Diagram, DiagramLink and DiagramObject and could not find reference to it.
Thanks again.