Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Moving a complete tree by moving one of its node. (Read 1406 times)
Khaostyke
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 27th, 2010
Moving a complete tree by moving one of its node.
Jan 27th, 2010 at 6:04pm
Print Post  
Hi,

I have a diagram that can contains multiple trees (collection of DiagramNode linked  together). What I want to do it's when I move a node,  the entire tree is moved with it.

I take a look at the "Group" feature. But the tree is only moved when I move the main item and not when I move a sub item.

Any idea?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Moving a complete tree by moving one of its no
Reply #1 - Jan 27th, 2010 at 6:25pm
Print Post  
Hi,

Try to create a group in response to NodeStartModifying by calling AttachTo(e.Node) for all other nodes in the tree.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Khaostyke
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 27th, 2010
Re: Moving a complete tree by moving one of its no
Reply #2 - Jan 27th, 2010 at 6:33pm
Print Post  
Wow. It works very well. Thanks a lot.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint