AbsInt Logoai Logo

GDL: Force-Directed Layout

Prev. (Fish-Eye) Next (Feedback) Index Sitemap home

slide

Force-Directed Layout

  • Specified by

    layoutalgorithm: forcedir
  • Spring embedder forces are set by

    attraction: integer
    repulsion: integer
  • Gravitational force is set by

    gravity: float

example

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

aiSee!!

Hint


top Prev. (Fish-Eye) Next (Feedback) Sitemap home


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