Wgraph:Demo attraction

From FollowTheScore
Jump to: navigation, search

{{#wgraph:svg|thumb=15|wgl|gdl|

 edge A X {}  edge A Y {}  
 edge A Z {}  edge X Y {}
 layout     = forcedir
 attraction = 60 
 repulsion  = 20 
 gravity    = 0.0625 

}}

Play around with attraction ( 0 .. 200 ) {{#form: name= demo | action= /dpldemo/index.php | {{#input: name= title | value = Special:Call/Wgraph:Demo_attraction | type=hidden }}

attraction:{{#input: name= attraction | value = }}
repulsion:{{#input: name= repulsion | value = }}
gravity:{{#input: name= gravity | value = }}
{{#input: type = submit | value = draw }}

}} reset