Wgraph:Ahnen
From Dpldemo
This is one of the examples on the aiSee website.
We show how the genealogy graph can be produced using two templates which raise the semantic level of expression compared to the native description in gdl. The wiki source structure is like this:
...
{{Nachkommen |Mutter |Schwester |Bruder |*Jana }}
{{Paar |Jana |Ehemann }}
{{Nachkommen |Jana |*Tochter |Sohn }}
{{Paar |Tochter |Schwiegersohn }}
...
(made with Wgraph)
1: graph "Ahnen" . {
2: smanhattan_edges = yes
3: equal_y_dist = yes
4: portsharing = yes
5:
6: edge "Urgroßmutter" to "Großonkel" {}
7: edge "Urgroßmutter" to "Großtante" {}
8: edge "Urgroßmutter" to "Großmutter" {type Fokus}
9: edge "Großmutter" to "Mutter" {type Fokus}
10: edge "Großmutter" to "Tante" {}
11:
12: edge "Mutter" to "Schwester" {}
13: edge "Mutter" to "Bruder" {}
14: edge "Mutter" to "Jana" {type Fokus}
15: edge "Jana" to "Tochter" {type Fokus}
16: edge "Jana" to "Sohn" {}
17:
18: edge "Bruder" to "Nichte" {}
19: edge "Bruder" to "Neffe" {}
20:
21: edge "Tochter" to "Enkel" {}
22: edge "Tochter" to "Enkelin" {type Fokus}
23:
24: edge "Enkelin" to "Urenkelin" {type Fokus}
25: edge "Enkelin" to "Urenkel" {}
26:
27: edge "Tante" to "Kusine" {}
28: edge "Tante" to "Vetter" {}
29:
30: edge "Schwiegermutter" to "Ehemann" {}
31: edge "Schwiegermutter" to "Schwager" {}
32:
33:
34: nearedge "Urgroßmutter" to "Urgroßvater" {}
35: nearedge "Großmutter" to "Großvater" {}
36: nearedge "Schwiegermutter" to "Schwiegervater" {}
37: nearedge "Mutter" to "Vater" {}
38: nearedge "Jana" to "Ehemann" {}
39: nearedge "Tochter" to "Schwiegersohn" {}
40: nearedge "Sohn" to "Schwiegertochter" {}
41: nearedge "Enkelin" to "Ehemann der Enkelin" {}
42: nearedge "Tante" to "Onkel" {}
43:
44: node Schwiegermutter { vertical_order 2 }
45: node Jana { type Fokus }
46:
47: nodetype Fokus { bordercolor blue font helvB10 borderwidth 3}
48: nodetype * { bordercolor white font helvR10 }
49:
50: edgetype Fokus { thickness 4 }
51: edgetype * { arrowstyle none color blue }
52: }
----
graph: {
// generated by Wgraph at 01:02, 23 August 2012
// see http://semeb.com/dpldemo/index.php/Wgraph
title: "Ahnen"
smanhattanedges: yes
equalydist: yes
portsharing: yes
classname 1: "Fokus"
classname 2: "*"
displayedgelabels: yes
node: {
title: "Onkel"
label: "Onkel"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Ehemann der Enkelin"
label: "Ehemann der Enkelin"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Schwiegertochter"
label: "Schwiegertochter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Schwiegersohn"
label: "Schwiegersohn"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Vater"
label: "Vater"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Schwiegervater"
label: "Schwiegervater"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Großvater"
label: "Großvater"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Urgroßvater"
label: "Urgroßvater"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Schwager"
label: "Schwager"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Ehemann"
label: "Ehemann"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Vetter"
label: "Vetter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Kusine"
label: "Kusine"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Urenkel"
label: "Urenkel"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Urenkelin"
label: "Urenkelin"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Enkelin"
label: "Enkelin"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Enkel"
label: "Enkel"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Neffe"
label: "Neffe"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Nichte"
label: "Nichte"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Sohn"
label: "Sohn"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Tochter"
label: "Tochter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Bruder"
label: "Bruder"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Schwester"
label: "Schwester"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Tante"
label: "Tante"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Mutter"
label: "Mutter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Großmutter"
label: "Großmutter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Großtante"
label: "Großtante"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Großonkel"
label: "Großonkel"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Urgroßmutter"
label: "Urgroßmutter"
bordercolor: white
fontname: "helvR10"
}
node: {
title: "Jana"
bordercolor: blue
fontname: "helvB10"
borderwidth: 3
label: "Jana"
}
node: {
title: "Schwiegermutter"
verticalorder: 2
bordercolor: white
fontname: "helvR10"
label: "Schwiegermutter"
}
edge: {
source: "Urgroßmutter"
target: "Großonkel"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Urgroßmutter"
target: "Großtante"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Urgroßmutter"
target: "Großmutter"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Großmutter"
target: "Mutter"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Großmutter"
target: "Tante"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Mutter"
target: "Schwester"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Mutter"
target: "Bruder"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Mutter"
target: "Jana"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Jana"
target: "Tochter"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Jana"
target: "Sohn"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Bruder"
target: "Nichte"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Bruder"
target: "Neffe"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Tochter"
target: "Enkel"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Tochter"
target: "Enkelin"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Enkelin"
target: "Urenkelin"
thickness: 4
class: 1
arrowstyle: "none"
color: blue
}
edge: {
source: "Enkelin"
target: "Urenkel"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Tante"
target: "Kusine"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Tante"
target: "Vetter"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Schwiegermutter"
target: "Ehemann"
arrowstyle: "none"
color: blue
class: 2
}
edge: {
source: "Schwiegermutter"
target: "Schwager"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Urgroßmutter"
target: "Urgroßvater"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Großmutter"
target: "Großvater"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Schwiegermutter"
target: "Schwiegervater"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Mutter"
target: "Vater"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Jana"
target: "Ehemann"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Tochter"
target: "Schwiegersohn"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Sohn"
target: "Schwiegertochter"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Enkelin"
target: "Ehemann der Enkelin"
arrowstyle: "none"
color: blue
class: 2
}
nearedge: {
source: "Tante"
target: "Onkel"
arrowstyle: "none"
color: blue
class: 2
}
}