Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Refresh of the flowchart (Read 1097 times)
shil
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 22
Joined: Aug 9th, 2007
Refresh of the flowchart
Sep 22nd, 2007 at 5:57am
Print Post  
Hi there. I move some nodes in my chart, but if i do that via code the arrows that are connected to the node will not move too or will anchored at the wrong point of the box. i allready tried the refresh method, but it doesnt work good. is there any other wy to "refresh" or redraw all items of the chart?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Refresh of the flowchart
Reply #1 - Sep 22nd, 2007 at 11:18am
Print Post  
Hi,

If your problem is that after moving a node the links lose their initial shape or don't follow a nice path between the nodes, try this:

- enable the link.RetainForm property before setting the new node.Bounds; this will preserve the initial arrow shape;

- or call link.Route() after moving a node, and the control will assign a new path to the link so that it does not cross any nodes;

In both cases, set link.Dynamic = false before moving a node if you wish to preserve the link's original anchor points.

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