Difference between revisions of "User:Printfxd"

From FollowTheScore
Jump to: navigation, search
Line 24: Line 24:
 
|}
 
|}
 
==test==
 
==test==
node A {}
 
node B {}
 
node C {}
 
node D {}
 
node E {}
 
  
edge A D {}
+
graph: {
edge A B {}
+
// generated by Wgraph at 11:29, 12 August 2009
edge A C {}
+
// see http://semeb.com/dpldemo/index.php/Wgraph
edge B C {}
+
colorentry 32: 255 51 170
edge B E {}
+
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:33, 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

graph: { // generated by Wgraph at 11:29, 12 August 2009 // see http://semeb.com/dpldemo/index.php/Wgraph colorentry 32: 255 51 170 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" } }