Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic invalid Child Node Redraw problem (Read 2116 times)
fluber
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Nov 12th, 2007
invalid Child Node Redraw problem
Nov 21st, 2007 at 7:41am
Print Post  
hi.
 
  I write a test program reference with TreeLayout demo.
  I build tree relation nodes, and some nodes have a parallel relation node, which does not use AttachTo method.... and I collapse the root node, but I still see the parallel relation node.

diagram.NodesExpandable = true;
diagram.RecursiveExpand = false;

Fluber Wang
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: invalid Child Node Redraw problem
Reply #1 - Nov 21st, 2007 at 8:34am
Print Post  
Hi,

Do you mean the parallel relation node DOES use AttachTo? In that case you would have to set the mainNode.SubordinateGroup.Expandable = true to have the attached nodes hide when the tree is collapsed.

Otherwise, if the parallel node is connected to the tree with a link, please check the link direction. Collapse/expand works only in one direction, as set through the ExpandOnIncoming property.

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