Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Moving control points along with node (Read 2740 times)
egreen
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Aug 21st, 2008
Moving control points along with node
Apr 22nd, 2009 at 12:50pm
Print Post  
Hi,

Is there some diagram setting such that when I move a node, the control points of its links will move similarly, and not remain static?
(Excluding the control point that is directly connected to the node, which already moves along with the node, and excluding the control point that is connected to the other node, which should  remain anchored and unmoved).

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Moving control points along with node
Reply #1 - Apr 22nd, 2009 at 1:15pm
Print Post  
Try with DiagramLink.RetainForm = true.

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


I love YaBB 1G - SP1!

Posts: 11
Joined: Aug 21st, 2008
Re: Moving control points along with node
Reply #2 - Apr 22nd, 2009 at 2:52pm
Print Post  
Actually, this maintains the link's shape, but what I'm trying to achieve is for the control points to move the same on the X and Y axis as the node does.

thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Moving control points along with node
Reply #3 - Apr 22nd, 2009 at 3:13pm
Print Post  
It this link connected to a node just at one of its ends?
  
Back to top
 
IP Logged
 
egreen
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Aug 21st, 2008
Re: Moving control points along with node
Reply #4 - Apr 23rd, 2009 at 2:41pm
Print Post  
No, it's connected on both ends.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Moving control points along with node
Reply #5 - Apr 23rd, 2009 at 3:34pm
Print Post  
There's no builtin support for such behavior. You can implement it by handling NodeModifying and offsetting the positions of all intermediate points in ControlPoints by the same amount the node moved since the last NodeModifying.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint