Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic contained boxes with arrows to non-contained boxes (Read 3448 times)
Jorge Valdehita
Guest


contained boxes with arrows to non-contained boxes
Mar 15th, 2006 at 12:30pm
Print Post  
I´m using this setup for a graph:

box A, is a container.
box B, is contained in box A.

boxes 1, 2, 3, are each starting points of an arrow ending in box B.

boxes 4, 5, are each end points of an arrow starting in box B.

All boxes with an arrow use prebuilt "LeftInRightOut " anchor pattern.

A LayeredLayout object is created and set up to keep anchoring of boxes and horizontal orientation.

Boxes with arrows are setup to my liking, but box A does not move, and box B moves out of box A.

What can I do to fix this behaviour?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: contained boxes with arrows to non-contained b
Reply #1 - Mar 15th, 2006 at 12:52pm
Print Post  
Hi,

Try using grouped boxes instead of containers, and set the IgnoreLayout property of the subordinated box to true. And I believe the arrows should go to the master box, or otherwise it will be excluded from the layout.

We have implemented container boxes for a client a long time ago, but we are going to clean-up the API a bit in the next major release and these will be removed.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: contained boxes with arrows to non-contained b
Reply #2 - Mar 15th, 2006 at 1:23pm
Print Post  
Connecting arrows to the container should work too. You could temporarily disconnect the box inside the container, create links to the container, perform the layout and restore the original links.
  
Back to top
 
IP Logged
 
jvaldehita
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Mar 15th, 2006
Re: contained boxes with arrows to non-contained b
Reply #3 - Mar 15th, 2006 at 1:37pm
Print Post  
Hi, stoyo.

Thanks for your quick answer.

I´ll go through the second route.

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