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