User:Printfxd

From FollowTheScore
Revision as of 12:39, 12 August 2009 by Printfxd (talk | contribs) (顯示圖片)
Jump to: navigation, search

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 Apriori {label "Apriori\nAprioriTid\nAprioriHybrid\n1994"}
 node FP-Tree {label "FP-Tree\n2000"}
 node GSP {label "GSP\n1996"}
 node FreeSpan {label "FreeSpan\n2000"}
 node PrefixSpan {label "PrefixSpan\n2004"}
 node TPrefixSpan {label "TPrefixSpan\n2007"}
 node FUFP {label "FUFP\n2007"}
 node Pre-FUFP {label "Pre-FUFP\n2008"}
 edge Apriori FP-Tree {label "improve" kind rightbentnear}
 edge FP-Tree FUFP{label "improve" kind rightbentnear}
 edge FUFP Pre-FUFP{label "improve" kind rightbentnear}
 edge Apriori GSP {label "improve" kind rightbentnear}
 edge GSP PrefixSpan {label "reference" linestyle dotted}
 edge GSP FreeSpan {label "improve"}
 edge FreeSpan PrefixSpan {label "improve"}
 edge PrefixSpan TPrefixSpan {label "improve"}
 nodetype * {width 120 height 80 color LIGHTYELLOW}
 orientation = lefttoright
   node.color = lightyellow
 }}