Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Gridlayout ArrangeDiagram only for visible boxes (Read 3192 times)
unisnk
Junior Member
**
Offline


D'Oh!

Posts: 59
Joined: Sep 3rd, 2008
Gridlayout ArrangeDiagram only for visible boxes
Nov 27th, 2008 at 10:09am
Print Post  
hi there,

look at this picture:



All yellow boxes are containers and can contain hundreds of boxes grouped inside.

All "contained" boxes are hidden (set box.visible := false) and the "container" boxes were arranged with gridlayout method.

The method works well but it takes several minutes to execute. I saw in developer guide the "root" property can enable the arrangement only for the specified sub-graph but this can't help because we can have several sub-graphs as you can see on the chart.

Could be possible to add a flag to gridlayout method (and possibly also to spring and tree layouts) that arranges only visible boxes and ignores the invisibles?

Thank you
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Gridlayout ArrangeDiagram only for visible box
Reply #1 - Nov 27th, 2008 at 12:25pm
Print Post  
Hi,

Set IgnoreLayout for each invisible box before applying GridLayout.

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


D'Oh!

Posts: 59
Joined: Sep 3rd, 2008
Re: Gridlayout ArrangeDiagram only for visible box
Reply #2 - Nov 27th, 2008 at 1:38pm
Print Post  
It seems I "ignored" that property...  Grin

Let's try, I'll inform you if the chart speeds up...

(maybe you have to move this topic to discussion section)

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