Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Minimize intersections of shapes + layouts (Read 1379 times)
Alex.kg
YaBB Newbies
*
Offline



Posts: 7
Joined: May 21st, 2009
Minimize intersections of shapes + layouts
May 21st, 2009 at 8:26am
Print Post  
Is there a way to minimize shape nodes intersections after applying layout objects (especially interested in SpringLayout) ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Minimize intersections of shapes + layouts
Reply #1 - May 21st, 2009 at 11:35am
Print Post  
You might run only a few iterations of AnnealLayout as a fine-tuning phase, starting with a low InitialTemperature value and with all costs except NodeDistribution set to 0. This should pull nodes apart a bit. Make sure Randomize is disabled and set LayoutArea to diagram.GetContentBounds().

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



Posts: 7
Joined: May 21st, 2009
Re: Minimize intersections of shapes + layouts
Reply #2 - May 21st, 2009 at 4:46pm
Print Post  
Thank you for suggestion.
I'll try it and let you know results.

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