Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Update links connection. (Read 687 times)
skaladra
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Sep 28th, 2022
Update links connection.
Sep 28th, 2022 at 10:17am
Print Post  
Hello! I need to update link control points after it was connected to origin/destination. Is there a way to do it(other than moving origin/destination node)?.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: Update links connection.
Reply #1 - Sep 28th, 2022 at 10:33am
Print Post  
Hi!

You can assign new coordinates to link.ControlPoints. You must also call link.UpdateFromPoints() afterwards, which recalculates some internals for arrowhead directions, relative end positions to node, etc.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint