|
![]() |
Force-Directed Layout |
layoutalgorithm: forcedir Spring embedder forces are set byattraction: integer repulsion: integer Gravitational force is set bygravity: float
|
![]() |
Example |
graph: {layoutalgorithm : forcedir
node.borderwidth: 0
attraction : 40 randomrounds : 0
repulsion : 40 randomimpulse: 0
gravity : 0.0 randomfactor : 100
fdmax : 50 temptreshold : 3
tempmax : 254 tempscheme : 3
tempmin : 0 tempfactor : 1.08
node: { title: "1" label: "\f01\fbC" } // ...
edge: { source:"1" target:"2" linestyle: double } // ...
}
// click here to view the entire source code
// click here for more example graphs
|
![]() |
Hint |
|
|
Please send any suggestions, comments
or questions to webmaster@absint.com or
use our feedback page.
Contents and Webdesign ©
Copyright 2000 & 2001 by AbsInt Angewandte Informatik GmbH.
This page was last modified on 1st of June 2001.
This page URL is http://www.absint.com/aisee/gdl/guide/forcedir.htm