Difference between revisions of "Wgraph:Tutorial edge layout"
From FollowTheScore
Line 38: | Line 38: | ||
edge A B {label "some text" linestyle dashed color blue thickness 4} | edge A B {label "some text" linestyle dashed color blue thickness 4} | ||
nodetype * {width 40 height 20 color yellow} | nodetype * {width 40 height 20 color yellow} | ||
+ | yspace 100 | ||
}} | }} | ||
[[Category:Wgraph]] | [[Category:Wgraph]] |
Revision as of 10:39, 15 August 2007
edge layout
On edge level you can specify
- kind (normal,back,near,rightnear,leftnear,bentnear,rightbentnear,leftbentnear)
- color
- thickness
- linestyle (continuous,dashed,dotted,double,invisible,solid,triple)
- arrowcolor / backarrowcolor
- arrowsize / backarrowsize
- arrowstyle / backarrowstyle (solid, line, none, [half] circle, [half] rhomb, dslash) and combinations...
- priority
- anchor (int)
- and optionally you can add a text label.
On graph level you can specify
- arrowmode (free,fixed)
- show_edgetypes
- skip_edgetypes
- hide_nodetypes
- hide_edgetypes
{{#wgraph: thumb=40 | wgl | png | svg | gdl |
node A {} node B {} node C {} node D {} node E{} edge A B {label "some text" linestyle dashed color blue thickness 4} nodetype * {width 40 height 20 color yellow} yspace 100
}}