Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ContainerNodes and Groups (Read 1509 times)
Novice
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 14
Joined: Apr 19th, 2011
ContainerNodes and Groups
Apr 19th, 2011 at 4:32pm
Print Post  
Is it possible to create a group for nodes attachedto (and therefore displayed within and hidden when folded) a ContainerNode so that when one node is moved within the ContainerNode all the other nodes in the group are moved?

As further explanation...

Within a ContainerNode I can create a group using shapeNode1.AttachTo(shapeNode2, AttachToNode.BottomCenter) so that when one member of the group is moved by the user all members of the group are moved.

Alternatively I can create a group using containerNode.Add(shapeNode) so that when the ContainerNode is folded the DiagramNodes contained within the ContainerNode are collapsed.

But is it possible to have ShapeNodes AttachedTo a ContainerNode move in a group within the ContainerNode?

Hope my question makes sense - if not please let me know and I'll give more information.

Many Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes and Groups
Reply #1 - Apr 19th, 2011 at 4:50pm
Print Post  
Check if setting FollowMasterContainment on the shapeNode2's SubordinateGroup does what you need. Such groups hide when their master node is inside a folded container.

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


I love YaBB 1G - SP1!

Posts: 14
Joined: Apr 19th, 2011
Re: ContainerNodes and Groups
Reply #2 - Apr 19th, 2011 at 5:02pm
Print Post  
That's got it working.  Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint