Difference between revisions of "User:Printfxd"

From FollowTheScore
Jump to: navigation, search
(test)
Line 24: Line 24:
 
|}
 
|}
 
==test==
 
==test==
graph: {
+
{{#wgraph: name= wgraph_sample_1  | png | svg |
// generated by Wgraph at 11:29, 12 August 2009
+
 
// see http://semeb.com/dpldemo/index.php/Wgraph
+
  {{Wgraph:Sample 1.wgl}}
colorentry 32: 255 51 170
+
    node.color = lightyellow
title: "Example 2"
+
  }}
classname 1: "roommate"
 
classname 2: "friend"
 
orientation: toptobottom
 
splines: yes
 
displayedgelabels: yes
 
node: {
 
title: "Signac"
 
scaling: 2.0
 
bordercolor: blue
 
color: yellow
 
label: "Signac"
 
}
 
node: {
 
info3: "href:../../index.php?title=Henri+Matisse;"
 
title: "Henri Matisse"
 
label: "Henri Matisse"
 
}
 
node: {
 
title: "Gauguin"
 
color: green
 
shape: ellipse
 
label: "Gauguin"
 
}
 
node: {
 
title: "Picasso"
 
label: "Picasso"
 
}
 
edge: {
 
source: "Signac"
 
target: "Picasso"
 
}
 
edge: {
 
source: "Gauguin"
 
target: "Henri Matisse"
 
color: gold
 
class: 1
 
fontname: "HelvO10"
 
}
 
edge: {
 
source: "Gauguin"
 
target: "Signac"
 
label: "good friend"
 
color: 32
 
fontname: "HelvO10"
 
class: 2
 
}
 
edge: {
 
source: "Signac"
 
target: "Henri Matisse"
 
}
 
}
 

Revision as of 12:37, 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
 }}

test

{{#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
 }}