Author Topic: Links shortcuts  (Read 5297 times)

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Links shortcuts
« on: December 05, 2015, 03:45:49 am »
Hi,
Since version 12 ( guess) there are nice shortcuts on object: (n) to go to note or (r) show relations. That is great!

How about create similar behavior for links?
For example when you press link could set line style direct, when you press space reset to the shortest path etc.

Here is a full list:
1 - Line style Direct
2 - Line style Autorouting
3 - Line style Custom Line
4 - Tree Style - Vertical
5 - Tree Style - Horizontal
6 - Lateral - Vertical
7 - Lateral - Horizontal
8 - Orthogonal - Square (there is no shortcut now, I dream about this one!)
9 - Orthogonal - Rounded
[ - flip all link labels anticlockwise
] - flip all link labels clockwise
shift-h - hide link on all other diagrams

and two more (there is now not such function):
space - reset to shortest path
l - reset label position (sometimes they tend to get lost)

I spend hours on big diagram with a lot of links and it would save me a lot of time next time.

How about other users? Do you like the idea? If yes please back me up here :-)

Best regards,
Tomek

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Links shortcuts
« Reply #1 on: December 05, 2015, 04:02:45 am »
Hi Tomek,

I like the idea of easily setting linestyles and stuff so much I even wrote a script to do it for me:
Set all line styles in an Enterprise Architect diagram automatically

Geert

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Links shortcuts
« Reply #2 on: December 05, 2015, 04:19:29 am »
Yep - I have found your script before - thanks! It helped a lot.
... but still it is two click too far...

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Links shortcuts
« Reply #3 on: December 05, 2015, 06:11:14 am »
Quote
... but still it is two click too far...
I have a solution for that as well :D
I made a modified version of the same script that get executed automatically by EA-Matic whenever I create a new relation on a diagram -> no clicks at all 8-)

Geert

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Links shortcuts
« Reply #4 on: December 07, 2015, 07:56:40 am »
Quote
Quote
... but still it is two click too far...
I have a solution for that as well :D
I made a modified version of the same script that get executed automatically by EA-Matic whenever I create a new relation on a diagram -> no clicks at all 8-)

Geert

Can you make a script that trees a bunch of relationships together?

Also can you [pretty please] just put all your scripts into a MDG to make it super easy :-)

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Links shortcuts
« Reply #5 on: December 07, 2015, 08:11:50 am »
I don't know how to assign shortcut to the script.
I need really quick way to handle these dear arrows (and their labels) since I am in the middle of EA model for really big company. I have literally thousands of objects here and a wild horde of arrows - argh...
It is not only about line style but also label text direction and handling problems of lost labels (when you put they manually somewhere and next change the link position then label is hard to find).
I appreciate and I use scripts but they are rather workaround then proper solution.
What more I guess adding shortcuts for Sparx guys would be just a less then 4 hours of effort... (and for me is many hours or even days of clicking, even using scripts). Please rescue me from clicking!