Book a Demo

Author Topic: Ho to set an Orthogonal Square for all Connectors  (Read 4883 times)

Eran Peleg

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Ho to set an Orthogonal Square for all Connectors
« on: April 01, 2016, 06:12:59 am »
Goal - all connectors are Orthogonal Square.  But on one diagram some connectors show their Stereotype (ST) name and others no.
I have succeeded to set an orthogonalS attribute to new ST; I have succeeded to set STed diagram to hid ST's label on this diagram, but I didn't succeeded to do partial name presentation.  Specifically, some connectors (relationships) has ST presented and some no.
Example - on my Activity Diagram (AD) I have Dependency with <<Precondition>> ST and ControlFlow with MBControlFlow ST (the same for other types).  All STs has orthogonalS property.  I would like <<Precondition>>Dependency to show its ST name but the ControlFlow to hid it.
Thanks for advice ...
Eran
« Last Edit: April 01, 2016, 07:20:48 am by Eran Peleg »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Ho to set an Orthogonal Square for all Connectors
« Reply #1 on: April 04, 2016, 11:16:41 am »
For the stereotypes where you don't want the stereotype label, you can add a shape script:

Code: [Select]
label middlebottomlabel
{
        print("");
}
The Sparx Team
[email protected]