Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Preventing links from jumping among anchors? (Read 1852 times)
stefski
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 31
Location: Norway
Joined: Jul 17th, 2009
Preventing links from jumping among anchors?
Feb 2nd, 2015 at 7:09pm
Print Post  
Hello Guys,

I am trying to make our DiagramLinks stick to the AnchorPoints, to which the user has attached them. Currently, given that we have defined a set of AnchorPoints per DiagramNode, and having connected two DiagramNodes with a DiagramLink, if the user moves one node around the other, the link end-points will "jump" among the anchors as if to seek the shortest link length.

Is there a simple approach to make the link ends stay on the anchor points they have been assigned to? We have a requirement to let the user manually move the link ends if he/she finds it necessary, i.e. preventing the automatic re-assignment.

Any flags configuration or notification I might have missed?

--

Kind regards

Steffen Skov
OLGA Application Architect
Schlumberger Information Solutions AS
  

Kind regards

Steffen Skov
OLGA Application Architect
Schlumberger Information Solutions AS
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Preventing links from jumping among anchors?
Reply #1 - Feb 2nd, 2015 at 9:01pm
Print Post  
Hi,

Set links' Dynamic property to false. If using auto-routing, you might have to change RoutingOptions.Anchoring value.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
stefski
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 31
Location: Norway
Joined: Jul 17th, 2009
Re: Preventing links from jumping among anchors?
Reply #2 - Feb 6th, 2015 at 2:53pm
Print Post  
Hi Stoyan,

thank you very much for your quick answer! Following your suggestion, we found a place in our code, where the Dynamic flag was set to true, we corrected it, and the whole thing worked l like a charm. Grin

Have a great weekend!



  

Kind regards

Steffen Skov
OLGA Application Architect
Schlumberger Information Solutions AS
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint