1 // fromList [(Pos 1,[1,2,3]),(Pos 2,[4,5,6]),(Pos 3,[7,8]),(Pos 4,[9,10,11,12]),(Pos 5,[13,14,15,16]),(Pos 6,[17,18,19,20,21,22])]
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 & b & c
14 T001",style=filled,colorscheme=ylorrd9,shape=box]
15 r1t2c1[label="a & d & e
16 T002",style=filled,colorscheme=ylorrd9,shape=box]
17 r1t3c1[label="e & f & g
18 T003",style=filled,colorscheme=ylorrd9,shape=box]
19 // Horizontally align the cluster nodes within the same range
20 r1 -> r1t1c1[style=invis]
21 r1t1c1 -> r1t2c1[weight=10,style=invis]
22 r1t2c1 -> r1t3c1[weight=10,style=invis]
27 // Create a node for the range r2
28 r2[shape=box,label="2",color=gray,style=filled,fillcolor=gray]
32 // Create the cluster nodes within the range r2
34 T004",style=filled,colorscheme=ylorrd9,shape=box]
36 T005",style=filled,colorscheme=ylorrd9,shape=box]
38 T006",style=filled,colorscheme=ylorrd9,shape=box]
39 // Horizontally align the cluster nodes within the same range
40 r2 -> r2t4c1[style=invis]
41 r2t4c1 -> r2t5c1[weight=10,style=invis]
42 r2t5c1 -> r2t6c1[weight=10,style=invis]
47 // Create a node for the range r3
48 r3[shape=box,label="3",color=gray,style=filled,fillcolor=gray]
52 // Create the cluster nodes within the range r3
53 r3t7c1[label="a & f & g
54 T007",style=filled,colorscheme=ylorrd9,shape=box]
56 T008",style=filled,colorscheme=ylorrd9,shape=box]
57 // Horizontally align the cluster nodes within the same range
58 r3 -> r3t7c1[style=invis]
59 r3t7c1 -> r3t8c1[weight=10,style=invis]
64 // Create a node for the range r4
65 r4[shape=box,label="4",color=gray,style=filled,fillcolor=gray]
69 // Create the cluster nodes within the range r4
70 r4t9c1[label="a & b & c
71 T009",style=filled,colorscheme=ylorrd9,shape=box]
72 r4t10c1[label="a & d & e
73 T010",style=filled,colorscheme=ylorrd9,shape=box]
75 T011",style=filled,colorscheme=ylorrd9,shape=box]
76 r4t12c1[label="b & c & e
77 T012",style=filled,colorscheme=ylorrd9,shape=box]
78 // Horizontally align the cluster nodes within the same range
79 r4 -> r4t9c1[style=invis]
80 r4t9c1 -> r4t10c1[weight=10,style=invis]
81 r4t10c1 -> r4t11c1[weight=10,style=invis]
82 r4t11c1 -> r4t12c1[weight=10,style=invis]
87 // Create a node for the range r5
88 r5[shape=box,label="5",color=gray,style=filled,fillcolor=gray]
92 // Create the cluster nodes within the range r5
93 r5t13c1[label="a & c & d
94 T013",style=filled,colorscheme=ylorrd9,shape=box]
96 T014",style=filled,colorscheme=ylorrd9,shape=box]
98 T015",style=filled,colorscheme=ylorrd9,shape=box]
99 r5t16c1[label="d & f & g
100 T016",style=filled,colorscheme=ylorrd9,shape=box]
101 // Horizontally align the cluster nodes within the same range
102 r5 -> r5t13c1[style=invis]
103 r5t13c1 -> r5t14c1[weight=10,style=invis]
104 r5t14c1 -> r5t15c1[weight=10,style=invis]
105 r5t15c1 -> r5t16c1[weight=10,style=invis]
110 // Create a node for the range r6
111 r6[shape=box,label="6",color=gray,style=filled,fillcolor=gray]
115 // Create the cluster nodes within the range r6
116 r6t17c1[label="a & b & c
117 T017",style=filled,colorscheme=ylorrd9,shape=box]
119 T018",style=filled,colorscheme=ylorrd9,shape=box]
120 r6t19c1[label="b & c & g
121 T019",style=filled,colorscheme=ylorrd9,shape=box]
122 r6t20c1[label="c & d & g
123 T020",style=filled,colorscheme=ylorrd9,shape=box]
125 T021",style=filled,colorscheme=ylorrd9,shape=box]
127 T022",style=filled,colorscheme=ylorrd9,shape=box]
128 // Horizontally align the cluster nodes within the same range
129 r6 -> r6t17c1[style=invis]
130 r6t17c1 -> r6t18c1[weight=10,style=invis]
131 r6t18c1 -> r6t19c1[weight=10,style=invis]
132 r6t19c1 -> r6t20c1[weight=10,style=invis]
133 r6t20c1 -> r6t21c1[weight=10,style=invis]
134 r6t21c1 -> r6t22c1[weight=10,style=invis]
137 // Create the edges of the MST 1
138 // Create the edges of the MST 2
139 // Create the edges of the MST 3
140 // Create the edges of the MST 4
141 // Create the edges of the MST 5
142 // Create the edges of the MST 6
143 // Create the edges of the MST 7
144 // Create the edges of the MST 8
145 // Create the edges of the MST 9
146 // Create the edges of the MST 10
147 // Create the edges of the MST 11
148 // Create the edges of the MST 12
149 // Create the edges of the MST 13
150 // Create the edges of the MST 14
151 // Create the edges of the MST 15
152 // Create the edges of the MST 16
153 // Create the edges of the MST 17
154 // Create the edges of the MST 18
155 // Create the edges of the MST 19
156 // Create the edges of the MST 20
157 // Create the edges of the MST 21
158 // Create the edges of the MST 22
159 // Vertically align range nodes
160 r1 -> r2 -> r3 -> r4 -> r5 -> r6[weight=10,style=invis]