]> Git — Sourcephile - literate-phylomemy.git/blob - tests/Phylomemy/TemporalMatchingSpec/dotMaximalSpanningTrees/docs=docs0.minSupp=1.minSize=2.lambda=0.30.golden
58fd97466b65b6ae9335a0638eb3ea70c04acc20
[literate-phylomemy.git] / tests / Phylomemy / TemporalMatchingSpec / dotMaximalSpanningTrees / docs=docs0.minSupp=1.minSize=2.lambda=0.30.golden
1 // fromList [(Pos 1,[1,2,5]),(Pos 2,[1,3,5]),(Pos 3,[3,4]),(Pos 4,[1,5]),(Pos 5,[1,3,4,6]),(Pos 6,[2,5,7,8])]
2 digraph g
3 {
4 splines="ortho"
5 subgraph cluster_r1
6 {
7 // Create a node for the range r1
8 r1[shape=box,label="1",color=gray,style=filled,fillcolor=gray]
9 color=gray
10 {
11 rank=same
12 // Create the cluster nodes within the range r1
13 r1t1c1[label="a & d & e
14 T001
15 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
16 r1t2c1[label="e & f & g
17 T002
18 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
19 r1t5c1[label="a & b & c
20 T005
21 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
22 // Horizontally align the cluster nodes within the same range
23 r1 -> r1t1c1[style=invis]
24 r1t1c1 -> r1t2c1[weight=10,style=invis]
25 r1t2c1 -> r1t5c1[weight=10,style=invis]
26 }
27 }
28 subgraph cluster_r2
29 {
30 // Create a node for the range r2
31 r2[shape=box,label="2",color=gray,style=filled,fillcolor=gray]
32 color=gray
33 {
34 rank=same
35 // Create the cluster nodes within the range r2
36 r2t1c1[label="a & d
37 T001
38 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
39 r2t3c1[label="d & f
40 T003
41 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
42 r2t5c1[label="a & b
43 T005
44 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
45 // Horizontally align the cluster nodes within the same range
46 r2 -> r2t1c1[style=invis]
47 r2t1c1 -> r2t3c1[weight=10,style=invis]
48 r2t3c1 -> r2t5c1[weight=10,style=invis]
49 }
50 }
51 subgraph cluster_r3
52 {
53 // Create a node for the range r3
54 r3[shape=box,label="3",color=gray,style=filled,fillcolor=gray]
55 color=gray
56 {
57 rank=same
58 // Create the cluster nodes within the range r3
59 r3t3c1[label="d & f
60 T003
61 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
62 r3t4c1[label="a & f & g
63 T004
64 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
65 // Horizontally align the cluster nodes within the same range
66 r3 -> r3t3c1[style=invis]
67 r3t3c1 -> r3t4c1[weight=10,style=invis]
68 }
69 }
70 subgraph cluster_r4
71 {
72 // Create a node for the range r4
73 r4[shape=box,label="4",color=gray,style=filled,fillcolor=gray]
74 color=gray
75 {
76 rank=same
77 // Create the cluster nodes within the range r4
78 r4t1c1[label="a & d & e
79 T001
80 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
81 r4t5c1[label="a & b & c
82 T005
83 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
84 r4t5c2[label="b & c
85 T005
86 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
87 r4t5c3[label="b & c & e
88 T005
89 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
90 // Horizontally align the cluster nodes within the same range
91 r4 -> r4t1c1[style=invis]
92 r4t1c1 -> r4t5c1[weight=10,style=invis]
93 r4t5c1 -> r4t5c2[weight=10,style=invis]
94 r4t5c2 -> r4t5c3[weight=10,style=invis]
95 }
96 }
97 subgraph cluster_r5
98 {
99 // Create a node for the range r5
100 r5[shape=box,label="5",color=gray,style=filled,fillcolor=gray]
101 color=gray
102 {
103 rank=same
104 // Create the cluster nodes within the range r5
105 r5t1c1[label="a & c & d
106 T001
107 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
108 r5t3c1[label="d & f & g
109 T003
110 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
111 r5t4c1[label="a & f
112 T004
113 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
114 r5t6c1[label="b & f
115 T006",style=filled,colorscheme=ylorrd9,shape=box]
116 // Horizontally align the cluster nodes within the same range
117 r5 -> r5t1c1[style=invis]
118 r5t1c1 -> r5t3c1[weight=10,style=invis]
119 r5t3c1 -> r5t4c1[weight=10,style=invis]
120 r5t4c1 -> r5t6c1[weight=10,style=invis]
121 }
122 }
123 subgraph cluster_r6
124 {
125 // Create a node for the range r6
126 r6[shape=box,label="6",color=gray,style=filled,fillcolor=gray]
127 color=gray
128 {
129 rank=same
130 // Create the cluster nodes within the range r6
131 r6t2c1[label="e & g
132 T002
133 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
134 r6t5c1[label="a & b & c
135 T005
136 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
137 r6t5c2[label="b & c
138 T005
139 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
140 r6t5c3[label="b & c & g
141 T005
142 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
143 r6t7c1[label="c & d & g
144 T007",style=filled,colorscheme=ylorrd9,shape=box]
145 r6t8c1[label="c & g
146 T008",style=filled,colorscheme=ylorrd9,shape=box]
147 // Horizontally align the cluster nodes within the same range
148 r6 -> r6t2c1[style=invis]
149 r6t2c1 -> r6t5c1[weight=10,style=invis]
150 r6t5c1 -> r6t5c2[weight=10,style=invis]
151 r6t5c2 -> r6t5c3[weight=10,style=invis]
152 r6t5c3 -> r6t7c1[weight=10,style=invis]
153 r6t7c1 -> r6t8c1[weight=10,style=invis]
154 }
155 }
156 // Create the edges of the MST 1
157 r1t1c1 -> r5t1c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
158 r1t1c1 -> r2t1c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
159 r1t1c1 -> r4t1c1[constraint=false,color=0,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
160 // Create the edges of the MST 2
161 r1t2c1 -> r6t2c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
162 // Create the edges of the MST 3
163 r2t3c1 -> r5t3c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
164 r2t3c1 -> r3t3c1[constraint=false,color=0,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
165 // Create the edges of the MST 4
166 r3t4c1 -> r5t4c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
167 // Create the edges of the MST 5
168 r4t5c3 -> r1t5c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
169 r1t5c1 -> r6t5c3[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
170 r1t5c1 -> r4t5c2[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
171 r4t5c2 -> r6t5c2[constraint=false,color=0,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
172 r1t5c1 -> r2t5c1[constraint=false,color=6,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
173 r1t5c1 -> r6t5c1[constraint=false,color=0,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
174 r1t5c1 -> r4t5c1[constraint=false,color=0,colorscheme=ylorrd9,fontcolor=blue,dir=both,arrowhead=dot,arrowtail=dot]
175 // Create the edges of the MST 6
176 // Create the edges of the MST 7
177 // Create the edges of the MST 8
178 // Vertically align range nodes
179 r1 -> r2 -> r3 -> r4 -> r5 -> r6[weight=10,style=invis]
180 }