]> SALOME platform Git repositories - modules/superv.git/blob - examples/TestSupervMedfieldLoopForiVisu.xml
Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / examples / TestSupervMedfieldLoopForiVisu.xml
1 <!DOCTYPE Dataflow>
2 <dataflow>
3 <info-list>
4 <node>
5 <component-name>?</component-name>
6    <interface-name>?</interface-name>
7    <node-name>LoopGraph</node-name>
8    <kind>1</kind>
9    <coupled-node>?</coupled-node>
10    <service>
11 <service-name>LoopGraph</service-name>
12     <inParameter-list>
13 <inParameter>
14 <inParameter-type>long</inParameter-type>
15       <inParameter-name>Init\index</inParameter-name>     </inParameter>
16      <inParameter>
17 <inParameter-type>long</inParameter-type>
18       <inParameter-name>Init\min</inParameter-name>     </inParameter>
19      <inParameter>
20 <inParameter-type>long</inParameter-type>
21       <inParameter-name>Init\max</inParameter-name>     </inParameter>
22      <inParameter>
23 <inParameter-type>objref</inParameter-type>
24       <inParameter-name>Init\medfield</inParameter-name>     </inParameter>
25      <inParameter>
26 <inParameter-type>double</inParameter-type>
27       <inParameter-name>Init\x1</inParameter-name>     </inParameter>    </inParameter-list>
28     <outParameter-list>
29 <outParameter>
30 <outParameter-type>long</outParameter-type>
31       <outParameter-name>EndInit\index</outParameter-name>     </outParameter>
32      <outParameter>
33 <outParameter-type>long</outParameter-type>
34       <outParameter-name>EndInit\min</outParameter-name>     </outParameter>
35      <outParameter>
36 <outParameter-type>long</outParameter-type>
37       <outParameter-name>EndInit\max</outParameter-name>     </outParameter>
38      <outParameter>
39 <outParameter-type>objref</outParameter-type>
40       <outParameter-name>EndInit\medfield</outParameter-name>     </outParameter>
41      <outParameter>
42 <outParameter-type>double</outParameter-type>
43       <outParameter-name>EndInit\x1</outParameter-name>     </outParameter>
44      <outParameter>
45 <outParameter-type>objref</outParameter-type>
46       <outParameter-name>EndInit\aVisu</outParameter-name>     </outParameter>
47      <outParameter>
48 <outParameter-type>objref</outParameter-type>
49       <outParameter-name>EndInit\aView</outParameter-name>     </outParameter>    </outParameter-list>   </service>
50    <Parameter-list/>
51    <PyFunction-list/>
52    <creation-date>20/6/2003 - 15:13:42</creation-date>
53    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
54    <editor-release>1.04</editor-release>
55    <author>?</author>
56    <container>?</container>
57    <comment>?</comment>
58    <x-position>0</x-position>
59    <y-position>0</y-position>  </node> </info-list>
60  <node-list>
61 <node>
62 <component-name>?</component-name>
63    <interface-name>?</interface-name>
64    <node-name>InitDisplay</node-name>
65    <kind>3</kind>
66    <coupled-node>?</coupled-node>
67    <service>
68 <service-name>InitDisplay</service-name>
69     <inParameter-list/>
70     <outParameter-list>
71 <outParameter>
72 <outParameter-type>objref</outParameter-type>
73       <outParameter-name>aVisu</outParameter-name>     </outParameter>
74      <outParameter>
75 <outParameter-type>objref</outParameter-type>
76       <outParameter-name>aView</outParameter-name>     </outParameter>    </outParameter-list>   </service>
77    <Parameter-list/>
78    <PyFunction-list>
79 <PyFunction>
80 <FuncName>InitDisplay</FuncName>
81      <PyFunc><![CDATA[from LifeCycleCORBA import *  ]]></PyFunc>
82      <PyFunc><![CDATA[from VISU import *  ]]></PyFunc>
83      <PyFunc><![CDATA[def InitDisplay():  ]]></PyFunc>
84      <PyFunc><![CDATA[    # initialize the ORB    ]]></PyFunc>
85      <PyFunc><![CDATA[    orb = CORBA.ORB_init([], CORBA.ORB_ID)  ]]></PyFunc>
86      <PyFunc><![CDATA[    # create an LifeCycleCORBA instance       ]]></PyFunc>
87      <PyFunc><![CDATA[    lcc = LifeCycleCORBA(orb)                 ]]></PyFunc>
88      <PyFunc><![CDATA[    # -----------------------------------------   ]]></PyFunc>
89      <PyFunc><![CDATA[    # loading visu component                      ]]></PyFunc>
90      <PyFunc><![CDATA[    aVisu = lcc.FindOrLoadComponent("FactoryServer","Visu")   ]]></PyFunc>
91      <PyFunc><![CDATA[    print "InitDisplay --> aVisu        = ",aVisu   ]]></PyFunc>
92      <PyFunc><![CDATA[    aViewManager = aVisu.GetViewManager()          ]]></PyFunc>
93      <PyFunc><![CDATA[    print "InitDisplay --> aViewManager = ",aViewManager   ]]></PyFunc>
94      <PyFunc><![CDATA[    # aView = aViewManager.GetCurrentView()       ]]></PyFunc>
95      <PyFunc><![CDATA[    aView = aViewManager.Create3DView()            ]]></PyFunc>
96      <PyFunc><![CDATA[    print "InitDisplay --> aView        = ",aView   ]]></PyFunc>
97      <PyFunc><![CDATA[    return aVisu,aView  ]]></PyFunc>    </PyFunction>   </PyFunction-list>
98    <creation-date>19/9/2003 - 16:10:16</creation-date>
99    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
100    <editor-release>1.04</editor-release>
101    <author>?</author>
102    <container>?</container>
103    <comment>Compute Node</comment>
104    <x-position>0</x-position>
105    <y-position>163</y-position>  </node>
106   <node>
107 <component-name>?</component-name>
108    <interface-name>?</interface-name>
109    <node-name>Init</node-name>
110    <kind>4</kind>
111    <coupled-node>EndInit</coupled-node>
112    <service>
113 <service-name>Init</service-name>
114     <inParameter-list>
115 <inParameter>
116 <inParameter-type>long</inParameter-type>
117       <inParameter-name>index</inParameter-name>     </inParameter>
118      <inParameter>
119 <inParameter-type>long</inParameter-type>
120       <inParameter-name>min</inParameter-name>     </inParameter>
121      <inParameter>
122 <inParameter-type>long</inParameter-type>
123       <inParameter-name>max</inParameter-name>     </inParameter>
124      <inParameter>
125 <inParameter-type>objref</inParameter-type>
126       <inParameter-name>medfield</inParameter-name>     </inParameter>
127      <inParameter>
128 <inParameter-type>double</inParameter-type>
129       <inParameter-name>x1</inParameter-name>     </inParameter>
130      <inParameter>
131 <inParameter-type>objref</inParameter-type>
132       <inParameter-name>aVisu</inParameter-name>     </inParameter>
133      <inParameter>
134 <inParameter-type>objref</inParameter-type>
135       <inParameter-name>aView</inParameter-name>     </inParameter>    </inParameter-list>
136     <outParameter-list>
137 <outParameter>
138 <outParameter-type>long</outParameter-type>
139       <outParameter-name>index</outParameter-name>     </outParameter>
140      <outParameter>
141 <outParameter-type>long</outParameter-type>
142       <outParameter-name>min</outParameter-name>     </outParameter>
143      <outParameter>
144 <outParameter-type>long</outParameter-type>
145       <outParameter-name>max</outParameter-name>     </outParameter>
146      <outParameter>
147 <outParameter-type>objref</outParameter-type>
148       <outParameter-name>medfield</outParameter-name>     </outParameter>
149      <outParameter>
150 <outParameter-type>double</outParameter-type>
151       <outParameter-name>x1</outParameter-name>     </outParameter>
152      <outParameter>
153 <outParameter-type>objref</outParameter-type>
154       <outParameter-name>aVisu</outParameter-name>     </outParameter>
155      <outParameter>
156 <outParameter-type>objref</outParameter-type>
157       <outParameter-name>aView</outParameter-name>     </outParameter>    </outParameter-list>   </service>
158    <Parameter-list/>
159    <PyFunction-list>
160 <PyFunction>
161 <FuncName>Init</FuncName>
162      <PyFunc><![CDATA[def Init(index,min,max,medfield,x1,aVisu,aView):  ]]></PyFunc>
163      <PyFunc><![CDATA[    if max >= min :  ]]></PyFunc>
164      <PyFunc><![CDATA[         index = min  ]]></PyFunc>
165      <PyFunc><![CDATA[    else : ]]></PyFunc>
166      <PyFunc><![CDATA[        index = max  ]]></PyFunc>
167      <PyFunc><![CDATA[    print "Init --> index      = ",index   ]]></PyFunc>
168      <PyFunc><![CDATA[    print "         min        = ",min   ]]></PyFunc>
169      <PyFunc><![CDATA[    print "         max        = ",max   ]]></PyFunc>
170      <PyFunc><![CDATA[    print "         medfield   = ",medfield   ]]></PyFunc>
171      <PyFunc><![CDATA[    return index,min,max,medfield,x1,aVisu,aView  ]]></PyFunc>    </PyFunction>
172     <PyFunction>
173 <FuncName>More</FuncName>
174      <PyFunc><![CDATA[def More(index,min,max,medfield,x1,aVisu,aView):  ]]></PyFunc>
175      <PyFunc><![CDATA[    if max >= index :   ]]></PyFunc>
176      <PyFunc><![CDATA[        DoLoop = 1   ]]></PyFunc>
177      <PyFunc><![CDATA[    else :   ]]></PyFunc>
178      <PyFunc><![CDATA[        DoLoop = 0   ]]></PyFunc>
179      <PyFunc><![CDATA[    print "More --> DoLoop      = ",DoLoop   ]]></PyFunc>
180      <PyFunc><![CDATA[    print "         index       = ",index   ]]></PyFunc>
181      <PyFunc><![CDATA[    print "         min         = ",min   ]]></PyFunc>
182      <PyFunc><![CDATA[    print "         max         = ",max   ]]></PyFunc>
183      <PyFunc><![CDATA[    print "         medfield    = ",medfield   ]]></PyFunc>
184      <PyFunc><![CDATA[    return DoLoop,index,min,max,medfield,x1,aVisu,aView  ]]></PyFunc>    </PyFunction>
185     <PyFunction>
186 <FuncName>Next</FuncName>
187      <PyFunc><![CDATA[def Next(index,min,max,medfield,x1,aVisu,aView):  ]]></PyFunc>
188      <PyFunc><![CDATA[    index = index + 1  ]]></PyFunc>
189      <PyFunc><![CDATA[    print "Next --> index      = ",index   ]]></PyFunc>
190      <PyFunc><![CDATA[    print "         min        = ",min   ]]></PyFunc>
191      <PyFunc><![CDATA[    print "         max        = ",max   ]]></PyFunc>
192      <PyFunc><![CDATA[    print "         medfield   = ",medfield   ]]></PyFunc>
193      <PyFunc><![CDATA[    return index,min,max,medfield,x1,aVisu,aView  ]]></PyFunc>    </PyFunction>   </PyFunction-list>
194    <creation-date>19/9/2003 - 16:10:16</creation-date>
195    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
196    <editor-release>1.04</editor-release>
197    <author>LD</author>
198    <container>?</container>
199    <comment>no comment</comment>
200    <x-position>205</x-position>
201    <y-position>63</y-position>  </node>
202   <node>
203 <component-name>?</component-name>
204    <interface-name>?</interface-name>
205    <node-name>EndInit</node-name>
206    <kind>5</kind>
207    <coupled-node>Init</coupled-node>
208    <service>
209 <service-name>EndInit</service-name>
210     <inParameter-list>
211 <inParameter>
212 <inParameter-type>long</inParameter-type>
213       <inParameter-name>index</inParameter-name>     </inParameter>
214      <inParameter>
215 <inParameter-type>long</inParameter-type>
216       <inParameter-name>min</inParameter-name>     </inParameter>
217      <inParameter>
218 <inParameter-type>long</inParameter-type>
219       <inParameter-name>max</inParameter-name>     </inParameter>
220      <inParameter>
221 <inParameter-type>objref</inParameter-type>
222       <inParameter-name>medfield</inParameter-name>     </inParameter>
223      <inParameter>
224 <inParameter-type>double</inParameter-type>
225       <inParameter-name>x1</inParameter-name>     </inParameter>
226      <inParameter>
227 <inParameter-type>objref</inParameter-type>
228       <inParameter-name>aVisu</inParameter-name>     </inParameter>
229      <inParameter>
230 <inParameter-type>objref</inParameter-type>
231       <inParameter-name>aView</inParameter-name>     </inParameter>    </inParameter-list>
232     <outParameter-list>
233 <outParameter>
234 <outParameter-type>long</outParameter-type>
235       <outParameter-name>index</outParameter-name>     </outParameter>
236      <outParameter>
237 <outParameter-type>long</outParameter-type>
238       <outParameter-name>min</outParameter-name>     </outParameter>
239      <outParameter>
240 <outParameter-type>long</outParameter-type>
241       <outParameter-name>max</outParameter-name>     </outParameter>
242      <outParameter>
243 <outParameter-type>objref</outParameter-type>
244       <outParameter-name>medfield</outParameter-name>     </outParameter>
245      <outParameter>
246 <outParameter-type>double</outParameter-type>
247       <outParameter-name>x1</outParameter-name>     </outParameter>
248      <outParameter>
249 <outParameter-type>objref</outParameter-type>
250       <outParameter-name>aVisu</outParameter-name>     </outParameter>
251      <outParameter>
252 <outParameter-type>objref</outParameter-type>
253       <outParameter-name>aView</outParameter-name>     </outParameter>    </outParameter-list>   </service>
254    <Parameter-list/>
255    <PyFunction-list>
256 <PyFunction/>   </PyFunction-list>
257    <creation-date>19/9/2003 - 16:10:16</creation-date>
258    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
259    <editor-release>1.04</editor-release>
260    <author>LD</author>
261    <container>?</container>
262    <comment>no comment</comment>
263    <x-position>776</x-position>
264    <y-position>64</y-position>  </node>
265   <node>
266 <component-name>Calculator</component-name>
267    <interface-name>Calculator</interface-name>
268    <node-name>Mul</node-name>
269    <kind>0</kind>
270    <coupled-node>?</coupled-node>
271    <service>
272 <service-name>Mul</service-name>
273     <inParameter-list>
274 <inParameter>
275 <inParameter-type>objref</inParameter-type>
276       <inParameter-name>field1</inParameter-name>     </inParameter>
277      <inParameter>
278 <inParameter-type>double</inParameter-type>
279       <inParameter-name>x1</inParameter-name>     </inParameter>    </inParameter-list>
280     <outParameter-list>
281 <outParameter>
282 <outParameter-type>objref</outParameter-type>
283       <outParameter-name>return</outParameter-name>     </outParameter>    </outParameter-list>   </service>
284    <Parameter-list/>
285    <PyFunction-list/>
286    <creation-date>19/9/2003 - 16:10:16</creation-date>
287    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
288    <editor-release>1.04</editor-release>
289    <author>LD</author>
290    <container>localhost/FactoryServer</container>
291    <comment>Multiply a field by a constant</comment>
292    <x-position>387</x-position>
293    <y-position>104</y-position>  </node>
294   <node>
295 <component-name>?</component-name>
296    <interface-name>?</interface-name>
297    <node-name>DisplayMed</node-name>
298    <kind>3</kind>
299    <coupled-node>?</coupled-node>
300    <service>
301 <service-name>DisplayMed</service-name>
302     <inParameter-list>
303 <inParameter>
304 <inParameter-type>objref</inParameter-type>
305       <inParameter-name>INmedfield</inParameter-name>     </inParameter>
306      <inParameter>
307 <inParameter-type>long</inParameter-type>
308       <inParameter-name>index</inParameter-name>     </inParameter>
309      <inParameter>
310 <inParameter-type>objref</inParameter-type>
311       <inParameter-name>aVisu</inParameter-name>     </inParameter>
312      <inParameter>
313 <inParameter-type>objref</inParameter-type>
314       <inParameter-name>aView</inParameter-name>     </inParameter>    </inParameter-list>
315     <outParameter-list>
316 <outParameter>
317 <outParameter-type>objref</outParameter-type>
318       <outParameter-name>OUTmedfield</outParameter-name>     </outParameter>    </outParameter-list>   </service>
319    <Parameter-list/>
320    <PyFunction-list>
321 <PyFunction>
322 <FuncName>DisplayMed</FuncName>
323      <PyFunc><![CDATA[import os  ]]></PyFunc>
324      <PyFunc><![CDATA[import SALOME_MED  ]]></PyFunc>
325      <PyFunc><![CDATA[from VISU import *  ]]></PyFunc>
326      <PyFunc><![CDATA[from LifeCycleCORBA import *  ]]></PyFunc>
327      <PyFunc><![CDATA[def DisplayMed(medfield,index,aVisu,aView):     ]]></PyFunc>
328      <PyFunc><![CDATA[    # initialize the ORB                    ]]></PyFunc>
329      <PyFunc><![CDATA[    orb = CORBA.ORB_init([''], CORBA.ORB_ID)                          ]]></PyFunc>
330      <PyFunc><![CDATA[    # create an LifeCycleCORBA instance                   ]]></PyFunc>
331      <PyFunc><![CDATA[    lcc = LifeCycleCORBA(orb)                   ]]></PyFunc>
332      <PyFunc><![CDATA[    print " "  ]]></PyFunc>
333      <PyFunc><![CDATA[    print "***************************************************************"  ]]></PyFunc>
334      <PyFunc><![CDATA[    calc = lcc.FindOrLoadComponent("FactoryServer", "Calculator")   ]]></PyFunc>
335      <PyFunc><![CDATA[    print "-----> calc  = ",calc  ]]></PyFunc>
336      <PyFunc><![CDATA[    medfilename = "/tmp/LoopGraphFile" + str(index) + ".med"  ]]></PyFunc>
337      <PyFunc><![CDATA[    print "-----> Writing Med field in temporary file : ",medfilename  ]]></PyFunc>
338      <PyFunc><![CDATA[    calc.writeMEDfile(medfield,medfilename)  ]]></PyFunc>
339      <PyFunc><![CDATA[    print "-----> calc  = ",calc  ]]></PyFunc>
340      <PyFunc><![CDATA[    print "***************************************************************"  ]]></PyFunc>
341      <PyFunc><![CDATA[    myResult1   = aVisu.ImportFile(medfilename)  ]]></PyFunc>
342      <PyFunc><![CDATA[    print "-----> myResult1 = ",myResult1  ]]></PyFunc>
343      <PyFunc><![CDATA[    field_name = medfield.getName()  ]]></PyFunc>
344      <PyFunc><![CDATA[    print "-----> field_name = ",field_name  ]]></PyFunc>
345      <PyFunc><![CDATA[    mesh_name = medfield.getSupport().getMesh().getName()  ]]></PyFunc>
346      <PyFunc><![CDATA[    print "-----> mesh_name = ",mesh_name  ]]></PyFunc>
347      <PyFunc><![CDATA[    aMesh1      = aVisu.MeshOnEntity(myResult1,mesh_name,CELL)  ]]></PyFunc>
348      <PyFunc><![CDATA[    print "-----> aMesh1 = ",aMesh1  ]]></PyFunc>
349      <PyFunc><![CDATA[    aScalarMap1 = aVisu.ScalarMapOnField(myResult1,mesh_name,NODE,field_name,1)  ]]></PyFunc>
350      <PyFunc><![CDATA[    print "-----> aScalarMap1 = ",aScalarMap1  ]]></PyFunc>
351      <PyFunc><![CDATA[    aView.DisplayOnly(aScalarMap1)  ]]></PyFunc>
352      <PyFunc><![CDATA[    aView.FitAll()  ]]></PyFunc>
353      <PyFunc><![CDATA[    command = "rm " + medfilename  ]]></PyFunc>
354      <PyFunc><![CDATA[    os.system(command)  ]]></PyFunc>
355      <PyFunc><![CDATA[    print "-----> Delete temporary Med file : ",medfilename  ]]></PyFunc>
356      <PyFunc><![CDATA[    print "***************************************************************"  ]]></PyFunc>
357      <PyFunc><![CDATA[    print " "  ]]></PyFunc>
358      <PyFunc><![CDATA[    return medfield ]]></PyFunc>    </PyFunction>   </PyFunction-list>
359    <creation-date>19/9/2003 - 16:10:16</creation-date>
360    <lastmodification-date>19/9/2003 - 16:10:16</lastmodification-date>
361    <editor-release>1.04</editor-release>
362    <author>?</author>
363    <container>?</container>
364    <comment>Compute Node</comment>
365    <x-position>594</x-position>
366    <y-position>105</y-position>  </node> </node-list>
367  <link-list>
368 <link>
369 <fromnode-name>InitDisplay</fromnode-name>
370    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
371    <tonode-name>Init</tonode-name>
372    <toserviceparameter-name>aVisu</toserviceparameter-name>
373    <coord-list/>  </link>
374   <link>
375 <fromnode-name>InitDisplay</fromnode-name>
376    <fromserviceparameter-name>aView</fromserviceparameter-name>
377    <tonode-name>Init</tonode-name>
378    <toserviceparameter-name>aView</toserviceparameter-name>
379    <coord-list/>  </link>
380   <link>
381 <fromnode-name>Init</fromnode-name>
382    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
383    <tonode-name>EndInit</tonode-name>
384    <toserviceparameter-name>DoLoop</toserviceparameter-name>
385    <coord-list/>  </link>
386   <link>
387 <fromnode-name>Init</fromnode-name>
388    <fromserviceparameter-name>index</fromserviceparameter-name>
389    <tonode-name>EndInit</tonode-name>
390    <toserviceparameter-name>index</toserviceparameter-name>
391    <coord-list/>  </link>
392   <link>
393 <fromnode-name>Init</fromnode-name>
394    <fromserviceparameter-name>index</fromserviceparameter-name>
395    <tonode-name>DisplayMed</tonode-name>
396    <toserviceparameter-name>index</toserviceparameter-name>
397    <coord-list>
398 <coord>
399 <x>566</x>
400      <y>215</y>    </coord>
401     <coord>
402 <x>566</x>
403      <y>96</y>    </coord>   </coord-list>  </link>
404   <link>
405 <fromnode-name>Init</fromnode-name>
406    <fromserviceparameter-name>min</fromserviceparameter-name>
407    <tonode-name>EndInit</tonode-name>
408    <toserviceparameter-name>min</toserviceparameter-name>
409    <coord-list/>  </link>
410   <link>
411 <fromnode-name>Init</fromnode-name>
412    <fromserviceparameter-name>max</fromserviceparameter-name>
413    <tonode-name>EndInit</tonode-name>
414    <toserviceparameter-name>max</toserviceparameter-name>
415    <coord-list/>  </link>
416   <link>
417 <fromnode-name>Init</fromnode-name>
418    <fromserviceparameter-name>medfield</fromserviceparameter-name>
419    <tonode-name>Mul</tonode-name>
420    <toserviceparameter-name>field1</toserviceparameter-name>
421    <coord-list/>  </link>
422   <link>
423 <fromnode-name>Init</fromnode-name>
424    <fromserviceparameter-name>x1</fromserviceparameter-name>
425    <tonode-name>EndInit</tonode-name>
426    <toserviceparameter-name>x1</toserviceparameter-name>
427    <coord-list/>  </link>
428   <link>
429 <fromnode-name>Init</fromnode-name>
430    <fromserviceparameter-name>x1</fromserviceparameter-name>
431    <tonode-name>Mul</tonode-name>
432    <toserviceparameter-name>x1</toserviceparameter-name>
433    <coord-list/>  </link>
434   <link>
435 <fromnode-name>Init</fromnode-name>
436    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
437    <tonode-name>EndInit</tonode-name>
438    <toserviceparameter-name>aVisu</toserviceparameter-name>
439    <coord-list/>  </link>
440   <link>
441 <fromnode-name>Init</fromnode-name>
442    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
443    <tonode-name>DisplayMed</tonode-name>
444    <toserviceparameter-name>aVisu</toserviceparameter-name>
445    <coord-list>
446 <coord>
447 <x>570</x>
448      <y>242</y>    </coord>
449     <coord>
450 <x>569</x>
451      <y>263</y>    </coord>
452     <coord>
453 <x>377</x>
454      <y>264</y>    </coord>
455     <coord>
456 <x>376</x>
457      <y>242</y>    </coord>   </coord-list>  </link>
458   <link>
459 <fromnode-name>Init</fromnode-name>
460    <fromserviceparameter-name>aView</fromserviceparameter-name>
461    <tonode-name>EndInit</tonode-name>
462    <toserviceparameter-name>aView</toserviceparameter-name>
463    <coord-list/>  </link>
464   <link>
465 <fromnode-name>Init</fromnode-name>
466    <fromserviceparameter-name>aView</fromserviceparameter-name>
467    <tonode-name>DisplayMed</tonode-name>
468    <toserviceparameter-name>aView</toserviceparameter-name>
469    <coord-list/>  </link>
470   <link>
471 <fromnode-name>EndInit</fromnode-name>
472    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
473    <tonode-name>Init</tonode-name>
474    <toserviceparameter-name>InitLoop</toserviceparameter-name>
475    <coord-list>
476 <coord>
477 <x>205</x>
478      <y>233</y>    </coord>
479     <coord>
480 <x>204</x>
481      <y>21</y>    </coord>
482     <coord>
483 <x>936</x>
484      <y>20</y>    </coord>
485     <coord>
486 <x>935</x>
487      <y>235</y>    </coord>   </coord-list>  </link>
488   <link>
489 <fromnode-name>Mul</fromnode-name>
490    <fromserviceparameter-name>return</fromserviceparameter-name>
491    <tonode-name>DisplayMed</tonode-name>
492    <toserviceparameter-name>INmedfield</toserviceparameter-name>
493    <coord-list/>  </link>
494   <link>
495 <fromnode-name>DisplayMed</fromnode-name>
496    <fromserviceparameter-name>OUTmedfield</fromserviceparameter-name>
497    <tonode-name>EndInit</tonode-name>
498    <toserviceparameter-name>medfield</toserviceparameter-name>
499    <coord-list/>  </link> </link-list>
500  <data-list>
501 <data>
502 <fromnode-name>LoopGraph</fromnode-name>
503    <fromserviceparameter-name>Init\index</fromserviceparameter-name>
504    <tonode-name>Init</tonode-name>
505    <toserviceparameter-name>index</toserviceparameter-name>
506    <data-value>
507 <value-type>3</value-type>
508     <value>0</value>   </data-value>
509    <coord-list/>  </data>
510   <data>
511 <fromnode-name>LoopGraph</fromnode-name>
512    <fromserviceparameter-name>Init\min</fromserviceparameter-name>
513    <tonode-name>Init</tonode-name>
514    <toserviceparameter-name>min</toserviceparameter-name>
515    <data-value>
516 <value-type>3</value-type>
517     <value>0</value>   </data-value>
518    <coord-list/>  </data>
519   <data>
520 <fromnode-name>LoopGraph</fromnode-name>
521    <fromserviceparameter-name>Init\max</fromserviceparameter-name>
522    <tonode-name>Init</tonode-name>
523    <toserviceparameter-name>max</toserviceparameter-name>
524    <data-value>
525 <value-type>3</value-type>
526     <value>4</value>   </data-value>
527    <coord-list/>  </data>
528   <data>
529 <fromnode-name>LoopGraph</fromnode-name>
530    <fromserviceparameter-name>Init\x1</fromserviceparameter-name>
531    <tonode-name>Init</tonode-name>
532    <toserviceparameter-name>x1</toserviceparameter-name>
533    <data-value>
534 <value-type>7</value-type>
535     <value>2</value>   </data-value>
536    <coord-list/>  </data> </data-list></dataflow>