Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Mixing SpringLayout/AnnealLayout and GridLayout (Read 1584 times)
Alex.kg
YaBB Newbies
*
Offline



Posts: 7
Joined: May 21st, 2009
Mixing SpringLayout/AnnealLayout and GridLayout
Jun 18th, 2009 at 9:20am
Print Post  
I'm trying to show a diagram where shapes arranged using SpringLayout or AnnealLayout, this part works great.

For SpringLayout or AnnealLayout shapes without links arranged in a single top row. If there is lots of shapes without links then diagram looks very bad (single long row at the top).

I've tried to apply SpringLayout/AnnealLayout for shapes with links and GridLayout for rest , but final picture is not good enough: all links are arranged in grid style, shapes with and without links are mixed.

The ideal diagram which I'm going to achieve is:
- shapes with links arranged using SpringLayout / AnnealLayout / CircularLayout
- shapes without links placed and arranged with GridLayout in minimal area

Is there a way to achieve this?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Mixing SpringLayout/AnnealLayout and GridLayou
Reply #1 - Jun 18th, 2009 at 11:41am
Print Post  
Hi,

It depends on the MultipleGraphsPlacement property whether unconnected shapes are placed at the top. Check if the layout looks better with MultipleGraphsPlacement set to MinimalArea. This might also depend on the layout's SplitGraph property. If SplitGraph is enabled, an unconnected node will be treated as a graph on its own and processed as specified by MultipleGraphsPlacement.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Alex.kg
YaBB Newbies
*
Offline



Posts: 7
Joined: May 21st, 2009
Re: Mixing SpringLayout/AnnealLayout and GridLayou
Reply #2 - Jun 19th, 2009 at 3:35pm
Print Post  
MultipleGraphsPlacement=MinimalArea + SplitGraph=false works for me much better.

Thank You!

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