Difference between revisions of "User:Printfxd"

From FollowTheScore
Jump to: navigation, search
(顯示圖片)
(顯示圖片)
Line 29: Line 29:
 
{{#wgraph: name= wgraph_sample_1  | png | svg |
 
{{#wgraph: name= wgraph_sample_1  | png | svg |
  
   {{Wgraph:Ming01.wgl}}
+
   {{Wgraph:Sample 1.wgl}}
 
     node.color = lightyellow
 
     node.color = lightyellow
 
   }}
 
   }}

Revision as of 13:41, 12 August 2009

A first example

WGL source orientation = top_to_bottom
node.color = lightyellow
orientation = left_to_right
node.color = lightmagenta
node.shape = hexagon
node.width = 30
edge.color = red
node A {}
node B {}
node C {}
node D {}
node E {}
edge A D {}
edge A B {}
edge A C {}
edge B C {}
edge B E {}
png | svg |
  node A {} 
node B {}
node C {}
node D {}
node E {}
edge A D {}
edge A B {}
edge A C {}
edge B C {}
edge B E {}
   node.color = lightyellow
 }}
png | svg |
  node A {} 
node B {}
node C {}
node D {}
node E {}
edge A D {}
edge A B {}
edge A C {}
edge B C {}
edge B E {} 
   orientation = left_to_right
   node.color = lightmagenta
   node.shape = hexagon
   node.width = 30
   edge.color = red
 }}

圖檔來源

Wgraph:ming01.wgl

顯示圖片

{{#wgraph: name= wgraph_sample_1 | png | svg |

  node A {} 
node B {}
node C {}
node D {}
node E {}
edge A D {}
edge A B {}
edge A C {}
edge B C {}
edge B E {}
   node.color = lightyellow
 }}