Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Containers, Grouping and Nesting (Read 1560 times)
dougriley
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Feb 17th, 2010
Containers, Grouping and Nesting
Apr 6th, 2010 at 2:53pm
Print Post  
I want to use the diagramming tool to provide something like a basic room designer. So, I need to start by laying out a room and then adding objects (nodes) into the room. Some object may container other objects (like a table may have plates). So, here are my questions:

1) What object type should I use for the room? ShapeNode, Container? Ideally, I would like to be able to define irregular shapes (L shaped room). Is that possible?

2) How can I embed a shapenode inside another shapenode (one shapenode is the parent of another)?

Thanks,
Doug
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Containers, Grouping and Nesting
Reply #1 - Apr 6th, 2010 at 3:36pm
Print Post  
Hi,

1) Use ShapeNodes and groups if you need irregular shapes.

2) Call childNode.AttachTo(parentNode, AttachToNode.TopLeft). Now if you move parentNode, childNode will move too.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint