3 Copyright (C) 2006-2008 CEA/DEN, EDF R&D
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 <type name="Bool" kind="bool"/>
24 <type name="Double" kind="double"/>
25 <type name="Int" kind="int"/>
26 <type name="String" kind="string"/>
27 <objref name="file" id="file"/>
28 <inline name="PyScript0">
29 <script><code><![CDATA[b=2.5*a
31 <inport name="a" type="Double"/>
32 <outport name="b" type="Double"/>
34 <datanode name="PresetNode0">
35 <parameter name="a" type="Double">
36 <value><double>-2.45</double></value> </parameter>
38 <outnode name="OutNode0" ref="toto.xml">
39 <parameter name="a" type="Double"/>
41 <control> <fromnode>PyScript0</fromnode> <tonode>OutNode0</tonode> </control>
42 <control> <fromnode>PresetNode0</fromnode> <tonode>PyScript0</tonode> </control>
43 <datalink control="false">
44 <fromnode>PyScript0</fromnode> <fromport>b</fromport>
45 <tonode>OutNode0</tonode> <toport>a</toport>
47 <datalink control="false">
48 <fromnode>PresetNode0</fromnode> <fromport>a</fromport>
49 <tonode>PyScript0</tonode> <toport>a</toport>
52 <tonode>PyScript0</tonode><toport>a</toport>
53 <value><double>0</double></value>
55 <canvas width="1476" height="950" left="0" top="0" xscale="1" yscale="1"/>
56 <presentation name="PresetNode0" x="47" y="154" z="2" width="266" height="128"/>
57 <presentation name="PyScript0" x="395" y="154" z="2" width="266" height="128"/>
58 <presentation name="OutNode0" x="743" y="154" z="2" width="266" height="128"/>
59 <prslink fromnode="PresetNode0" fromport="a" tonode="PyScript0" toport="a">
61 <prslink fromnode="PyScript0" fromport="b" tonode="OutNode0" toport="a">