Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to set the link fix on the anchor node? (Read 1831 times)
heyx
Junior Member
**
Offline


I Love MindFusion!

Posts: 69
Joined: Oct 9th, 2014
how to set the link fix on the anchor node?
Oct 9th, 2014 at 5:22am
Print Post  
hi,
I create a class inhedit the ShapeNode.and Create two AnchorPoints.Like:
Code
Select All
AnchorPattern.Points.Add(new AnchorPoint(10, 50, true, false));
AnchorPattern.Points.Add(new AnchorPoint(90, 50, false, true));
 


but when i move the node from bottom to top, its link change.how can i fix the link if I have setted ? is there some method ?
  

1_002.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to set the link fix on the anchor node?
Reply #1 - Oct 9th, 2014 at 8:14am
Print Post  
Hi,

If you have enabled the links' AutoRoute property, try setting Diagram.RoutingOptions.Anchoring = Keep. The link might also connect to a different point if its Dynamic property is enabled.

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


I Love MindFusion!

Posts: 69
Joined: Oct 9th, 2014
Re: how to set the link fix on the anchor node?
Reply #2 - Oct 9th, 2014 at 9:33am
Print Post  
thanks, it works! Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint