Wgraph:Sample Genealogy 7
Try yourself
the table and graph below reflect the dynasty knowledge which is represented in all articles which belong to category 'Dynasty' and which are named after the pattern 'Demo Dynasty *'. Currently these are:
- Feel free to change these articles or to add new ones.
- Be careful that the graph doesn´t become too complex.
Person | born | died | father | mother | married to | info |
---|---|---|---|---|---|---|
A | 24.12.1950 | B | C | X 1.1.1970 in Las Vegas |
||
B | D | E | ||||
C | F | G | some explanation to C | |||
A2 | B | C2 | ||||
A3 | B | C2 | ||||
D | B | I | ||||
I | D | K | ||||
L | K | |||||
X | Y |
We define a group of nodes which are packed into a box. The group consists of all nodes which can be reached from 'B'. Nodes which are mentioned but not defined (like 'G' or 'Y') have red bordercolor.
{{#wgraph: svg | thumb = 40 |
nodetype male { shape box color #ddddff bordercolor #9999ff width 140 textwidth 20 } nodetype female { shape box color #ffdddd bordercolor #ff9999 width 140 textwidth 20 }
edgetype father { color #7777ff backarrowsize 10 backarrowstyle solid arrowsize 0 } edgetype mother { color #ff7777 backarrowsize 10 backarrowstyle solid arrowsize 0 } edgetype marriage { kind rightnear arrowstyle line backarrowstyle line backarrowsize 10 color #ff77ff }
nodetype info { color #f0f0f0 borderstyle dashed bordercolor #e0e0e0 } edgetype info { kind near arrowstyle none linestyle dotted color lightgray }
nodetype 'undefined node' { bordercolor red // label '%%?' }
orientation bottom_to_top splines yes
node " A " {
label " A " "\n*" "24.12.1950"
}
edge from " A " to "C" {type mother} edge from " A " to "B" {type father}
edge from " A " to "X" {type marriage label "1.1.1970
in Las Vegas" }
node " B " {
}
edge from " B " to "E" {type mother} edge from " B " to "D" {type father}
node " C " {
}
edge from " C " to "G" {type mother} edge from " C " to "F" {type father} edge from " C " to " C " "_info" { type info }
node " C " "_info" { type info label "some explanation to C" }
node " A2 " {
}
edge from " A2 " to "C2" {type mother} edge from " A2 " to "B" {type father}
node " A3 " {
}
edge from " A3 " to "C2" {type mother} edge from " A3 " to "B" {type father}
node " D " {
}
edge from " D " to "I" {type mother} edge from " D " to "B" {type father}
node " I " {
}
edge from " I " to "K" {type mother} edge from " I " to "D" {type father}
node " L " {
}
edge from " L " to "K" {type mother}
node " X " {
}
edge from " X " to "Y" {type mother}
region { sources 'B' use_edgetypes 'mother,father' } orientation right_to_left
}}
continue with Wgraph:Sample Genealogy 8 .. back to Wgraph:Sample Genealogy 6 ..