Book a Demo

Author Topic: Automatically format DiagramLink position  (Read 4287 times)

André Ribeiro

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Automatically format DiagramLink position
« on: April 03, 2014, 06:01:39 am »
Hello everyone!
I'm generating some diagrams with classes and their connectors without repositioning the diagramLinks of each connector. Thus, the result is something like this:

I was wondering if there is a way to automatically reposition each connector properly. Manually, we can do something like that by setting the line style (choosing between options like Custom, Direct, Tree Style - Vertical). I know that DiagramLinks have the attribute 'Style', but I don't know if it is used for this purpose.

Thanks in advance!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Automatically format DiagramLink position
« Reply #1 on: April 03, 2014, 06:13:00 am »
There's some script published by Helmut Ortmann on the Sparx community site which deals with connector style settings. That might help.

q.

André Ribeiro

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Automatically format DiagramLink position
« Reply #2 on: April 03, 2014, 09:00:03 am »
Thanks qwerty.
For those who might be interested I've found useful information here:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/modeling_basics/connectorstyles.html