]> SALOME platform Git repositories - modules/superv.git/blob - examples/GraphInLines.xml
Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / examples / GraphInLines.xml
1 <!DOCTYPE Dataflow>
2 <dataflow>
3 <info-list>
4 <node>
5 <component-name>?</component-name>
6    <interface-name>?</interface-name>
7    <node-name>GraphInLines</node-name>
8    <kind>1</kind>
9    <coupled-node>?</coupled-node>
10    <service>
11 <service-name>GraphInLines</service-name>
12     <inParameter-list>
13 <inParameter>
14 <inParameter-type>long</inParameter-type>
15       <inParameter-name>Add\a</inParameter-name>     </inParameter>
16      <inParameter>
17 <inParameter-type>long</inParameter-type>
18       <inParameter-name>Sub\a</inParameter-name>     </inParameter>
19      <inParameter>
20 <inParameter-type>long</inParameter-type>
21       <inParameter-name>Sub\b</inParameter-name>     </inParameter>    </inParameter-list>
22     <outParameter-list>
23 <outParameter>
24 <outParameter-type>long</outParameter-type>
25       <outParameter-name>Mul\Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
26    <Parameter-list/>
27    <PyFunction-list/>
28    <creation-date>24/3/2003 - 10:58:41</creation-date>
29    <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
30    <editor-release>1.04</editor-release>
31    <author>?</author>
32    <container>?</container>
33    <comment>?</comment>
34    <x-position>0</x-position>
35    <y-position>0</y-position>  </node> </info-list>
36  <node-list>
37 <node>
38 <component-name>?</component-name>
39    <interface-name>?</interface-name>
40    <node-name>Add</node-name>
41    <kind>3</kind>
42    <coupled-node>?</coupled-node>
43    <service>
44 <service-name>Add</service-name>
45     <inParameter-list>
46 <inParameter>
47 <inParameter-type>long</inParameter-type>
48       <inParameter-name>a</inParameter-name>     </inParameter>
49      <inParameter>
50 <inParameter-type>long</inParameter-type>
51       <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
52     <outParameter-list>
53 <outParameter>
54 <outParameter-type>long</outParameter-type>
55       <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
56    <Parameter-list/>
57    <PyFunction-list>
58 <PyFunction>
59 <FuncName>Add</FuncName>
60      <PyFunc><![CDATA[def Add(a,b) :  ]]></PyFunc>
61      <PyFunc><![CDATA[    return a+b  ]]></PyFunc>
62      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
63    <creation-date>18/9/2003 - 17:30:7</creation-date>
64    <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
65    <editor-release>1.04</editor-release>
66    <author>?</author>
67    <container>?</container>
68    <comment>Python function</comment>
69    <x-position>351</x-position>
70    <y-position>77</y-position>  </node>
71   <node>
72 <component-name>?</component-name>
73    <interface-name>?</interface-name>
74    <node-name>Sub</node-name>
75    <kind>3</kind>
76    <coupled-node>?</coupled-node>
77    <service>
78 <service-name>Sub</service-name>
79     <inParameter-list>
80 <inParameter>
81 <inParameter-type>long</inParameter-type>
82       <inParameter-name>a</inParameter-name>     </inParameter>
83      <inParameter>
84 <inParameter-type>long</inParameter-type>
85       <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
86     <outParameter-list>
87 <outParameter>
88 <outParameter-type>long</outParameter-type>
89       <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
90    <Parameter-list/>
91    <PyFunction-list>
92 <PyFunction>
93 <FuncName>Sub</FuncName>
94      <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
95      <PyFunc><![CDATA[    return a-b ]]></PyFunc>
96      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
97    <creation-date>18/9/2003 - 17:30:7</creation-date>
98    <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
99    <editor-release>1.04</editor-release>
100    <author>?</author>
101    <container>?</container>
102    <comment>Python function</comment>
103    <x-position>86</x-position>
104    <y-position>333</y-position>  </node>
105   <node>
106 <component-name>?</component-name>
107    <interface-name>?</interface-name>
108    <node-name>Mul</node-name>
109    <kind>3</kind>
110    <coupled-node>?</coupled-node>
111    <service>
112 <service-name>Mul</service-name>
113     <inParameter-list>
114 <inParameter>
115 <inParameter-type>long</inParameter-type>
116       <inParameter-name>a</inParameter-name>     </inParameter>
117      <inParameter>
118 <inParameter-type>long</inParameter-type>
119       <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
120     <outParameter-list>
121 <outParameter>
122 <outParameter-type>long</outParameter-type>
123       <outParameter-name>Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
124    <Parameter-list/>
125    <PyFunction-list>
126 <PyFunction>
127 <FuncName>Mul</FuncName>
128      <PyFunc><![CDATA[def Mul(a,b) : ]]></PyFunc>
129      <PyFunc><![CDATA[    return a*b ]]></PyFunc>    </PyFunction>   </PyFunction-list>
130    <creation-date>18/9/2003 - 17:30:7</creation-date>
131    <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
132    <editor-release>1.04</editor-release>
133    <author>?</author>
134    <container>?</container>
135    <comment>Python function</comment>
136    <x-position>616</x-position>
137    <y-position>247</y-position>  </node> </node-list>
138  <link-list>
139 <link>
140 <fromnode-name>Add</fromnode-name>
141    <fromserviceparameter-name>f</fromserviceparameter-name>
142    <tonode-name>Mul</tonode-name>
143    <toserviceparameter-name>a</toserviceparameter-name>
144    <coord-list>
145 <coord>
146 <x>569</x>
147      <y>326</y>    </coord>
148     <coord>
149 <x>569</x>
150      <y>158</y>    </coord>   </coord-list>  </link>
151   <link>
152 <fromnode-name>Sub</fromnode-name>
153    <fromserviceparameter-name>f</fromserviceparameter-name>
154    <tonode-name>Mul</tonode-name>
155    <toserviceparameter-name>b</toserviceparameter-name>
156    <coord-list>
157 <coord>
158 <x>283</x>
159      <y>358</y>    </coord>
160     <coord>
161 <x>281</x>
162      <y>413</y>    </coord>   </coord-list>  </link>
163   <link>
164 <fromnode-name>Sub</fromnode-name>
165    <fromserviceparameter-name>f</fromserviceparameter-name>
166    <tonode-name>Add</tonode-name>
167    <toserviceparameter-name>b</toserviceparameter-name>
168    <coord-list>
169 <coord>
170 <x>283</x>
171      <y>187</y>    </coord>
172     <coord>
173 <x>282</x>
174      <y>356</y>    </coord>
175     <coord>
176 <x>281</x>
177      <y>414</y>    </coord>   </coord-list>  </link> </link-list>
178  <data-list>
179 <data>
180 <fromnode-name>GraphInLines</fromnode-name>
181    <fromserviceparameter-name>Add\a</fromserviceparameter-name>
182    <tonode-name>Add</tonode-name>
183    <toserviceparameter-name>a</toserviceparameter-name>
184    <data-value>
185 <value-type>3</value-type>
186     <value>1</value>   </data-value>
187    <coord-list/>  </data>
188   <data>
189 <fromnode-name>GraphInLines</fromnode-name>
190    <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
191    <tonode-name>Sub</tonode-name>
192    <toserviceparameter-name>a</toserviceparameter-name>
193    <data-value>
194 <value-type>3</value-type>
195     <value>3</value>   </data-value>
196    <coord-list/>  </data>
197   <data>
198 <fromnode-name>GraphInLines</fromnode-name>
199    <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
200    <tonode-name>Sub</tonode-name>
201    <toserviceparameter-name>b</toserviceparameter-name>
202    <data-value>
203 <value-type>3</value-type>
204     <value>4</value>   </data-value>
205    <coord-list/>  </data> </data-list></dataflow>