Salome HOME
27f84938882014059efad76ed4c590837db51a95
[samples/datafiles.git] / Superv / Graphs / GraphSwitchManyCases.xml
1 <!DOCTYPE SuperGraph>
2 <!--
3   Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
4
5   Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
6   CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7
8   This library is free software; you can redistribute it and/or
9   modify it under the terms of the GNU Lesser General Public
10   License as published by the Free Software Foundation; either
11   version 2.1 of the License, or (at your option) any later version.
12
13   This library is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   Lesser General Public License for more details.
17
18   You should have received a copy of the GNU Lesser General Public
19   License along with this library; if not, write to the Free Software
20   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
22   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23
24 -->
25 <supergraph>
26  <dataflow>
27   <info-list>
28    <node>
29     <component-name>?</component-name>
30     <interface-name>?</interface-name>
31     <node-name>GraphSwitchManyCases</node-name>
32     <kind>1</kind>
33     <coupled-node>?</coupled-node>
34     <service>
35      <service-name>GraphSwitchManyCases_1</service-name>
36      <inParameter-list>
37       <inParameter>
38        <inParameter-type>long</inParameter-type>
39        <inParameter-name>Loop__Index</inParameter-name>
40       </inParameter>
41       <inParameter>
42        <inParameter-type>long</inParameter-type>
43        <inParameter-name>Loop__Max</inParameter-name>
44       </inParameter>
45       <inParameter>
46        <inParameter-type>long</inParameter-type>
47        <inParameter-name>Loop__Min</inParameter-name>
48       </inParameter>
49       <inParameter>
50        <inParameter-type>long</inParameter-type>
51        <inParameter-name>EndSwitch__f</inParameter-name>
52       </inParameter>
53      </inParameter-list>
54      <outParameter-list>
55       <outParameter>
56        <outParameter-type>long</outParameter-type>
57        <outParameter-name>EndLoop__Index</outParameter-name>
58       </outParameter>
59       <outParameter>
60        <outParameter-type>long</outParameter-type>
61        <outParameter-name>EndLoop__Max</outParameter-name>
62       </outParameter>
63       <outParameter>
64        <outParameter-type>long</outParameter-type>
65        <outParameter-name>EndLoop__Min</outParameter-name>
66       </outParameter>
67       <outParameter>
68        <outParameter-type>long</outParameter-type>
69        <outParameter-name>Switch__f</outParameter-name>
70       </outParameter>
71      </outParameter-list>
72     </service>
73     <DataStream-list/>
74     <PyFunction-list/>
75     <creation-date>29/6/2005 - 16:32:43</creation-date>
76     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
77     <editor-release>2.0</editor-release>
78     <author>JR</author>
79     <container>?</container>
80     <comment>?</comment>
81     <x-position>0</x-position>
82     <y-position>0</y-position>
83    </node>
84   </info-list>
85   <node-list>
86    <node>
87     <component-name>?</component-name>
88     <interface-name>?</interface-name>
89     <node-name>Loop</node-name>
90     <kind>4</kind>
91     <coupled-node>EndLoop</coupled-node>
92     <service>
93      <service-name>Loop</service-name>
94      <inParameter-list>
95       <inParameter>
96        <inParameter-type>long</inParameter-type>
97        <inParameter-name>Index</inParameter-name>
98       </inParameter>
99       <inParameter>
100        <inParameter-type>long</inParameter-type>
101        <inParameter-name>Max</inParameter-name>
102       </inParameter>
103       <inParameter>
104        <inParameter-type>long</inParameter-type>
105        <inParameter-name>Min</inParameter-name>
106       </inParameter>
107      </inParameter-list>
108      <outParameter-list>
109       <outParameter>
110        <outParameter-type>long</outParameter-type>
111        <outParameter-name>Index</outParameter-name>
112       </outParameter>
113       <outParameter>
114        <outParameter-type>long</outParameter-type>
115        <outParameter-name>Max</outParameter-name>
116       </outParameter>
117       <outParameter>
118        <outParameter-type>long</outParameter-type>
119        <outParameter-name>Min</outParameter-name>
120       </outParameter>
121      </outParameter-list>
122     </service>
123     <DataStream-list/>
124     <PyFunction-list>
125      <PyFunction>
126       <FuncName>Init</FuncName>
127       <PyFunc><![CDATA[def Init(Index,Max,Min) : ]]></PyFunc>
128       <PyFunc><![CDATA[    Index = Max ]]></PyFunc>
129       <PyFunc><![CDATA[    return Index,Max,Min ]]></PyFunc>
130      </PyFunction>
131      <PyFunction>
132       <FuncName>More</FuncName>
133       <PyFunc><![CDATA[def More(Index,Max,Min) : ]]></PyFunc>
134       <PyFunc><![CDATA[    if Index >= Min : ]]></PyFunc>
135       <PyFunc><![CDATA[        DoLoop = 1 ]]></PyFunc>
136       <PyFunc><![CDATA[    else : ]]></PyFunc>
137       <PyFunc><![CDATA[        DoLoop = 0 ]]></PyFunc>
138       <PyFunc><![CDATA[    return DoLoop,Index,Max,Min ]]></PyFunc>
139      </PyFunction>
140      <PyFunction>
141       <FuncName>Next</FuncName>
142       <PyFunc><![CDATA[def Next(Index,Max,Min) : ]]></PyFunc>
143       <PyFunc><![CDATA[    Index = Index - 1 ]]></PyFunc>
144       <PyFunc><![CDATA[    return Index,Max,Min ]]></PyFunc>
145      </PyFunction>
146     </PyFunction-list>
147     <creation-date>25/8/2005 - 12:41:10</creation-date>
148     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
149     <editor-release>2.0</editor-release>
150     <author>?</author>
151     <container>?</container>
152     <comment>Compute Node</comment>
153     <x-position>15</x-position>
154     <y-position>336</y-position>
155    </node>
156    <node>
157     <component-name>?</component-name>
158     <interface-name>?</interface-name>
159     <node-name>EndLoop</node-name>
160     <kind>5</kind>
161     <coupled-node>Loop</coupled-node>
162     <service>
163      <service-name>EndLoop</service-name>
164      <inParameter-list>
165       <inParameter>
166        <inParameter-type>long</inParameter-type>
167        <inParameter-name>Index</inParameter-name>
168       </inParameter>
169       <inParameter>
170        <inParameter-type>long</inParameter-type>
171        <inParameter-name>Max</inParameter-name>
172       </inParameter>
173       <inParameter>
174        <inParameter-type>long</inParameter-type>
175        <inParameter-name>Min</inParameter-name>
176       </inParameter>
177      </inParameter-list>
178      <outParameter-list>
179       <outParameter>
180        <outParameter-type>long</outParameter-type>
181        <outParameter-name>Index</outParameter-name>
182       </outParameter>
183       <outParameter>
184        <outParameter-type>long</outParameter-type>
185        <outParameter-name>Max</outParameter-name>
186       </outParameter>
187       <outParameter>
188        <outParameter-type>long</outParameter-type>
189        <outParameter-name>Min</outParameter-name>
190       </outParameter>
191      </outParameter-list>
192     </service>
193     <DataStream-list/>
194     <PyFunction-list>
195      <PyFunction>
196       <FuncName>EndLoop</FuncName>
197       <PyFunc><![CDATA[?]]></PyFunc>
198      </PyFunction>
199     </PyFunction-list>
200     <creation-date>25/8/2005 - 12:41:10</creation-date>
201     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
202     <editor-release>2.0</editor-release>
203     <author>?</author>
204     <container>?</container>
205     <comment>Compute Node</comment>
206     <x-position>972</x-position>
207     <y-position>344</y-position>
208    </node>
209    <node>
210     <component-name>?</component-name>
211     <interface-name>?</interface-name>
212     <node-name>Switch</node-name>
213     <kind>6</kind>
214     <coupled-node>EndSwitch</coupled-node>
215     <service>
216      <service-name>Switch</service-name>
217      <inParameter-list>
218       <inParameter>
219        <inParameter-type>long</inParameter-type>
220        <inParameter-name>Index</inParameter-name>
221       </inParameter>
222      </inParameter-list>
223      <outParameter-list>
224       <outParameter>
225        <outParameter-type>long</outParameter-type>
226        <outParameter-name>SB1</outParameter-name>
227       </outParameter>
228       <outParameter>
229        <outParameter-type>long</outParameter-type>
230        <outParameter-name>SB2</outParameter-name>
231       </outParameter>
232       <outParameter>
233        <outParameter-type>long</outParameter-type>
234        <outParameter-name>a</outParameter-name>
235       </outParameter>
236       <outParameter>
237        <outParameter-type>long</outParameter-type>
238        <outParameter-name>b</outParameter-name>
239       </outParameter>
240       <outParameter>
241        <outParameter-type>long</outParameter-type>
242        <outParameter-name>c</outParameter-name>
243       </outParameter>
244       <outParameter>
245        <outParameter-type>long</outParameter-type>
246        <outParameter-name>d</outParameter-name>
247       </outParameter>
248       <outParameter>
249        <outParameter-type>long</outParameter-type>
250        <outParameter-name>e</outParameter-name>
251       </outParameter>
252       <outParameter>
253        <outParameter-type>long</outParameter-type>
254        <outParameter-name>f</outParameter-name>
255       </outParameter>
256      </outParameter-list>
257     </service>
258     <DataStream-list/>
259     <PyFunction-list>
260      <PyFunction>
261       <FuncName>Switch</FuncName>
262       <PyFunc><![CDATA[from time import *    ]]></PyFunc>
263       <PyFunc><![CDATA[def Switch(Index) :    ]]></PyFunc>
264       <PyFunc><![CDATA[    sleep(1)   ]]></PyFunc>
265       <PyFunc><![CDATA[    SB1 = 0   ]]></PyFunc>
266       <PyFunc><![CDATA[    SB2 = 0   ]]></PyFunc>
267       <PyFunc><![CDATA[    if (Index & 3) == 3 :     ]]></PyFunc>
268       <PyFunc><![CDATA[        SB1 = 1   ]]></PyFunc>
269       <PyFunc><![CDATA[    elif (Index & 3) == 0 :     ]]></PyFunc>
270       <PyFunc><![CDATA[        SB2 = 1   ]]></PyFunc>
271       <PyFunc><![CDATA[    return SB1,SB2,Index,Index+1,Index+2,Index+3,Index+4,Index+5     ]]></PyFunc>
272      </PyFunction>
273     </PyFunction-list>
274     <creation-date>25/8/2005 - 12:41:10</creation-date>
275     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
276     <editor-release>2.0</editor-release>
277     <author>?</author>
278     <container>?</container>
279     <comment>Compute Node</comment>
280     <x-position>232</x-position>
281     <y-position>285</y-position>
282    </node>
283    <node>
284     <component-name>?</component-name>
285     <interface-name>?</interface-name>
286     <node-name>EndSwitch</node-name>
287     <kind>7</kind>
288     <coupled-node>Switch</coupled-node>
289     <service>
290      <service-name>EndSwitch</service-name>
291      <inParameter-list>
292       <inParameter>
293        <inParameter-type>long</inParameter-type>
294        <inParameter-name>a</inParameter-name>
295       </inParameter>
296       <inParameter>
297        <inParameter-type>long</inParameter-type>
298        <inParameter-name>b</inParameter-name>
299       </inParameter>
300       <inParameter>
301        <inParameter-type>long</inParameter-type>
302        <inParameter-name>dd</inParameter-name>
303       </inParameter>
304       <inParameter>
305        <inParameter-type>long</inParameter-type>
306        <inParameter-name>e</inParameter-name>
307       </inParameter>
308       <inParameter>
309        <inParameter-type>long</inParameter-type>
310        <inParameter-name>f</inParameter-name>
311       </inParameter>
312      </inParameter-list>
313      <outParameter-list>
314       <outParameter>
315        <outParameter-type>long</outParameter-type>
316        <outParameter-name>Index</outParameter-name>
317       </outParameter>
318      </outParameter-list>
319     </service>
320     <DataStream-list/>
321     <PyFunction-list>
322      <PyFunction>
323       <FuncName>EndSwitch</FuncName>
324       <PyFunc><![CDATA[from time import *   ]]></PyFunc>
325       <PyFunc><![CDATA[def EndSwitch(a,b,dd,e,f) :   ]]></PyFunc>
326       <PyFunc><![CDATA[    sleep(1)   ]]></PyFunc>
327       <PyFunc><![CDATA[    if b != (a+1) :  ]]></PyFunc>
328       <PyFunc><![CDATA[        print 'EndSwitch ERROR' ]]></PyFunc>
329       <PyFunc><![CDATA[        pass  ]]></PyFunc>
330       <PyFunc><![CDATA[    if dd != (a+3) :  ]]></PyFunc>
331       <PyFunc><![CDATA[        print 'EndSwitch ERROR' ]]></PyFunc>
332       <PyFunc><![CDATA[        pass  ]]></PyFunc>
333       <PyFunc><![CDATA[    if e != (a+4) :  ]]></PyFunc>
334       <PyFunc><![CDATA[        print 'EndSwitch ERROR' ]]></PyFunc>
335       <PyFunc><![CDATA[        pass  ]]></PyFunc>
336       <PyFunc><![CDATA[    if f != (a+5) :  ]]></PyFunc>
337       <PyFunc><![CDATA[        print 'EndSwitch ERROR' ]]></PyFunc>
338       <PyFunc><![CDATA[        pass  ]]></PyFunc>
339       <PyFunc><![CDATA[    return a    ]]></PyFunc>
340      </PyFunction>
341     </PyFunction-list>
342     <creation-date>25/8/2005 - 12:41:10</creation-date>
343     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
344     <editor-release>2.0</editor-release>
345     <author>?</author>
346     <container>?</container>
347     <comment>Compute Node</comment>
348     <x-position>732</x-position>
349     <y-position>344</y-position>
350    </node>
351    <node>
352     <component-name>?</component-name>
353     <interface-name>?</interface-name>
354     <node-name>Case1</node-name>
355     <kind>3</kind>
356     <coupled-node>?</coupled-node>
357     <service>
358      <service-name>Case1</service-name>
359      <inParameter-list>
360       <inParameter>
361        <inParameter-type>long</inParameter-type>
362        <inParameter-name>a</inParameter-name>
363       </inParameter>
364      </inParameter-list>
365      <outParameter-list>
366       <outParameter>
367        <outParameter-type>long</outParameter-type>
368        <outParameter-name>a</outParameter-name>
369       </outParameter>
370      </outParameter-list>
371     </service>
372     <DataStream-list/>
373     <PyFunction-list>
374      <PyFunction>
375       <FuncName>Case1</FuncName>
376       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
377       <PyFunc><![CDATA[def Case1(a) :  ]]></PyFunc>
378       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
379       <PyFunc><![CDATA[    return a ]]></PyFunc>
380      </PyFunction>
381     </PyFunction-list>
382     <creation-date>25/8/2005 - 12:41:10</creation-date>
383     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
384     <editor-release>2.0</editor-release>
385     <author>?</author>
386     <container>?</container>
387     <comment>Compute Node</comment>
388     <x-position>448</x-position>
389     <y-position>13</y-position>
390    </node>
391    <node>
392     <component-name>?</component-name>
393     <interface-name>?</interface-name>
394     <node-name>Case3</node-name>
395     <kind>3</kind>
396     <coupled-node>?</coupled-node>
397     <service>
398      <service-name>Case3</service-name>
399      <inParameter-list>
400       <inParameter>
401        <inParameter-type>long</inParameter-type>
402        <inParameter-name>b</inParameter-name>
403       </inParameter>
404      </inParameter-list>
405      <outParameter-list>
406       <outParameter>
407        <outParameter-type>long</outParameter-type>
408        <outParameter-name>b</outParameter-name>
409       </outParameter>
410      </outParameter-list>
411     </service>
412     <DataStream-list/>
413     <PyFunction-list>
414      <PyFunction>
415       <FuncName>Case3</FuncName>
416       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
417       <PyFunc><![CDATA[def Case3(b) :  ]]></PyFunc>
418       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
419       <PyFunc><![CDATA[    return b  ]]></PyFunc>
420      </PyFunction>
421     </PyFunction-list>
422     <creation-date>25/8/2005 - 12:41:10</creation-date>
423     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
424     <editor-release>2.0</editor-release>
425     <author>?</author>
426     <container>?</container>
427     <comment>Compute Node</comment>
428     <x-position>458</x-position>
429     <y-position>286</y-position>
430    </node>
431    <node>
432     <component-name>?</component-name>
433     <interface-name>?</interface-name>
434     <node-name>Case4</node-name>
435     <kind>3</kind>
436     <coupled-node>?</coupled-node>
437     <service>
438      <service-name>Case4</service-name>
439      <inParameter-list>
440       <inParameter>
441        <inParameter-type>long</inParameter-type>
442        <inParameter-name>c</inParameter-name>
443       </inParameter>
444      </inParameter-list>
445      <outParameter-list/>
446     </service>
447     <DataStream-list/>
448     <PyFunction-list>
449      <PyFunction>
450       <FuncName>Case4</FuncName>
451       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
452       <PyFunc><![CDATA[def Case4(c) :  ]]></PyFunc>
453       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
454       <PyFunc><![CDATA[    return   ]]></PyFunc>
455      </PyFunction>
456     </PyFunction-list>
457     <creation-date>25/8/2005 - 12:41:10</creation-date>
458     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
459     <editor-release>2.0</editor-release>
460     <author>?</author>
461     <container>?</container>
462     <comment>Compute Node</comment>
463     <x-position>459</x-position>
464     <y-position>493</y-position>
465    </node>
466    <node>
467     <component-name>?</component-name>
468     <interface-name>?</interface-name>
469     <node-name>Case2a</node-name>
470     <kind>3</kind>
471     <coupled-node>?</coupled-node>
472     <service>
473      <service-name>Case2a</service-name>
474      <inParameter-list>
475       <inParameter>
476        <inParameter-type>long</inParameter-type>
477        <inParameter-name>a</inParameter-name>
478       </inParameter>
479      </inParameter-list>
480      <outParameter-list>
481       <outParameter>
482        <outParameter-type>long</outParameter-type>
483        <outParameter-name>a</outParameter-name>
484       </outParameter>
485      </outParameter-list>
486     </service>
487     <DataStream-list/>
488     <PyFunction-list>
489      <PyFunction>
490       <FuncName>Case2a</FuncName>
491       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
492       <PyFunc><![CDATA[def Case2a(a) :  ]]></PyFunc>
493       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
494       <PyFunc><![CDATA[    return a  ]]></PyFunc>
495      </PyFunction>
496     </PyFunction-list>
497     <creation-date>25/8/2005 - 12:41:10</creation-date>
498     <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
499     <editor-release>2.0</editor-release>
500     <author>?</author>
501     <container>?</container>
502     <comment>Compute Node</comment>
503     <x-position>453</x-position>
504     <y-position>154</y-position>
505    </node>
506   </node-list>
507   <link-list>
508    <link>
509     <fromnode-name>Loop</fromnode-name>
510     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
511     <tonode-name>EndLoop</tonode-name>
512     <toserviceparameter-name>DoLoop</toserviceparameter-name>
513     <coord-list/>
514    </link>
515    <link>
516     <fromnode-name>Loop</fromnode-name>
517     <fromserviceparameter-name>Index</fromserviceparameter-name>
518     <tonode-name>Switch</tonode-name>
519     <toserviceparameter-name>Index</toserviceparameter-name>
520     <coord-list/>
521    </link>
522    <link>
523     <fromnode-name>Loop</fromnode-name>
524     <fromserviceparameter-name>Max</fromserviceparameter-name>
525     <tonode-name>EndLoop</tonode-name>
526     <toserviceparameter-name>Max</toserviceparameter-name>
527     <coord-list/>
528    </link>
529    <link>
530     <fromnode-name>Loop</fromnode-name>
531     <fromserviceparameter-name>Min</fromserviceparameter-name>
532     <tonode-name>EndLoop</tonode-name>
533     <toserviceparameter-name>Min</toserviceparameter-name>
534     <coord-list/>
535    </link>
536    <link>
537     <fromnode-name>EndLoop</fromnode-name>
538     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
539     <tonode-name>Loop</tonode-name>
540     <toserviceparameter-name>DoLoop</toserviceparameter-name>
541     <coord-list/>
542    </link>
543    <link>
544     <fromnode-name>Switch</fromnode-name>
545     <fromserviceparameter-name>SB1</fromserviceparameter-name>
546     <tonode-name>Case1</tonode-name>
547     <toserviceparameter-name>Gate</toserviceparameter-name>
548     <coord-list/>
549    </link>
550    <link>
551     <fromnode-name>Switch</fromnode-name>
552     <fromserviceparameter-name>SB2</fromserviceparameter-name>
553     <tonode-name>Case2a</tonode-name>
554     <toserviceparameter-name>Gate</toserviceparameter-name>
555     <coord-list/>
556    </link>
557    <link>
558     <fromnode-name>Switch</fromnode-name>
559     <fromserviceparameter-name>a</fromserviceparameter-name>
560     <tonode-name>Case1</tonode-name>
561     <toserviceparameter-name>a</toserviceparameter-name>
562     <coord-list/>
563    </link>
564    <link>
565     <fromnode-name>Switch</fromnode-name>
566     <fromserviceparameter-name>a</fromserviceparameter-name>
567     <tonode-name>Case2a</tonode-name>
568     <toserviceparameter-name>a</toserviceparameter-name>
569     <coord-list/>
570    </link>
571    <link>
572     <fromnode-name>Switch</fromnode-name>
573     <fromserviceparameter-name>b</fromserviceparameter-name>
574     <tonode-name>Case3</tonode-name>
575     <toserviceparameter-name>b</toserviceparameter-name>
576     <coord-list/>
577    </link>
578    <link>
579     <fromnode-name>Switch</fromnode-name>
580     <fromserviceparameter-name>c</fromserviceparameter-name>
581     <tonode-name>Case4</tonode-name>
582     <toserviceparameter-name>c</toserviceparameter-name>
583     <coord-list/>
584    </link>
585    <link>
586     <fromnode-name>Switch</fromnode-name>
587     <fromserviceparameter-name>d</fromserviceparameter-name>
588     <tonode-name>EndSwitch</tonode-name>
589     <toserviceparameter-name>dd</toserviceparameter-name>
590     <coord-list/>
591    </link>
592    <link>
593     <fromnode-name>Switch</fromnode-name>
594     <fromserviceparameter-name>e</fromserviceparameter-name>
595     <tonode-name>EndSwitch</tonode-name>
596     <toserviceparameter-name>e</toserviceparameter-name>
597     <coord-list/>
598    </link>
599    <link>
600     <fromnode-name>Switch</fromnode-name>
601     <fromserviceparameter-name>Default</fromserviceparameter-name>
602     <tonode-name>EndSwitch</tonode-name>
603     <toserviceparameter-name>Default</toserviceparameter-name>
604     <coord-list/>
605    </link>
606    <link>
607     <fromnode-name>EndSwitch</fromnode-name>
608     <fromserviceparameter-name>Index</fromserviceparameter-name>
609     <tonode-name>EndLoop</tonode-name>
610     <toserviceparameter-name>Index</toserviceparameter-name>
611     <coord-list/>
612    </link>
613    <link>
614     <fromnode-name>Case1</fromnode-name>
615     <fromserviceparameter-name>a</fromserviceparameter-name>
616     <tonode-name>EndSwitch</tonode-name>
617     <toserviceparameter-name>a</toserviceparameter-name>
618     <coord-list/>
619    </link>
620    <link>
621     <fromnode-name>Case3</fromnode-name>
622     <fromserviceparameter-name>b</fromserviceparameter-name>
623     <tonode-name>EndSwitch</tonode-name>
624     <toserviceparameter-name>b</toserviceparameter-name>
625     <coord-list/>
626    </link>
627    <link>
628     <fromnode-name>Case4</fromnode-name>
629     <fromserviceparameter-name>Gate</fromserviceparameter-name>
630     <tonode-name>EndSwitch</tonode-name>
631     <toserviceparameter-name>Default</toserviceparameter-name>
632     <coord-list/>
633    </link>
634    <link>
635     <fromnode-name>Case2a</fromnode-name>
636     <fromserviceparameter-name>a</fromserviceparameter-name>
637     <tonode-name>EndSwitch</tonode-name>
638     <toserviceparameter-name>a</toserviceparameter-name>
639     <coord-list/>
640    </link>
641   </link-list>
642   <data-list>
643    <data>
644     <fromnode-name>GraphSwitchManyCases</fromnode-name>
645     <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
646     <tonode-name>Loop</tonode-name>
647     <toserviceparameter-name>Index</toserviceparameter-name>
648     <data-value>
649      <value-type>3</value-type>
650      <value>0</value>
651     </data-value>
652     <coord-list/>
653    </data>
654    <data>
655     <fromnode-name>GraphSwitchManyCases</fromnode-name>
656     <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
657     <tonode-name>Loop</tonode-name>
658     <toserviceparameter-name>Max</toserviceparameter-name>
659     <data-value>
660      <value-type>3</value-type>
661      <value>23</value>
662     </data-value>
663     <coord-list/>
664    </data>
665    <data>
666     <fromnode-name>GraphSwitchManyCases</fromnode-name>
667     <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
668     <tonode-name>Loop</tonode-name>
669     <toserviceparameter-name>Min</toserviceparameter-name>
670     <data-value>
671      <value-type>3</value-type>
672      <value>-7</value>
673     </data-value>
674     <coord-list/>
675    </data>
676   </data-list>
677  </dataflow>
678 </supergraph>
679