Difference between revisions of "Wgraph:Ming01.wgl"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
  1:  graph "Tutorial_edge_layout" . {
+
graph "Tutorial_edge_layout" . {
  2:  node A {}
+
node A {}
  3:  node B {}
+
node B {}
  4:  node C {}
+
node C {}
  5:  node D {}
+
node D {}
  6:  node E {}
+
node E {}
  7:  node F {}
+
node F {}
  8:  edge A B {label "some text" linestyle dashed color blue thickness 4}
+
  edge A B {label "some text" linestyle dashed color blue thickness 4}
  9:  edge C D {label "some text" linestyle dotted  
+
  edge C D {label "some text" linestyle dotted  
10:            arrowstyle 'half rhomb + filled circle' arrowcolor red
+
            arrowstyle 'half rhomb + filled circle' arrowcolor red
11:            backarrowstyle 'filled circle + filled half box + dslash' backarrowsize 14 backarrowcolor magenta}
+
            backarrowstyle 'filled circle + filled half box + dslash' backarrowsize 14 backarrowcolor magenta}
12:  edge A E {kind leftbentnear}
+
  edge A E {kind leftbentnear}
13:  edge A F {kind rightnear}
+
  edge A F {kind rightnear}
  14:
+
   
15:  nodetype * {width 40 height 20 color yellow}
+
  nodetype * {width 40 height 20 color yellow}
16:  yspace 300 splines yes
+
  yspace 300 splines yes
17: }
+
}

Revision as of 12:49, 12 August 2009

graph "Tutorial_edge_layout" . { 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

}