| 1 |
// Original source: http://www.graphviz.org/content/lion_share |
| 2 |
##"A few people in the field of genetics are using dot to draw "marriage node diagram" pedigree drawings. Here is one I have done of a test pedigree from the FTREE pedigree drawing package (Lion Share was a racehorse)." Contributed by David Duffy. |
| 3 |
|
| 4 |
##Command to get the layout: "dot -Tpng thisfile > thisfile.png" |
| 5 |
|
| 6 |
digraph Ped_Lion_Share { |
| 7 |
# page = "8.2677165,11.692913" ; |
| 8 |
ratio = "auto" ; |
| 9 |
mincross = 2.0 ; |
| 10 |
label = "Pedigree Lion_Share" ; |
| 11 |
|
| 12 |
"001" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 13 |
"002" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 14 |
"003" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 15 |
"004" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 16 |
"005" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 17 |
"006" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 18 |
"007" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 19 |
"009" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 20 |
"014" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 21 |
"015" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 22 |
"016" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 23 |
"ZZ01" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 24 |
"ZZ02" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 25 |
"017" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 26 |
"012" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 27 |
"008" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 28 |
"011" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 29 |
"013" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 30 |
"010" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 31 |
"023" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 32 |
"020" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 33 |
"021" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 34 |
"018" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 35 |
"025" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 36 |
"019" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 37 |
"022" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 38 |
"024" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 39 |
"027" [shape=circle , regular=1,style=filled,fillcolor=white ] ; |
| 40 |
"026" [shape=box , regular=1,style=filled,fillcolor=white ] ; |
| 41 |
"028" [shape=box , regular=1,style=filled,fillcolor=grey ] ; |
| 42 |
"marr0001" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 43 |
"001" -> "marr0001" [dir=none,weight=1] ; |
| 44 |
"007" -> "marr0001" [dir=none,weight=1] ; |
| 45 |
"marr0001" -> "017" [dir=none, weight=2] ; |
| 46 |
"marr0002" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 47 |
"001" -> "marr0002" [dir=none,weight=1] ; |
| 48 |
"ZZ02" -> "marr0002" [dir=none,weight=1] ; |
| 49 |
"marr0002" -> "012" [dir=none, weight=2] ; |
| 50 |
"marr0003" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 51 |
"002" -> "marr0003" [dir=none,weight=1] ; |
| 52 |
"003" -> "marr0003" [dir=none,weight=1] ; |
| 53 |
"marr0003" -> "008" [dir=none, weight=2] ; |
| 54 |
"marr0004" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 55 |
"002" -> "marr0004" [dir=none,weight=1] ; |
| 56 |
"006" -> "marr0004" [dir=none,weight=1] ; |
| 57 |
"marr0004" -> "011" [dir=none, weight=2] ; |
| 58 |
"marr0005" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 59 |
"002" -> "marr0005" [dir=none,weight=1] ; |
| 60 |
"ZZ01" -> "marr0005" [dir=none,weight=1] ; |
| 61 |
"marr0005" -> "013" [dir=none, weight=2] ; |
| 62 |
"marr0006" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 63 |
"004" -> "marr0006" [dir=none,weight=1] ; |
| 64 |
"009" -> "marr0006" [dir=none,weight=1] ; |
| 65 |
"marr0006" -> "010" [dir=none, weight=2] ; |
| 66 |
"marr0007" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 67 |
"005" -> "marr0007" [dir=none,weight=1] ; |
| 68 |
"015" -> "marr0007" [dir=none,weight=1] ; |
| 69 |
"marr0007" -> "023" [dir=none, weight=2] ; |
| 70 |
"marr0008" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 71 |
"005" -> "marr0008" [dir=none,weight=1] ; |
| 72 |
"016" -> "marr0008" [dir=none,weight=1] ; |
| 73 |
"marr0008" -> "020" [dir=none, weight=2] ; |
| 74 |
"marr0009" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 75 |
"005" -> "marr0009" [dir=none,weight=1] ; |
| 76 |
"012" -> "marr0009" [dir=none,weight=1] ; |
| 77 |
"marr0009" -> "021" [dir=none, weight=2] ; |
| 78 |
"marr0010" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 79 |
"008" -> "marr0010" [dir=none,weight=1] ; |
| 80 |
"017" -> "marr0010" [dir=none,weight=1] ; |
| 81 |
"marr0010" -> "018" [dir=none, weight=2] ; |
| 82 |
"marr0011" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 83 |
"011" -> "marr0011" [dir=none,weight=1] ; |
| 84 |
"023" -> "marr0011" [dir=none,weight=1] ; |
| 85 |
"marr0011" -> "025" [dir=none, weight=2] ; |
| 86 |
"marr0012" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 87 |
"013" -> "marr0012" [dir=none,weight=1] ; |
| 88 |
"014" -> "marr0012" [dir=none,weight=1] ; |
| 89 |
"marr0012" -> "019" [dir=none, weight=2] ; |
| 90 |
"marr0013" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 91 |
"010" -> "marr0013" [dir=none,weight=1] ; |
| 92 |
"021" -> "marr0013" [dir=none,weight=1] ; |
| 93 |
"marr0013" -> "022" [dir=none, weight=2] ; |
| 94 |
"marr0014" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 95 |
"019" -> "marr0014" [dir=none,weight=1] ; |
| 96 |
"020" -> "marr0014" [dir=none,weight=1] ; |
| 97 |
"marr0014" -> "024" [dir=none, weight=2] ; |
| 98 |
"marr0015" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 99 |
"022" -> "marr0015" [dir=none,weight=1] ; |
| 100 |
"025" -> "marr0015" [dir=none,weight=1] ; |
| 101 |
"marr0015" -> "027" [dir=none, weight=2] ; |
| 102 |
"marr0016" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 103 |
"024" -> "marr0016" [dir=none,weight=1] ; |
| 104 |
"018" -> "marr0016" [dir=none,weight=1] ; |
| 105 |
"marr0016" -> "026" [dir=none, weight=2] ; |
| 106 |
"marr0017" [shape=diamond,style=filled,label="",height=.1,width=.1] ; |
| 107 |
"026" -> "marr0017" [dir=none,weight=1] ; |
| 108 |
"027" -> "marr0017" [dir=none,weight=1] ; |
| 109 |
"marr0017" -> "028" [dir=none, weight=2] ; |
| 110 |
} |