Difference between revisions of "Wgraph:Tutorial edge layout"
From FollowTheScore
(New page: == edge layout == On edge level you can specify * kind (normal,back,near,rightnear,leftnear,bentnear,rightbentnear,leftbentnear) * color * thickness * linestyle (continuous,dashed,dott...) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
* linestyle (continuous,dashed,dotted,double,invisible,solid,triple) | * linestyle (continuous,dashed,dotted,double,invisible,solid,triple) | ||
− | * arrowcolor | + | * arrowcolor / backarrowcolor |
− | * arrowsize | + | * arrowsize / backarrowsize |
− | * arrowstyle / backarrowstyle (solid, line, none, [half] circle, [half] rhomb, dslash) and combinations... | + | * arrowstyle / backarrowstyle (solid, line, none, [half] circle, box, [half] rhomb, dslash) and combinations... |
+ | |||
+ | * priority | ||
+ | * anchor (int) | ||
* and optionally you can add a text label. | * and optionally you can add a text label. | ||
Line 18: | Line 21: | ||
On graph level you can specify | On graph level you can specify | ||
− | * | + | * arrowmode (free,fixed) |
+ | * show_edgetypes | ||
+ | * skip_edgetypes | ||
+ | * hide_nodetypes | ||
+ | * hide_edgetypes | ||
+ | ---- | ||
{{#wgraph: thumb=40 | wgl | png | svg | gdl | | {{#wgraph: thumb=40 | wgl | png | svg | gdl | | ||
− | node A { | + | node A {} |
− | + | node B {} | |
− | + | node C {} | |
− | + | node D {} | |
− | + | node E {} | |
− | + | node F {} | |
− | + | edge A B {label "some text" linestyle dashed color blue thickness 4} | |
− | + | edge C D {label "some text" linestyle dotted | |
− | + | arrowstyle 'half rhomb + filled circle' arrowcolor red | |
− | + | backarrowstyle 'filled circle + filled half box + dslash' backarrowsize 14 backarrowcolor magenta} | |
− | + | edge A E {kind leftbentnear} | |
− | + | edge A F {kind rightnear} | |
− | + | ||
− | + | nodetype * {width 40 height 20 color yellow} | |
− | + | yspace 300 splines yes | |
− | } | ||
− | node | ||
− | |||
− | |||
− | |||
− | edge | ||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | edge | ||
− | |||
}} | }} | ||
[[Category:Wgraph]] | [[Category:Wgraph]] |
Latest revision as of 10:53, 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, box, [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 {} node F {} edge A B {label "some text" linestyle dashed color blue thickness 4} edge C D {label "some text" linestyle dotted arrowstyle 'half rhomb + filled circle' arrowcolor red backarrowstyle 'filled circle + filled half box + dslash' backarrowsize 14 backarrowcolor magenta} edge A E {kind leftbentnear} edge A F {kind rightnear}
nodetype * {width 40 height 20 color yellow} yspace 300 splines yes
}}