Book a Demo

Author Topic: Bend line at cursor not working as expected  (Read 3642 times)

mmo

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Bend line at cursor not working as expected
« on: November 05, 2010, 01:52:22 am »
The bend-line-at-cursor function doesn't seem to work properly for Assembly connectors. If I place two components A and B in a component diagram and connect them B to A using an assembly connector like: A---o)---B

If I then go with the mouse over the right segment )---B and click bend-line-at-cursor, then I get a new bend on the other, left segment, i.e. something like: A-[new bend]-o)---B !

Michael
« Last Edit: November 05, 2010, 02:01:07 am by mmo »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Bend line at cursor not working as expected
« Reply #1 on: November 05, 2010, 09:13:52 am »
The decoration always gets drawn in the "middle" segment of the line. If there is an odd number of segments, it's obvious which is the middle segment. If there is an even number of segments, there are two candidate middle segments and EA will choose the one nearest the source. If you would rather the user choose which segment gets the decoration, please submit a feature request.
The Sparx Team
[email protected]

mmo

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: Bend line at cursor not working as expected
« Reply #2 on: November 05, 2010, 07:12:55 pm »
> please submit a feature request

Done. After all that command is called "bend line at cursor" and not "bend line next to source", so the user expects/intends to bend the segment next to the cursor and not any other!

Regards,
Michael

mmo

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: Bend line at cursor not working as expected
« Reply #3 on: November 12, 2010, 12:09:30 am »
It's really a nuissance how this is implemented today! If I have to create multiple bends on one "leg" of, say, an an assembly connection - e.g. because I want to "route" that leg around some other element - then I end up with the same number of useless segments on the other leg, which I then need to take care of, so that they look ok and aren't zig-zagged.

It's one of these things where one really starts questioning, whether the implementors themselves really ever use their tool for non-trival diagrams...

Michael