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])]
7 // Create a node for the range r1
8 r1[shape=box,label="1",color=gray,style=filled,fillcolor=gray]
12 // Create the cluster nodes within the range r1
13 r1t1c1[label="a & d & e
15 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
16 r1t2c1[label="e & f & g
18 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
19 r1t5c1[label="a & b & c
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]
30 // Create a node for the range r2
31 r2[shape=box,label="2",color=gray,style=filled,fillcolor=gray]
35 // Create the cluster nodes within the range r2
38 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
41 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
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]
53 // Create a node for the range r3
54 r3[shape=box,label="3",color=gray,style=filled,fillcolor=gray]
58 // Create the cluster nodes within the range r3
61 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
62 r3t4c1[label="a & f & g
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]
72 // Create a node for the range r4
73 r4[shape=box,label="4",color=gray,style=filled,fillcolor=gray]
77 // Create the cluster nodes within the range r4
78 r4t1c1[label="a & d & e
80 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
81 r4t5c1[label="a & b & c
83 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
86 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
87 r4t5c3[label="b & c & e
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]
99 // Create a node for the range r5
100 r5[shape=box,label="5",color=gray,style=filled,fillcolor=gray]
104 // Create the cluster nodes within the range r5
105 r5t1c1[label="a & c & d
107 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
108 r5t3c1[label="d & f & g
110 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
113 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
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]
125 // Create a node for the range r6
126 r6[shape=box,label="6",color=gray,style=filled,fillcolor=gray]
130 // Create the cluster nodes within the range r6
133 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
134 r6t5c1[label="a & b & c
136 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
139 0.67",style=filled,fillcolor=7,colorscheme=ylorrd9,shape=box]
140 r6t5c3[label="b & c & g
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]
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]
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]