Author Topic: Association Line Keeps Moving  (Read 3813 times)

Denis M

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Association Line Keeps Moving
« on: June 11, 2010, 09:40:31 am »
Whenever I pin a association line to an element object. I would expect it not to move during moving the end point line into position where I want it on the other element.  This is not the case. I find the start and/or end (Pinned) line moves whenever I make a adjustment.

Anyone any idea's

Using Version 8.0

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Association Line Keeps Moving
« Reply #1 on: June 11, 2010, 10:41:43 am »
Hi Denis,

A couple of points to look out for...  If you are pinning just one end, you need to make sure you are pinning the correct end...

Formally, the start point is the end corresponding to the Source Role, the end point is the end corresponding to thw Target Role.

Because (depending on the settings) EA can draw lines in different ways, which end is which may not be obvious (see: Directedness and Navigability of Edges in which I discussed the subject over 4 years ago).

Secondly, the problem may be related to the line type (although it shouldn't be).

I've not had any problems with pinned lines moving (once I'd pinned the correct end(s)  ;)).  In particular, a quick test with build 857 showed it still seems to be OK for me.

If after, you've checked the correct end is pinned, it still moves, let us know the line type and any other particulars you might think relevant.

HTH,
Paolo
« Last Edit: June 11, 2010, 05:33:12 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Association Line Keeps Moving
« Reply #2 on: June 11, 2010, 01:32:43 pm »
While we're on the subject of  connector geometry...

One feature that Sparx should add to the Custom line type is an "Ortho Only" mode that respects the placement of break points (and so would not be equivalent to the unpredictable and often loopy "Auto Routing" line type) but forces all the break angles to be 90 degrees (as well as forcing all unbroken lines to be horizontal or vertical). On complex drawings I spend far too much time straightening out the once perpendicular but now acute or obtuse angles that result when moving or resizing connected objects. It would be just luvverly if the angles would snap back to full rectitude without me having to fuss with them repeatedly to keep them tidy.
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Association Line Keeps Moving
« Reply #3 on: June 11, 2010, 05:33:47 pm »
Sounds good to me, Fred!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Association Line Keeps Moving
« Reply #4 on: June 11, 2010, 08:39:52 pm »
Oh Yes!

And if we wanted something really nifty the "ortho only" setting would be respected by the layout engine. With the old engine that would be asking to much, but some of the new layout options might work well with this setting.

David
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Association Line Keeps Moving
« Reply #5 on: June 11, 2010, 08:45:19 pm »
Except you can't get at the new engine from the AI, can you?
 :(
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13410
  • Karma: +568/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Association Line Keeps Moving
« Reply #6 on: June 11, 2010, 10:02:57 pm »
Quote
While we're on the subject of  connector geometry...

One feature that Sparx should add to the Custom line type is an "Ortho Only" mode that respects the placement of break points (and so would not be equivalent to the unpredictable and often loopy "Auto Routing" line type) but forces all the break angles to be 90 degrees (as well as forcing all unbroken lines to be horizontal or vertical). On complex drawings I spend far too much time straightening out the once perpendicular but now acute or obtuse angles that result when moving or resizing connected objects. It would be just luvverly if the angles would snap back to full rectitude without me having to fuss with them repeatedly to keep them tidy.

I completely agree, exactly what I've been doing a lot.
Auto routing mostly solve's it, but sometimes I need some extra bends in the line to not make it cross another element or line.

It is indeed very annoying that is won't keep the 90° angles.

Geert

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Association Line Keeps Moving
« Reply #7 on: June 12, 2010, 05:00:27 am »
Feature request formally submitted...
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.