1 | 1 | simandl | WIDTH 1024 |
2 | | | HEIGHT 768 |
3 | | | |
4 | | | BGCOLOR 192 192 192 |
5 | | | |
6 | | | TITLE Test Suite 1 - Nodes |
7 | | | HTMLOUTPUTFILE suite-1.html |
8 | | | IMAGEOUTPUTFILE suite-1.png |
9 | | | |
10 | | | FONTDEFINE 10 VeraBd 20 |
11 | | | FONTDEFINE 20 VeraIt 10 |
12 | | | FONTDEFINE 30 fonts/Flareserif821BT 20 |
13 | | | FONTDEFINE 40 fonts/almosnow.gdf |
14 | | | FONTDEFINE 50 fonts/NewsGothicMT 16 |
15 | | | FONTDEFINE 60 fonts/GillSans 16 |
16 | | | FONTDEFINE 70 fonts/Bedrock 26 |
17 | | | |
18 | | | FONTDEFINE 170 fonts/GillSans 10 |
19 | | | |
20 | | | # define a scale that leaves the nodes alone |
21 | | | SCALE plain 0 100 255 255 255 |
22 | | | |
23 | | | SCALE updown 0 0.9 255 0 0 |
24 | | | SCALE updown 0.9 1.9 255 255 0 |
25 | | | SCALE updown 1.9 2.9 0 255 0 |
26 | | | |
27 | | | NODE DEFAULT |
28 | | | LABEL {node:this:name} |
29 | | | ICON images/my_router.png |
30 | | | |
31 | | | NODE node1 |
32 | | | POSITION 100 100 |
33 | | | |
34 | | | NODE node2 |
35 | | | POSITION 200 100 |
36 | | | LABELOFFSET N |
37 | | | |
38 | | | NODE node3 |
39 | | | POSITION 300 100 |
40 | | | LABELOFFSET S |
41 | | | |
42 | | | NODE node4 |
43 | | | POSITION 350 100 |
44 | | | LABELOFFSET E |
45 | | | |
46 | | | NODE node5 |
47 | | | POSITION 500 100 |
48 | | | LABELOFFSET W |
49 | | | |
50 | | | NODE node6 |
51 | | | POSITION 550 100 |
52 | | | LABELOFFSET 20 20 |
53 | | | |
54 | | | ######## |
55 | | | |
56 | | | NODE node11 |
57 | | | ICON images/IP-gimp.png |
58 | | | POSITION 100 200 |
59 | | | LABELBGCOLOR none |
60 | | | LABELOUTLINECOLOR none |
61 | | | LABELFONTCOLOR 255 255 255 |
62 | | | |
63 | | | NODE node12 |
64 | | | POSITION 200 200 |
65 | | | LABELOFFSET N |
66 | | | LABELBGCOLOR 255 0 0 |
67 | | | LABELFONTCOLOR 255 255 0 |
68 | | | LABELOUTLINECOLOR 0 255 0 |
69 | | | |
70 | | | NODE node13 |
71 | | | POSITION 300 200 |
72 | | | LABELOFFSET S |
73 | | | LABELOUTLINECOLOR 0 0 255 |
74 | | | |
75 | | | NODE node14 |
76 | | | POSITION 350 200 |
77 | | | LABELOFFSET E |
78 | | | LABELFONT 4 |
79 | | | |
80 | | | NODE node15 |
81 | | | POSITION 500 200 |
82 | | | LABELOFFSET W |
83 | | | LABELFONT 1 |
84 | | | |
85 | | | NODE node16 |
86 | | | POSITION 550 200 |
87 | | | LABELBGCOLOR none |
88 | | | LABELOFFSET 20 20 |
89 | | | |
90 | | | ######## |
91 | | | |
92 | | | NODE font1 |
93 | | | POSITION 650 100 |
94 | | | LABELFONT 1 |
95 | | | ICON none |
96 | | | |
97 | | | NODE font2 |
98 | | | POSITION 650 150 |
99 | | | LABELFONT 2 |
100 | | | ICON none |
101 | | | |
102 | | | NODE font3 |
103 | | | POSITION 650 200 |
104 | | | LABELFONT 3 |
105 | | | ICON none |
106 | | | |
107 | | | NODE font4 |
108 | | | POSITION 650 250 |
109 | | | LABELFONT 4 |
110 | | | ICON none |
111 | | | |
112 | | | NODE font5 |
113 | | | POSITION 650 300 |
114 | | | LABELFONT 5 |
115 | | | ICON none |
116 | | | |
117 | | | ######## |
118 | | | |
119 | | | NODE tfont1 |
120 | | | POSITION 800 100 |
121 | | | LABELFONT 10 |
122 | | | LABEL VeraBold |
123 | | | ICON none |
124 | | | |
125 | | | NODE tfont2 |
126 | | | POSITION 800 150 |
127 | | | LABELFONT 20 |
128 | | | LABEL VeraItalic |
129 | | | ICON none |
130 | | | |
131 | | | NODE tfont3 |
132 | | | POSITION 800 200 |
133 | | | LABELFONT 30 |
134 | | | LABEL FlareSerif821 |
135 | | | ICON none |
136 | | | |
137 | | | NODE tfont4 |
138 | | | POSITION 850 250 |
139 | | | LABELFONT 40 |
140 | | | LABEL Almost Snow |
141 | | | ICON none |
142 | | | |
143 | | | NODE tfont5 |
144 | | | POSITION 800 300 |
145 | | | LABELFONT 50 |
146 | | | LABEL NewsGothicMT |
147 | | | ICON none |
148 | | | |
149 | | | NODE tfont6 |
150 | | | POSITION 800 350 |
151 | | | LABELFONT 60 |
152 | | | LABEL GillSans |
153 | | | ICON none |
154 | | | |
155 | | | NODE tfont7 |
156 | | | POSITION 800 400 |
157 | | | LABELFONT 70 |
158 | | | LABEL Bedrock |
159 | | | ICON none |
160 | | | |
161 | | | ######## |
162 | | | |
163 | | | NODE scaleup |
164 | | | POSITION 200 650 |
165 | | | ICON 100 100 images/my_router.png |
166 | | | |
167 | | | NODE scaledown |
168 | | | POSITION 400 650 |
169 | | | ICON 100 100 images/bw_gradient_1024.png |
170 | | | |
171 | | | NODE scaledown2 |
172 | | | POSITION 600 650 |
173 | | | ICON 100 100 suite-2.png |
174 | | | LABELOFFSET N |
175 | | | LABELFONT 170 |
176 | | | LABELBGCOLOR none |
177 | | | LABELOUTLINECOLOR none |
178 | | | INFOURL suite-2.html |
179 | | | |
180 | | | NODE scalenote |
181 | | | POSITION scaledown 0 50 |
182 | | | ICON none |
183 | | | LABELFONT 170 |
184 | | | LABELBGCOLOR none |
185 | | | LABELOUTLINECOLOR none |
186 | | | LABEL The icons for these three nodes were scaled to fit |
187 | | | |
188 | | | ############# |
189 | | | |
190 | | | NODE node311 |
191 | | | POSITION 150 300 |
192 | | | TARGET static:10:22 |
193 | | | USESCALE plain |
194 | | | |
195 | | | NODE node311a |
196 | | | POSITION node311 0 30 |
197 | | | ICON none |
198 | | | LABELFONT 2 |
199 | | | LABEL subnode of node311 ({node:this:x},{node:this:y}) |
200 | | | LABELBGCOLOR none |
201 | | | LABELOUTLINECOLOR none |
202 | | | |
203 | | | NODE node311aa |
204 | | | POSITION node311a 0 14 |
205 | | | ICON none |
206 | | | LABELFONT 2 |
207 | | | LABELBGCOLOR none |
208 | | | LABELOUTLINECOLOR none |
209 | | | LABEL subnode of node311a ({node:this:x},{node:this:y}) |
210 | | | |
211 | | | NODE node311aaa |
212 | | | POSITION node311aa 0 14 |
213 | | | ICON none |
214 | | | LABELFONT 170 |
215 | | | LABELBGCOLOR none |
216 | | | LABELOUTLINECOLOR none |
217 | | | LABEL Can be any font, and contain data - {node:node311:bandwidth_in:%2.4f} leases |
218 | | | |
219 | | | NODE node311aaaa |
220 | | | POSITION node311aaa 0 14 |
221 | | | ICON none |
222 | | | LABELFONT 170 |
223 | | | LABELBGCOLOR none |
224 | | | LABELOUTLINECOLOR none |
225 | | | LABEL also {node:node311:bandwidth_out} maximum (in another subnode) |
226 | | | |
227 | | | NODE node311b |
228 | | | POSITION node311 -60 0 |
229 | | | LABEL subnode2 |
230 | | | ICON none |
231 | | | LABELFONT 1 |
232 | | | |
233 | | | NODE node311c |
234 | | | POSITION node311 60 0 |
235 | | | LABEL subnode3 |
236 | | | ICON none |
237 | | | LABELFONT 1 |
238 | | | |
239 | | | NODE node311d |
240 | | | POSITION node311 0 -30 |
241 | | | LABEL subnode4 |
242 | | | ICON none |
243 | | | LABELFONT 1 |
244 | | | |
245 | | | #####################3 |
246 | | | |
247 | | | NODE node411 |
248 | | | POSITION 150 450 |
249 | | | TARGET static:0:0 |
250 | | | USESCALE updown |
251 | | | ICON none |
252 | | | |
253 | | | NODE node412 |
254 | | | POSITION 250 450 |
255 | | | TARGET static:1:1 |
256 | | | USESCALE updown |
257 | | | ICON none |
258 | | | |
259 | | | NODE node413 |
260 | | | POSITION 350 450 |
261 | | | TARGET static:2:2 |
262 | | | USESCALE updown |
263 | | | ICON none |
264 | | | |
265 | | | NODE note412 |
266 | | | POSITION node412 0 30 |
267 | | | LABEL These nodes are using a special SCALE and TARGET to show up/down status |
268 | | | ICON none |
269 | | | LABELFONT 170 |
270 | | | LABELBGCOLOR none |
271 | | | LABELOUTLINECOLOR none |
272 | | | |
273 | | | |
274 | | | #####################3 |
275 | | | |
276 | | | NODE node511 |
277 | | | POSITION 150 520 |
278 | | | TARGET static:0:0 |
279 | | | USESCALE plain |
280 | | | ICON images/updown_{node:this:bandwidth_in}.png |
281 | | | LABELOFFSET S |
282 | | | LABELBGCOLOR none |
283 | | | LABELOUTLINECOLOR none |
284 | | | |
285 | | | NODE node512 |
286 | | | POSITION 250 520 |
287 | | | TARGET static:1:1 |
288 | | | USESCALE plain |
289 | | | ICON images/updown_{node:this:bandwidth_in}.png |
290 | | | LABELOFFSET S |
291 | | | LABELBGCOLOR none |
292 | | | LABELOUTLINECOLOR none |
293 | | | |
294 | | | NODE node513 |
295 | | | POSITION 350 520 |
296 | | | TARGET static:2:2 |
297 | | | USESCALE plain |
298 | | | LABELOFFSET S |
299 | | | ICON images/updown_{node:this:bandwidth_in}.png |
300 | | | LABELBGCOLOR none |
301 | | | LABELOUTLINECOLOR none |
302 | | | |
303 | | | NODE note512 |
304 | | | POSITION node512 0 50 |
305 | | | LABEL These nodes are using a special TARGET and ICON to calculate an icon filename |
306 | | | ICON none |
307 | | | LABELFONT 170 |
308 | | | LABELBGCOLOR none |
309 | | | LABELOUTLINECOLOR none |
310 | | | |
311 | | | ### |
312 | | | |
313 | | | NODE scale0 |
314 | | | TARGET static:0:0 |
315 | | | POSITION 800 450 |
316 | | | ICON none |
317 | | | |
318 | | | NODE scale1 |
319 | | | TARGET static:10:10 |
320 | | | POSITION scale0 0 25 |
321 | | | ICON none |
322 | | | |
323 | | | NODE scale2 |
324 | | | TARGET static:20:20 |
325 | | | POSITION scale1 0 25 |
326 | | | ICON none |
327 | | | |
328 | | | NODE scale3 |
329 | | | TARGET static:30:30 |
330 | | | POSITION scale2 0 25 |
331 | | | ICON none |
332 | | | |
333 | | | NODE scale4 |
334 | | | TARGET static:40:40 |
335 | | | POSITION scale3 0 25 |
336 | | | ICON none |
337 | | | |
338 | | | NODE scale5 |
339 | | | TARGET static:50:50 |
340 | | | POSITION scale4 0 25 |
341 | | | ICON none |
342 | | | |
343 | | | NODE scale6 |
344 | | | TARGET static:60:60 |
345 | | | POSITION scale5 0 25 |
346 | | | ICON none |
347 | | | |
348 | | | NODE scale7 |
349 | | | TARGET static:70:70 |
350 | | | POSITION scale6 0 25 |
351 | | | ICON none |
352 | | | |
353 | | | NODE scale8 |
354 | | | TARGET static:80:80 |
355 | | | POSITION scale7 0 25 |
356 | | | ICON none |
357 | | | |
358 | | | NODE scale9 |
359 | | | TARGET static:90:90 |
360 | | | POSITION scale8 0 25 |
361 | | | ICON none |
362 | | | |
363 | | | NODE scale10 |
364 | | | TARGET static:100:100 |
365 | | | POSITION scale9 0 25 |
366 | | | ICON none |
367 | | | |
368 | | | NODE notescale |
369 | | | POSITION scale10 0 20 |
370 | | | LABEL These nodes are using a different SCALE again |
371 | | | ICON none |
372 | | | LABELFONT 170 |
373 | | | LABELBGCOLOR none |
374 | | | LABELOUTLINECOLOR none |