Wgraph:Tutorial edge layout

From FollowTheScore
Revision as of 10:33, 15 August 2007 by Gero (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • arrowsize
  • arrowstyle / backarrowstyle (solid, line, none, [half] circle, [half] rhomb, dslash) and combinations...
  • and optionally you can add a text label.

On graph level you can specify

  • arrowmmode (free,fixed)


{{#wgraph: thumb=40 | wgl | png | svg | gdl |

 node A {
   label       "This node demonstrates "
               "the use of various "
               "layout properties which "
               "can be used in WGL alone or together."
   textmode    left_justify
   url         Wgraph:Sample_3.wgl
   textwidth   20
   color       #ddccff
   textcolor   blue
   bordercolor green
   borderwidth 50
   borderstyle double
   width       250
   height      130
 }
 node B { 
   label       "in a special font"
   fontname    HelvBO18
 }
 edge from A to B { label . }
 node C { 
   label       "\n\n\n my image"
   scaling     2
   icon        user
 }
 edge from B to C { label . }
 label "node layout demo"

}}