Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic re-locating links on nodes (Read 1335 times)
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
re-locating links on nodes
May 13th, 2009 at 9:53am
Print Post  
Stoyo

As an example, I have two nodes connected via a link. If I drag one of the nodes to the opposite side of the other static node the link crosses over the static node. I have looked in the forum and looked in the developers guide for a feature that would allow the link to move around to the other side of the static node as i move the otehr node..... is this possible?

regards
Doug
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: re-locating links on nodes
Reply #1 - May 13th, 2009 at 10:00am
Print Post  
Hi Doug,

Try that with the DiagramLink.Dynamic property enabled. You could also call the ReassignAnchorPoints method of the nodes or the link from the LinkModified handler.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: re-locating links on nodes
Reply #2 - May 13th, 2009 at 10:11am
Print Post  
Stoyo

Perfect, thank you, I tried both methods and settled for setting Me.Diagram1.DynamicLinks = True at load time which handles any node that I move.

Hope you are having a good week.

regards
Doug
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint