Salome HOME
Many new examples specially for test of Switches
[modules/superv.git] / examples / GraphSwitchCheckBranch1Default.xml
1 <!DOCTYPE SuperGraph>
2 <supergraph>
3 <dataflow>
4 <info-list>
5 <node>
6 <component-name>?</component-name>
7     <interface-name>?</interface-name>
8     <node-name>GraphSwitchCheckBranch1Default</node-name>
9     <kind>1</kind>
10     <coupled-node>?</coupled-node>
11     <service>
12 <service-name>GraphSwitchCheckBranch1Default</service-name>
13      <inParameter-list>
14 <inParameter>
15 <inParameter-type>long</inParameter-type>
16        <inParameter-name>InitLoopSwitch__Index</inParameter-name>      </inParameter>
17       <inParameter>
18 <inParameter-type>long</inParameter-type>
19        <inParameter-name>InitLoopSwitch__Min</inParameter-name>      </inParameter>
20       <inParameter>
21 <inParameter-type>long</inParameter-type>
22        <inParameter-name>InitLoopSwitch__Max</inParameter-name>      </inParameter>     </inParameter-list>
23      <outParameter-list>
24 <outParameter>
25 <outParameter-type>long</outParameter-type>
26        <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name>      </outParameter>
27       <outParameter>
28 <outParameter-type>long</outParameter-type>
29        <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>      </outParameter>
30       <outParameter>
31 <outParameter-type>long</outParameter-type>
32        <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
33     <DataStream-list/>
34     <PyFunction-list/>
35     <creation-date>13/1/2005 - 11:48:50</creation-date>
36     <lastmodification-date>8/7/2005 - 14:42:28</lastmodification-date>
37     <editor-release>2.0</editor-release>
38     <author>JR</author>
39     <container>?</container>
40     <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch</comment>
41     <x-position>0</x-position>
42     <y-position>0</y-position>   </node>  </info-list>
43   <node-list>
44 <node>
45 <component-name>?</component-name>
46     <interface-name>?</interface-name>
47     <node-name>IsOdd</node-name>
48     <kind>3</kind>
49     <coupled-node>?</coupled-node>
50     <service>
51 <service-name>IsOdd</service-name>
52      <inParameter-list>
53 <inParameter>
54 <inParameter-type>long</inParameter-type>
55        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
56      <outParameter-list>
57 <outParameter>
58 <outParameter-type>long</outParameter-type>
59        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
60     <DataStream-list/>
61     <PyFunction-list>
62 <PyFunction>
63 <FuncName>IsOdd</FuncName>
64       <PyFunc><![CDATA[from time import *   ]]></PyFunc>
65       <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
66       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
67       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
68       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
69     <creation-date>8/7/2005 - 14:41:7</creation-date>
70     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
71     <editor-release>2.0</editor-release>
72     <author>?</author>
73     <container>?</container>
74     <comment>Python function</comment>
75     <x-position>415</x-position>
76     <y-position>7</y-position>   </node>
77    <node>
78 <component-name>?</component-name>
79     <interface-name>?</interface-name>
80     <node-name>IsEven</node-name>
81     <kind>3</kind>
82     <coupled-node>?</coupled-node>
83     <service>
84 <service-name>IsEven</service-name>
85      <inParameter-list>
86 <inParameter>
87 <inParameter-type>long</inParameter-type>
88        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
89      <outParameter-list>
90 <outParameter>
91 <outParameter-type>long</outParameter-type>
92        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
93     <DataStream-list/>
94     <PyFunction-list>
95 <PyFunction>
96 <FuncName>IsEven</FuncName>
97       <PyFunc><![CDATA[from time import *    ]]></PyFunc>
98       <PyFunc><![CDATA[def IsEven(a) :        ]]></PyFunc>
99       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
100       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
101       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
102     <creation-date>8/7/2005 - 14:41:7</creation-date>
103     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
104     <editor-release>2.0</editor-release>
105     <author>?</author>
106     <container>?</container>
107     <comment>Compute Node</comment>
108     <x-position>421</x-position>
109     <y-position>438</y-position>   </node>
110    <node>
111 <component-name>?</component-name>
112     <interface-name>?</interface-name>
113     <node-name>BranchNode</node-name>
114     <kind>3</kind>
115     <coupled-node>?</coupled-node>
116     <service>
117 <service-name>BranchNode</service-name>
118      <inParameter-list>
119 <inParameter>
120 <inParameter-type>string</inParameter-type>
121        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
122      <outParameter-list>
123 <outParameter>
124 <outParameter-type>string</outParameter-type>
125        <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
126     <DataStream-list/>
127     <PyFunction-list>
128 <PyFunction>
129 <FuncName>Print_1</FuncName>
130       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
131       <PyFunc><![CDATA[def Print_1(Branch) :      ]]></PyFunc>
132       <PyFunc><![CDATA[    print "Print ",Branch  ]]></PyFunc>
133       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
134       <PyFunc><![CDATA[    return Branch      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
135     <creation-date>8/7/2005 - 14:41:7</creation-date>
136     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
137     <editor-release>2.0</editor-release>
138     <author>?</author>
139     <container>?</container>
140     <comment>Compute Node</comment>
141     <x-position>529</x-position>
142     <y-position>177</y-position>   </node>
143    <node>
144 <component-name>?</component-name>
145     <interface-name>?</interface-name>
146     <node-name>InitLoopSwitch</node-name>
147     <kind>4</kind>
148     <coupled-node>EndOfInitLoopSwitch</coupled-node>
149     <service>
150 <service-name>InitLoopSwitch</service-name>
151      <inParameter-list>
152 <inParameter>
153 <inParameter-type>long</inParameter-type>
154        <inParameter-name>Index</inParameter-name>      </inParameter>
155       <inParameter>
156 <inParameter-type>long</inParameter-type>
157        <inParameter-name>Min</inParameter-name>      </inParameter>
158       <inParameter>
159 <inParameter-type>long</inParameter-type>
160        <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
161      <outParameter-list>
162 <outParameter>
163 <outParameter-type>long</outParameter-type>
164        <outParameter-name>Index</outParameter-name>      </outParameter>
165       <outParameter>
166 <outParameter-type>long</outParameter-type>
167        <outParameter-name>Min</outParameter-name>      </outParameter>
168       <outParameter>
169 <outParameter-type>long</outParameter-type>
170        <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
171     <DataStream-list/>
172     <PyFunction-list>
173 <PyFunction>
174 <FuncName>InitLoop</FuncName>
175       <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :        ]]></PyFunc>
176       <PyFunc><![CDATA[ Index = Max  ]]></PyFunc>
177       <PyFunc><![CDATA[ return Index,Min,Max       ]]></PyFunc>     </PyFunction>
178      <PyFunction>
179 <FuncName>MoreLoop</FuncName>
180       <PyFunc><![CDATA[from time import * ]]></PyFunc>
181       <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
182       <PyFunc><![CDATA[ sleep(1)  ]]></PyFunc>
183       <PyFunc><![CDATA[ if Index >= Min :     ]]></PyFunc>
184       <PyFunc><![CDATA[         DoLoop = 1       ]]></PyFunc>
185       <PyFunc><![CDATA[ else :       ]]></PyFunc>
186       <PyFunc><![CDATA[         DoLoop = 0       ]]></PyFunc>
187       <PyFunc><![CDATA[ return DoLoop,Index,Min,Max       ]]></PyFunc>     </PyFunction>
188      <PyFunction>
189 <FuncName>NextLoop</FuncName>
190       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :       ]]></PyFunc>
191       <PyFunc><![CDATA[ Index = Index - 1       ]]></PyFunc>
192       <PyFunc><![CDATA[ return Index,Min,Max       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
193     <creation-date>8/7/2005 - 14:41:7</creation-date>
194     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
195     <editor-release>2.0</editor-release>
196     <author>?</author>
197     <container>?</container>
198     <comment>Compute Node</comment>
199     <x-position>10</x-position>
200     <y-position>157</y-position>   </node>
201    <node>
202 <component-name>?</component-name>
203     <interface-name>?</interface-name>
204     <node-name>EndOfInitLoopSwitch</node-name>
205     <kind>5</kind>
206     <coupled-node>InitLoopSwitch</coupled-node>
207     <service>
208 <service-name>EndOfInitLoopSwitch</service-name>
209      <inParameter-list>
210 <inParameter>
211 <inParameter-type>long</inParameter-type>
212        <inParameter-name>Index</inParameter-name>      </inParameter>
213       <inParameter>
214 <inParameter-type>long</inParameter-type>
215        <inParameter-name>Min</inParameter-name>      </inParameter>
216       <inParameter>
217 <inParameter-type>long</inParameter-type>
218        <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
219      <outParameter-list>
220 <outParameter>
221 <outParameter-type>long</outParameter-type>
222        <outParameter-name>Index</outParameter-name>      </outParameter>
223       <outParameter>
224 <outParameter-type>long</outParameter-type>
225        <outParameter-name>Min</outParameter-name>      </outParameter>
226       <outParameter>
227 <outParameter-type>long</outParameter-type>
228        <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
229     <DataStream-list/>
230     <PyFunction-list>
231 <PyFunction>
232 <FuncName>EndOfInitLoopSwitch</FuncName>
233       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
234       <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ]]></PyFunc>
235       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
236       <PyFunc><![CDATA[    return DoLoop,Index,Min,Max  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
237     <creation-date>8/7/2005 - 14:41:7</creation-date>
238     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
239     <editor-release>2.0</editor-release>
240     <author>?</author>
241     <container>?</container>
242     <comment>Compute Node</comment>
243     <x-position>1073</x-position>
244     <y-position>216</y-position>   </node>
245    <node>
246 <component-name>?</component-name>
247     <interface-name>?</interface-name>
248     <node-name>Switch</node-name>
249     <kind>6</kind>
250     <coupled-node>EndOfSwitch</coupled-node>
251     <service>
252 <service-name>Switch</service-name>
253      <inParameter-list>
254 <inParameter>
255 <inParameter-type>long</inParameter-type>
256        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
257      <outParameter-list>
258 <outParameter>
259 <outParameter-type>long</outParameter-type>
260        <outParameter-name>Odd</outParameter-name>      </outParameter>
261       <outParameter>
262 <outParameter-type>int</outParameter-type>
263        <outParameter-name>Even</outParameter-name>      </outParameter>
264       <outParameter>
265 <outParameter-type>int</outParameter-type>
266        <outParameter-name>a</outParameter-name>      </outParameter>
267       <outParameter>
268 <outParameter-type>string</outParameter-type>
269        <outParameter-name>Branch</outParameter-name>      </outParameter>
270       <outParameter>
271 <outParameter-type>boolean</outParameter-type>
272        <outParameter-name>default</outParameter-name>      </outParameter>     </outParameter-list>    </service>
273     <DataStream-list/>
274     <PyFunction-list>
275 <PyFunction>
276 <FuncName>Switch</FuncName>
277       <PyFunc><![CDATA[from time import *         ]]></PyFunc>
278       <PyFunc><![CDATA[def Switch(a) :  ]]></PyFunc>
279       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
280       <PyFunc><![CDATA[    Branch = "Negative or null"     ]]></PyFunc>
281       <PyFunc><![CDATA[    if a <= 0 : ]]></PyFunc>
282       <PyFunc><![CDATA[        if ( a & 1 ) == 0 : ]]></PyFunc>
283       <PyFunc><![CDATA[            return 0,0,a,Branch,1 ]]></PyFunc>
284       <PyFunc><![CDATA[        else : ]]></PyFunc>
285       <PyFunc><![CDATA[            return 0,0,a,Branch,0 ]]></PyFunc>
286       <PyFunc><![CDATA[    if ( a & 1 ) == 0 :     ]]></PyFunc>
287       <PyFunc><![CDATA[        Branch = "Even"     ]]></PyFunc>
288       <PyFunc><![CDATA[    else :     ]]></PyFunc>
289       <PyFunc><![CDATA[        Branch = "Odd"     ]]></PyFunc>
290       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0   ]]></PyFunc>     </PyFunction>    </PyFunction-list>
291     <creation-date>8/7/2005 - 14:41:7</creation-date>
292     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
293     <editor-release>2.0</editor-release>
294     <author>?</author>
295     <container>?</container>
296     <comment>Compute Node</comment>
297     <x-position>194</x-position>
298     <y-position>157</y-position>   </node>
299    <node>
300 <component-name>?</component-name>
301     <interface-name>?</interface-name>
302     <node-name>EndOfSwitch</node-name>
303     <kind>7</kind>
304     <coupled-node>Switch</coupled-node>
305     <service>
306 <service-name>EndOfSwitch</service-name>
307      <inParameter-list>
308 <inParameter>
309 <inParameter-type>long</inParameter-type>
310        <inParameter-name>a</inParameter-name>      </inParameter>
311       <inParameter>
312 <inParameter-type>string</inParameter-type>
313        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
314      <outParameter-list>
315 <outParameter>
316 <outParameter-type>long</outParameter-type>
317        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
318     <DataStream-list/>
319     <PyFunction-list>
320 <PyFunction>
321 <FuncName>EndOfSwitch</FuncName>
322       <PyFunc><![CDATA[from time import * ]]></PyFunc>
323       <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
324       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
325       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
326     <creation-date>8/7/2005 - 14:41:7</creation-date>
327     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
328     <editor-release>2.0</editor-release>
329     <author>?</author>
330     <container>?</container>
331     <comment>Compute Node</comment>
332     <x-position>880</x-position>
333     <y-position>216</y-position>   </node>
334    <node>
335 <component-name>?</component-name>
336     <interface-name>?</interface-name>
337     <node-name>default</node-name>
338     <kind>3</kind>
339     <coupled-node>?</coupled-node>
340     <service>
341 <service-name>default</service-name>
342      <inParameter-list>
343 <inParameter>
344 <inParameter-type>long</inParameter-type>
345        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
346      <outParameter-list>
347 <outParameter>
348 <outParameter-type>long</outParameter-type>
349        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
350     <DataStream-list/>
351     <PyFunction-list>
352 <PyFunction>
353 <FuncName>default</FuncName>
354       <PyFunc><![CDATA[from time import * ]]></PyFunc>
355       <PyFunc><![CDATA[def default(a) : ]]></PyFunc>
356       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
357       <PyFunc><![CDATA[    return a  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
358     <creation-date>8/7/2005 - 14:41:7</creation-date>
359     <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
360     <editor-release>2.0</editor-release>
361     <author>?</author>
362     <container>?</container>
363     <comment>Compute Node</comment>
364     <x-position>428</x-position>
365     <y-position>308</y-position>   </node>  </node-list>
366   <link-list>
367 <link>
368 <fromnode-name>IsOdd</fromnode-name>
369     <fromserviceparameter-name>a</fromserviceparameter-name>
370     <tonode-name>EndOfSwitch</tonode-name>
371     <toserviceparameter-name>a</toserviceparameter-name>
372     <coord-list/>   </link>
373    <link>
374 <fromnode-name>IsEven</fromnode-name>
375     <fromserviceparameter-name>a</fromserviceparameter-name>
376     <tonode-name>EndOfSwitch</tonode-name>
377     <toserviceparameter-name>a</toserviceparameter-name>
378     <coord-list/>   </link>
379    <link>
380 <fromnode-name>BranchNode</fromnode-name>
381     <fromserviceparameter-name>Branch</fromserviceparameter-name>
382     <tonode-name>EndOfSwitch</tonode-name>
383     <toserviceparameter-name>Branch</toserviceparameter-name>
384     <coord-list/>   </link>
385    <link>
386 <fromnode-name>InitLoopSwitch</fromnode-name>
387     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
388     <tonode-name>EndOfInitLoopSwitch</tonode-name>
389     <toserviceparameter-name>DoLoop</toserviceparameter-name>
390     <coord-list/>   </link>
391    <link>
392 <fromnode-name>InitLoopSwitch</fromnode-name>
393     <fromserviceparameter-name>Index</fromserviceparameter-name>
394     <tonode-name>Switch</tonode-name>
395     <toserviceparameter-name>a</toserviceparameter-name>
396     <coord-list/>   </link>
397    <link>
398 <fromnode-name>InitLoopSwitch</fromnode-name>
399     <fromserviceparameter-name>Min</fromserviceparameter-name>
400     <tonode-name>EndOfInitLoopSwitch</tonode-name>
401     <toserviceparameter-name>Min</toserviceparameter-name>
402     <coord-list/>   </link>
403    <link>
404 <fromnode-name>InitLoopSwitch</fromnode-name>
405     <fromserviceparameter-name>Max</fromserviceparameter-name>
406     <tonode-name>EndOfInitLoopSwitch</tonode-name>
407     <toserviceparameter-name>Max</toserviceparameter-name>
408     <coord-list/>   </link>
409    <link>
410 <fromnode-name>EndOfInitLoopSwitch</fromnode-name>
411     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
412     <tonode-name>InitLoopSwitch</tonode-name>
413     <toserviceparameter-name>DoLoop</toserviceparameter-name>
414     <coord-list/>   </link>
415    <link>
416 <fromnode-name>Switch</fromnode-name>
417     <fromserviceparameter-name>Odd</fromserviceparameter-name>
418     <tonode-name>IsOdd</tonode-name>
419     <toserviceparameter-name>Gate</toserviceparameter-name>
420     <coord-list>
421 <coord>
422 <x>401</x>
423       <y>101</y>     </coord>
424      <coord>
425 <x>401</x>
426       <y>188</y>     </coord>    </coord-list>   </link>
427    <link>
428 <fromnode-name>Switch</fromnode-name>
429     <fromserviceparameter-name>Even</fromserviceparameter-name>
430     <tonode-name>IsEven</tonode-name>
431     <toserviceparameter-name>Gate</toserviceparameter-name>
432     <coord-list>
433 <coord>
434 <x>392</x>
435       <y>533</y>     </coord>
436      <coord>
437 <x>392</x>
438       <y>208</y>     </coord>    </coord-list>   </link>
439    <link>
440 <fromnode-name>Switch</fromnode-name>
441     <fromserviceparameter-name>a</fromserviceparameter-name>
442     <tonode-name>IsOdd</tonode-name>
443     <toserviceparameter-name>a</toserviceparameter-name>
444     <coord-list>
445 <coord>
446 <x>382</x>
447       <y>78</y>     </coord>
448      <coord>
449 <x>382</x>
450       <y>229</y>     </coord>    </coord-list>   </link>
451    <link>
452 <fromnode-name>Switch</fromnode-name>
453     <fromserviceparameter-name>a</fromserviceparameter-name>
454     <tonode-name>IsEven</tonode-name>
455     <toserviceparameter-name>a</toserviceparameter-name>
456     <coord-list>
457 <coord>
458 <x>381</x>
459       <y>509</y>     </coord>
460      <coord>
461 <x>381</x>
462       <y>229</y>     </coord>    </coord-list>   </link>
463    <link>
464 <fromnode-name>Switch</fromnode-name>
465     <fromserviceparameter-name>a</fromserviceparameter-name>
466     <tonode-name>default</tonode-name>
467     <toserviceparameter-name>a</toserviceparameter-name>
468     <coord-list>
469 <coord>
470 <x>382</x>
471       <y>377</y>     </coord>
472      <coord>
473 <x>382</x>
474       <y>228</y>     </coord>    </coord-list>   </link>
475    <link>
476 <fromnode-name>Switch</fromnode-name>
477     <fromserviceparameter-name>Branch</fromserviceparameter-name>
478     <tonode-name>BranchNode</tonode-name>
479     <toserviceparameter-name>Branch</toserviceparameter-name>
480     <coord-list/>   </link>
481    <link>
482 <fromnode-name>Switch</fromnode-name>
483     <fromserviceparameter-name>default</fromserviceparameter-name>
484     <tonode-name>default</tonode-name>
485     <toserviceparameter-name>Gate</toserviceparameter-name>
486     <coord-list>
487 <coord>
488 <x>410</x>
489       <y>403</y>     </coord>
490      <coord>
491 <x>410</x>
492       <y>269</y>     </coord>
493      <coord>
494 <x>410</x>
495       <y>268</y>     </coord>    </coord-list>   </link>
496    <link>
497 <fromnode-name>Switch</fromnode-name>
498     <fromserviceparameter-name>Default</fromserviceparameter-name>
499     <tonode-name>EndOfSwitch</tonode-name>
500     <toserviceparameter-name>Default</toserviceparameter-name>
501     <coord-list/>   </link>
502    <link>
503 <fromnode-name>EndOfSwitch</fromnode-name>
504     <fromserviceparameter-name>a</fromserviceparameter-name>
505     <tonode-name>EndOfInitLoopSwitch</tonode-name>
506     <toserviceparameter-name>Index</toserviceparameter-name>
507     <coord-list/>   </link>
508    <link>
509 <fromnode-name>default</fromnode-name>
510     <fromserviceparameter-name>a</fromserviceparameter-name>
511     <tonode-name>EndOfSwitch</tonode-name>
512     <toserviceparameter-name>a</toserviceparameter-name>
513     <coord-list/>   </link>  </link-list>
514   <data-list>
515 <data>
516 <fromnode-name>GraphSwitchCheckBranch1Default</fromnode-name>
517     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
518     <tonode-name>InitLoopSwitch</tonode-name>
519     <toserviceparameter-name>Index</toserviceparameter-name>
520     <data-value>
521 <value-type>3</value-type>
522      <value>0</value>    </data-value>
523     <coord-list/>   </data>
524    <data>
525 <fromnode-name>GraphSwitchCheckBranch1Default</fromnode-name>
526     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
527     <tonode-name>InitLoopSwitch</tonode-name>
528     <toserviceparameter-name>Min</toserviceparameter-name>
529     <data-value>
530 <value-type>3</value-type>
531      <value>-5</value>    </data-value>
532     <coord-list/>   </data>
533    <data>
534 <fromnode-name>GraphSwitchCheckBranch1Default</fromnode-name>
535     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
536     <tonode-name>InitLoopSwitch</tonode-name>
537     <toserviceparameter-name>Max</toserviceparameter-name>
538     <data-value>
539 <value-type>3</value-type>
540      <value>10</value>    </data-value>
541     <coord-list/>   </data>  </data-list> </dataflow></supergraph>