Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Layout size constraint (Read 5171 times)
Pong
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 3rd, 2009
Layout size constraint
Jun 5th, 2009 at 11:17am
Print Post  
Hi,

Is there a way to enforce a layout to arrange nodes inside a given size ?
Something like
Code
Select All
MyLayoutObject.Arrange(size  SizeToArrangeIn) 



Thanx in advance.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Layout size constraint
Reply #1 - Jun 5th, 2009 at 11:37am
Print Post  
Hi,

The force-directed layout classes have a LayoutArea property. For the other ones you might temporarily change Diagram.Bounds to set the position of the arranged graph, and use properties such as LevelDistance and NodeDistance to set the size.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint