Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Rearrange and containers Take 2 (Read 1624 times)
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Rearrange and containers Take 2
Jun 20th, 2010 at 4:49pm
Print Post  
Hello Stoyan !

It's me again Smiley

I have a new problem for you.

I dont know if you remember but you helped me implementing a way to rearrange objects into a container in this thread : http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=127351559...

I still use this code but I use a TreeLayout as outerLayout and a LayeredLayout as outerLayout.


Here is my problem. We have a good/effective TreeLayout for our elements outside of containers that our customers are used to. We would like this rearrange to be mimiced for everything at every moment. But for some case I cant do it. specially for this case.

Here is what we have after a rearrange acutally :



as you can see the 2 nodes in the container are next to each other in an horizontal way which does not respect the way elements are organized for the 3 nodes below (without containers).

Here is what we must have :



the 2 elements in the container are arranged top/bottom which fits the whole rearrange of our graph.

So here is the question : how can I do that ? I tried a lot of Layouts / options in the layout and I still cant repro that.

Any solution ?

Thanks a lot !
Amaury
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Rearrange and containers Take 2
Reply #1 - Jun 21st, 2010 at 7:37am
Print Post  
Hi Amaury,

When the graph defined by the DiagramItemColelction passed to Arrange contains several unconnected parts, they are placed relatively to each other as specified via the MultipleGraphsPlacement property. Try setting it to "MultipleGraphsPlacement.Vertical" for the inner layout object.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Re: Rearrange and containers Take 2
Reply #2 - Jun 21st, 2010 at 3:02pm
Print Post  
One more time, it helps a lot Cheesy
thank you Stoyan !
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint