Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic dynamic property of links not working (Read 1940 times)
leo2015
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Nov 13th, 2015
dynamic property of links not working
Jun 7th, 2016 at 3:48am
Print Post  
Dear all,
under my FractalLayout, after I set the property through
diagram1.DynamicLinks = true while initializing,
the link does not point to the centre of the node while it being moved.
Does everyone know what might lead to this?
Thanks.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: dynamic property of links not working
Reply #1 - Jun 7th, 2016 at 6:20am
Print Post  
Hi,

Layout classes disable this property, not sure why. You will have to enable it after calling Arrange -

Code
Select All
layout.Arrange(diagram);

foreach (var link in diagram.Links)
	link.Dynamic = true; 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
leo2015
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Nov 13th, 2015
Re: dynamic property of links not working
Reply #2 - Jun 7th, 2016 at 7:25am
Print Post  
Hi,
thanks a lot and it works!
But it is suggested we let other people know this secret feature.
Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint