Difference between revisions of "Wgraph:Demo attraction"
From FollowTheScore
(New page: {| | {{#wgraph:svg|thumb=10|wgl| edge A X {} edge A Y {} edge A Z {} edge X Y {} layout = forcedir attraction = {{{attraction|60}}} repulsion = {{{repulsion|20}}} }} |...) |
|||
| Line 1: | Line 1: | ||
{| | {| | ||
| | | | ||
| − | {{#wgraph:svg|thumb= | + | {{#wgraph:svg|thumb=15|wgl|gdl| |
edge A X {} edge A Y {} | edge A X {} edge A Y {} | ||
edge A Z {} edge X Y {} | edge A Z {} edge X Y {} | ||
| Line 7: | Line 7: | ||
attraction = {{{attraction|60}}} | attraction = {{{attraction|60}}} | ||
repulsion = {{{repulsion|20}}} | repulsion = {{{repulsion|20}}} | ||
| + | gravity = {{{gravity|0.0625}}} | ||
}} | }} | ||
| − | | | + | |valign=top| |
Play around with attraction ( 0 .. 200 ) | Play around with attraction ( 0 .. 200 ) | ||
{{#form: name= demo | action= /dpldemo/index.php | | {{#form: name= demo | action= /dpldemo/index.php | | ||
| Line 15: | Line 16: | ||
<tr><td>attraction:</td><td>{{#input: name= attraction | value = {{{attraction|}}} }}</td></tr> | <tr><td>attraction:</td><td>{{#input: name= attraction | value = {{{attraction|}}} }}</td></tr> | ||
<tr><td>repulsion:</td><td>{{#input: name= repulsion | value = {{{repulsion|}}} }}</td></tr> | <tr><td>repulsion:</td><td>{{#input: name= repulsion | value = {{{repulsion|}}} }}</td></tr> | ||
| + | <tr><td>gravity:</td><td>{{#input: name= gravity | value = {{{gravity|}}} }}</td></tr> | ||
<tr><td>{{#input: type = submit | value = draw }}</td></tr> | <tr><td>{{#input: type = submit | value = draw }}</td></tr> | ||
</table> | </table> | ||
Latest revision as of 18:10, 21 October 2007
|
{{#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 }}
}} reset |