]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
NRI : Add Dataflow examples.
authornri <nri@opencascade.com>
Tue, 20 May 2003 12:59:35 +0000 (12:59 +0000)
committernri <nri@opencascade.com>
Tue, 20 May 2003 12:59:35 +0000 (12:59 +0000)
54 files changed:
examples/GeomGraph.py [new file with mode: 0644]
examples/GeomGraph.xml [new file with mode: 0644]
examples/GraphEssai.py [new file with mode: 0644]
examples/GraphEssai.xml [new file with mode: 0755]
examples/GraphEssai1.py [new file with mode: 0755]
examples/GraphEssai1.xml [new file with mode: 0644]
examples/GraphEssai2.py [new file with mode: 0755]
examples/GraphEssai2.xml [new file with mode: 0644]
examples/GraphEssai3.py [new file with mode: 0644]
examples/GraphEssai3.xml [new file with mode: 0644]
examples/GraphExample.py [new file with mode: 0644]
examples/GraphFactorial.py [new file with mode: 0644]
examples/GraphFactorial.xml [new file with mode: 0644]
examples/GraphGOTO.py [new file with mode: 0644]
examples/GraphGOTO.xml [new file with mode: 0644]
examples/GraphGeomEssai.xml [new file with mode: 0644]
examples/GraphInLines.py [new file with mode: 0644]
examples/GraphInLines.xml [new file with mode: 0644]
examples/GraphLoop.py [new file with mode: 0644]
examples/GraphLoop.xml [new file with mode: 0644]
examples/GraphRunSyr.py [new file with mode: 0644]
examples/GraphSwitch.py [new file with mode: 0644]
examples/GraphSwitch.xml [new file with mode: 0644]
examples/GraphSyrControl.py [new file with mode: 0644]
examples/GraphSyrControl.xml [new file with mode: 0644]
examples/GraphSyrControlAve.py [new file with mode: 0644]
examples/GraphSyrControlAve.xml [new file with mode: 0644]
examples/GraphSyrControlDefault.py [new file with mode: 0644]
examples/GraphSyrControlDefault.xml [new file with mode: 0644]
examples/GraphSyrControlGUI.py [new file with mode: 0644]
examples/GraphSyrControlGUI.xml [new file with mode: 0644]
examples/GraphSyracuseC.py [new file with mode: 0644]
examples/GraphSyracuseC.xml [new file with mode: 0755]
examples/GraphSyracuseCEv.py [new file with mode: 0644]
examples/GraphSyracuseCEv.xml [new file with mode: 0755]
examples/GraphSyracuseC_Gate.py [new file with mode: 0644]
examples/GraphSyracuseC_Gate.xml [new file with mode: 0644]
examples/GraphSyracuseC_Void.py [new file with mode: 0644]
examples/GraphSyracuseControl.py [new file with mode: 0644]
examples/GraphSyracuseCpp.py [new file with mode: 0644]
examples/GraphSyracuseCpp.xml [new file with mode: 0755]
examples/Graphs.py [new file with mode: 0644]
examples/Graphs.xml [new file with mode: 0644]
examples/NewGraphEssai.py [new file with mode: 0644]
examples/NewGraphEssai.xml [new file with mode: 0644]
examples/NewGraphGeomEssai.py [new file with mode: 0644]
examples/NewGraphGeomEssai.xml [new file with mode: 0644]
examples/SupervRheolefGraph.py [new file with mode: 0755]
examples/SupervRheolefGraph.xml [new file with mode: 0755]
examples/SyrStruct.py [new file with mode: 0644]
examples/SyrStruct.xml [new file with mode: 0644]
examples/myFactorialPy.py [new file with mode: 0644]
examples/newsupervisionexample.py [new file with mode: 0644]
examples/newsupervisionexample.xml [new file with mode: 0644]

diff --git a/examples/GeomGraph.py b/examples/GeomGraph.py
new file mode 100644 (file)
index 0000000..673911c
--- /dev/null
@@ -0,0 +1,106 @@
+
+# Generated python file of Graph GeomGraph
+
+from SuperV import *
+# Graph creation 
+GeomGraph = Graph( 'GeomGraph' )
+GeomGraph.SetName( 'GeomGraph' )
+GeomGraph.SetAuthor( '' )
+GeomGraph.SetComment( '' )
+GeomGraph.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+MakeBox = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeBox' )
+MakeBox.SetName( 'MakeBox' )
+MakeBox.SetAuthor( '' )
+MakeBox.SetContainer( 'localhost/FactoryServer' )
+MakeBox.SetComment( 'MakeBox from Geometry' )
+MakeBox.Coords( 5 , 101 )
+MakeCopy = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeCopy' )
+MakeCopy.SetName( 'MakeCopy' )
+MakeCopy.SetAuthor( '' )
+MakeCopy.SetContainer( 'localhost/FactoryServer' )
+MakeCopy.SetComment( 'MakeCopy from Geometry' )
+MakeCopy.Coords( 235 , 77 )
+MakeCopy_1 = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeCopy' )
+MakeCopy_1.SetName( 'MakeCopy_1' )
+MakeCopy_1.SetAuthor( '' )
+MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
+MakeCopy_1.SetComment( 'MakeCopy from Geometry' )
+MakeCopy_1.Coords( 232 , 332 )
+MakeTranslation = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeTranslation' )
+MakeTranslation.SetName( 'MakeTranslation' )
+MakeTranslation.SetAuthor( '' )
+MakeTranslation.SetContainer( 'localhost/FactoryServer' )
+MakeTranslation.SetComment( 'MakeTranslation from Geometry' )
+MakeTranslation.Coords( 449 , 86 )
+MakeFuse = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeFuse' )
+MakeFuse.SetName( 'MakeFuse' )
+MakeFuse.SetAuthor( '' )
+MakeFuse.SetContainer( 'localhost/FactoryServer' )
+MakeFuse.SetComment( 'MakeFuse from Geometry' )
+MakeFuse.Coords( 678 , 224 )
+MakeFuse_1 = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeFuse' )
+MakeFuse_1.SetName( 'MakeFuse_1' )
+MakeFuse_1.SetAuthor( '' )
+MakeFuse_1.SetContainer( 'localhost/FactoryServer' )
+MakeFuse_1.SetComment( 'MakeFuse from Geometry' )
+MakeFuse_1.Coords( 909 , 340 )
+MakeSphere = GeomGraph.FNode( 'Geometry' , 'Geometry' , 'MakeSphere' )
+MakeSphere.SetName( 'MakeSphere' )
+MakeSphere.SetAuthor( '' )
+MakeSphere.SetContainer( 'localhost/FactoryServer' )
+MakeSphere.SetComment( 'MakeSphere from Geometry' )
+MakeSphere.Coords( 5 , 449 )
+
+# Creation of intermediate Output variables and of Control Links
+MakeBoxshape = MakeBox.Port( 'shape' )
+MakeCopyshape1 = GeomGraph.Link( MakeBoxshape , MakeCopy.Port( 'shape1' ) )
+MakeCopyshape1.AddCoord( 1 , 198 , 184 )
+MakeCopyshape1.AddCoord( 2 , 199 , 209 )
+MakeCopy_1shape1 = GeomGraph.Link( MakeBoxshape , MakeCopy_1.Port( 'shape1' ) )
+MakeCopy_1shape1.AddCoord( 1 , 198 , 441 )
+MakeCopy_1shape1.AddCoord( 2 , 198 , 209 )
+MakeCopyshape = MakeCopy.Port( 'shape' )
+MakeTranslationshape1 = GeomGraph.Link( MakeCopyshape , MakeTranslation.Port( 'shape1' ) )
+MakeCopy_1shape = MakeCopy_1.Port( 'shape' )
+MakeFuseshape2 = GeomGraph.Link( MakeCopy_1shape , MakeFuse.Port( 'shape2' ) )
+MakeFuseshape2.AddCoord( 1 , 642 , 362 )
+MakeFuseshape2.AddCoord( 2 , 642 , 442 )
+MakeTranslationshape = MakeTranslation.Port( 'shape' )
+MakeFuseshape1 = GeomGraph.Link( MakeTranslationshape , MakeFuse.Port( 'shape1' ) )
+MakeFuseshape1.AddCoord( 1 , 643 , 330 )
+MakeFuseshape1.AddCoord( 2 , 644 , 195 )
+MakeFuseshape = MakeFuse.Port( 'shape' )
+MakeFuse_1shape1 = GeomGraph.Link( MakeFuseshape , MakeFuse_1.Port( 'shape1' ) )
+MakeFuse_1shape1.AddCoord( 1 , 872 , 445 )
+MakeFuse_1shape1.AddCoord( 2 , 874 , 333 )
+MakeSphereshape = MakeSphere.Port( 'shape' )
+MakeFuse_1shape2 = GeomGraph.Link( MakeSphereshape , MakeFuse_1.Port( 'shape2' ) )
+MakeFuse_1shape2.AddCoord( 1 , 872 , 474 )
+MakeFuse_1shape2.AddCoord( 2 , 871 , 552 )
+
+# Creation of Input datas
+MakeBoxx1 = MakeBox.Input( 'x1' , 0)
+MakeBoxy1 = MakeBox.Input( 'y1' , 0)
+MakeBoxz1 = MakeBox.Input( 'z1' , 0)
+MakeBoxx2 = MakeBox.Input( 'x2' , 50)
+MakeBoxy2 = MakeBox.Input( 'y2' , 50)
+MakeBoxz2 = MakeBox.Input( 'z2' , 50)
+MakeTranslationx1 = MakeTranslation.Input( 'x1' , 25)
+MakeTranslationy1 = MakeTranslation.Input( 'y1' , 25)
+MakeTranslationz1 = MakeTranslation.Input( 'z1' , 25)
+MakeSpherex1 = MakeSphere.Input( 'x1' , 0)
+MakeSpherey1 = MakeSphere.Input( 'y1' , 0)
+MakeSpherez1 = MakeSphere.Input( 'z1' , 0)
+MakeSphereradius = MakeSphere.Input( 'radius' , 12)
+
+# Creation of Output variables
+MakeFuse_1shape = MakeFuse_1.Port( 'shape' )
+
+GeomGraph.Run()
+
+GeomGraph.DoneW()
+
+GeomGraph.PrintPorts()
+
diff --git a/examples/GeomGraph.xml b/examples/GeomGraph.xml
new file mode 100644 (file)
index 0000000..fdd4234
--- /dev/null
@@ -0,0 +1,651 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GeomGraph</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GeomGraph</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\z2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\radius</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>MakeFuse_1\shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:34</creation-date>
+                       <lastmodification-date>13/3/2003 - 13:49:29</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeBox</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeBox</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:45</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:45</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeBox from Geometry</comment>
+                       <x-position>5</x-position>
+                       <y-position>101</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeCopy</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeCopy</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:48</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:48</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeCopy from Geometry</comment>
+                       <x-position>235</x-position>
+                       <y-position>77</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeCopy_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeCopy</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:49</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:49</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeCopy from Geometry</comment>
+                       <x-position>232</x-position>
+                       <y-position>332</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeTranslation</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeTranslation</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:51</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:51</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeTranslation from Geometry</comment>
+                       <x-position>449</x-position>
+                       <y-position>86</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeFuse</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeFuse</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:55</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:55</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeFuse from Geometry</comment>
+                       <x-position>678</x-position>
+                       <y-position>224</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeFuse_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeFuse</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:46:58</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:46:58</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeFuse from Geometry</comment>
+                       <x-position>909</x-position>
+                       <y-position>340</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeSphere</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>MakeSphere</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>radius</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>13/3/2003 - 11:47:0</creation-date>
+                       <lastmodification-date>13/3/2003 - 11:47:0</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>MakeSphere from Geometry</comment>
+                       <x-position>5</x-position>
+                       <y-position>449</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>MakeBox</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeCopy</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>198</x>
+                                       <y>184</y>
+                               </coord>
+                               <coord>
+                                       <x>199</x>
+                                       <y>209</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeBox</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeCopy_1</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>198</x>
+                                       <y>441</y>
+                               </coord>
+                               <coord>
+                                       <x>198</x>
+                                       <y>209</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeCopy</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeCopy_1</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape2</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>642</x>
+                                       <y>362</y>
+                               </coord>
+                               <coord>
+                                       <x>642</x>
+                                       <y>442</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeTranslation</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>643</x>
+                                       <y>330</y>
+                               </coord>
+                               <coord>
+                                       <x>644</x>
+                                       <y>195</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeFuse</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse_1</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>872</x>
+                                       <y>445</y>
+                               </coord>
+                               <coord>
+                                       <x>874</x>
+                                       <y>333</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeSphere</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse_1</tonode-name>
+                       <toserviceparameter-name>shape2</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>872</x>
+                                       <y>474</y>
+                               </coord>
+                               <coord>
+                                       <x>871</x>
+                                       <y>552</y>
+                               </coord>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\x1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\y1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\z1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\x2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>x2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\y2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>y2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\z2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>z2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\x1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>25</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\y1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>25</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\z1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>25</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\x1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\y1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\z1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GeomGraph</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\radius</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>radius</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>12</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphEssai.py b/examples/GraphEssai.py
new file mode 100644 (file)
index 0000000..a60f0e3
--- /dev/null
@@ -0,0 +1,74 @@
+
+# Generated python file of Graph GraphEssai
+
+from SuperV import *
+# Graph creation 
+GraphEssai = Graph( 'GraphEssai' )
+GraphEssai.SetAuthor( '' )
+GraphEssai.SetComment( '' )
+GraphEssai.Coords( 0 , 0 )
+
+# Creation of Nodes
+Add = GraphEssai.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 15 , 241 )
+Sub = GraphEssai.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 227 , 99 )
+Mul = GraphEssai.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 443 , 278 )
+Div = GraphEssai.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 634 , 97 )
+
+# Creation of intermediate Output variables and of links
+Addz = Add.Port( 'z' )
+Suby = GraphEssai.Link( Addz , Sub.Port( 'y' ) )
+Muly = GraphEssai.Link( Addz , Mul.Port( 'y' ) )
+Subz = Sub.Port( 'z' )
+Mulx = GraphEssai.Link( Subz , Mul.Port( 'x' ) )
+Divx = GraphEssai.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai.Link( Mulz , Div.Port( 'y' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 3)
+Addy = Add.Input( 'y' , 4.5)
+Subx = Sub.Input( 'x' , 1.5)
+
+# Missing Input datas
+
+# Creation of Output variables
+AddFuncValue = Add.Port( 'FuncValue' )
+Divz = Div.Port( 'z' )
+
+Add.Print()
+Sub.Print()
+Mul.Print()
+Div.Print()
+
+GraphEssai.PrintPorts()
+
+nodes = GraphEssai.LevelNodes( 0 )
+i = 0
+while i < len( nodes ) :
+    print 'Nodes of level 0',nodes[i].Name()
+    i = i + 1
+
+GraphEssai.Run()
+
+GraphEssai.DoneW()
+
+GraphEssai.State()
+
+GraphEssai.PrintPorts()
+
diff --git a/examples/GraphEssai.xml b/examples/GraphEssai.xml
new file mode 100755 (executable)
index 0000000..4dc991c
--- /dev/null
@@ -0,0 +1,297 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphEssai</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\x</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Add\FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 9:58:58</creation-date>
+                       <lastmodification-date>11/3/2003 - 9:58:59</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 9:58:58</creation-date>
+                       <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>15</x-position>
+                       <y-position>241</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 9:58:58</creation-date>
+                       <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>227</x-position>
+                       <y-position>99</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 9:58:58</creation-date>
+                       <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>443</x-position>
+                       <y-position>278</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 9:58:58</creation-date>
+                       <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>634</x-position>
+                       <y-position>97</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>4.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>1.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphEssai1.py b/examples/GraphEssai1.py
new file mode 100755 (executable)
index 0000000..4792e22
--- /dev/null
@@ -0,0 +1,64 @@
+
+# Generated python file of Graph GraphEssai1
+
+from SuperV import *
+# Graph creation 
+GraphEssai1 = Graph( 'GraphEssai1' )
+GraphEssai1.SetName( 'GraphEssai1' )
+GraphEssai1.SetAuthor( '' )
+GraphEssai1.SetComment( '' )
+GraphEssai1.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+Add = GraphEssai1.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetName( 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'localhost/FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 0 , 214 )
+Sub = GraphEssai1.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetName( 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'localhost/FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 192 , 51 )
+Mul = GraphEssai1.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetName( 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'localhost/FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 420 , 265 )
+Div = GraphEssai1.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetName( 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'localhost/FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 623 , 141 )
+
+# Creation of intermediate Output variables and of Computing Links
+Addz = Add.Port( 'z' )
+Subx = GraphEssai1.Link( Addz , Sub.Port( 'x' ) )
+Subz = Sub.Port( 'z' )
+Mulx = GraphEssai1.Link( Subz , Mul.Port( 'x' ) )
+Divx = GraphEssai1.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai1.Link( Mulz , Div.Port( 'y' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 3)
+Addy = Add.Input( 'y' , 5)
+Suby = Sub.Input( 'y' , 7)
+Muly = Mul.Input( 'y' , 11)
+
+# Creation of Output variables
+AddFuncValue = Add.Port( 'FuncValue' )
+Divz = Div.Port( 'z' )
+
+GraphEssai1.Run()
+
+GraphEssai1.DoneW()
+
+GraphEssai1.State()
+
+GraphEssai1.PrintPorts()
+
diff --git a/examples/GraphEssai1.xml b/examples/GraphEssai1.xml
new file mode 100644 (file)
index 0000000..6087d09
--- /dev/null
@@ -0,0 +1,305 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai1</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphEssai1</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Mul\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Add\FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:3:19</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:3:19</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:3:19</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:3:19</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>214</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:3:19</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:3:19</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>192</x-position>
+                       <y-position>51</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:3:19</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:3:19</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>420</x-position>
+                       <y-position>265</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:3:19</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:3:19</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>623</x-position>
+                       <y-position>141</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai1</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai1</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai1</fromnode-name>
+                       <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai1</fromnode-name>
+                       <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>11</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphEssai2.py b/examples/GraphEssai2.py
new file mode 100755 (executable)
index 0000000..aee58ba
--- /dev/null
@@ -0,0 +1,66 @@
+
+# Generated python file of Graph GraphEssai2
+
+from SuperV import *
+# Graph creation 
+GraphEssai2 = Graph( 'GraphEssai2' )
+GraphEssai2.SetName( 'GraphEssai2' )
+GraphEssai2.SetAuthor( '' )
+GraphEssai2.SetComment( '' )
+GraphEssai2.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+Add = GraphEssai2.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetName( 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'localhost/FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 49 , 182 )
+Sub = GraphEssai2.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetName( 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'localhost/FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 300 , 270 )
+Mul = GraphEssai2.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetName( 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'localhost/FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 306 , 28 )
+Div = GraphEssai2.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetName( 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'localhost/FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 603 , 156 )
+
+# Creation of intermediate Output variables and of Computing Links
+AddFuncValue = Add.Port( 'FuncValue' )
+Mulx = GraphEssai2.Link( AddFuncValue , Mul.Port( 'x' ) )
+Addz = Add.Port( 'z' )
+Subx = GraphEssai2.Link( Addz , Sub.Port( 'x' ) )
+SubOutGate = Sub.Port( 'OutGate' )
+MulInGate = GraphEssai2.Link( SubOutGate , Mul.Port( 'InGate' ) )
+Subz = Sub.Port( 'z' )
+Divx = GraphEssai2.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai2.Link( Mulz , Div.Port( 'y' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 1)
+Addy = Add.Input( 'y' , 2)
+Suby = Sub.Input( 'y' , 3)
+Muly = Mul.Input( 'y' , 4)
+
+# Creation of Output variables
+Divz = Div.Port( 'z' )
+
+GraphEssai2.Run()
+
+GraphEssai2.DoneW()
+
+GraphEssai2.State()
+
+GraphEssai2.PrintPorts()
+
diff --git a/examples/GraphEssai2.xml b/examples/GraphEssai2.xml
new file mode 100644 (file)
index 0000000..dee1886
--- /dev/null
@@ -0,0 +1,309 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai2</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphEssai2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Mul\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:6:28</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:6:29</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:6:28</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:6:28</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>49</x-position>
+                       <y-position>182</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:6:28</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:6:28</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>300</x-position>
+                       <y-position>270</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:6:29</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:6:29</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>306</x-position>
+                       <y-position>28</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:6:29</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:6:29</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>603</x-position>
+                       <y-position>156</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>InGate</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai2</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai2</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>2</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai2</fromnode-name>
+                       <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai2</fromnode-name>
+                       <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>4</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphEssai3.py b/examples/GraphEssai3.py
new file mode 100644 (file)
index 0000000..94341dd
--- /dev/null
@@ -0,0 +1,89 @@
+
+# Generated python file of Graph GraphEssai3
+
+from SuperV import *
+# Graph creation 
+GraphEssai3 = Graph( 'GraphEssai3' )
+GraphEssai3.SetName( 'GraphEssai3' )
+GraphEssai3.SetAuthor( '' )
+GraphEssai3.SetComment( '' )
+GraphEssai3.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+Add = GraphEssai3.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetName( 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'localhost/FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 1 , 152 )
+Sub = GraphEssai3.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetName( 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'localhost/FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 410 , 84 )
+Mul = GraphEssai3.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetName( 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'localhost/FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 410 , 279 )
+Div = GraphEssai3.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetName( 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'localhost/FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 618 , 140 )
+Addition = GraphEssai3.Node( 'AddComponent' , 'AddComponent' , 'Addition' )
+Addition.SetName( 'Addition' )
+Addition.SetAuthor( '' )
+Addition.SetContainer( 'localhost/AdditionServer' )
+Addition.SetComment( '' )
+Addition.Coords( 0 , 0 )
+Addition_1 = GraphEssai3.Node( 'AddComponent' , 'AddComponent' , 'Addition' )
+Addition_1.SetName( 'Addition_1' )
+Addition_1.SetAuthor( '' )
+Addition_1.SetContainer( 'localhost/Addition_1Server' )
+Addition_1.SetComment( '' )
+Addition_1.Coords( 4 , 327 )
+AddAndCompare = GraphEssai3.CNode( 'AddComponent' , 'Adder' , 'AddAndCompare' )
+AddAndCompare.SetName( 'AddAndCompare' )
+AddAndCompare.SetAuthor( '' )
+AddAndCompare.SetComment( '' )
+AddAndCompare.Coords( 233 , 0 )
+
+# Creation of intermediate Output variables and of Computing Links
+AddFuncValue = Add.Port( 'FuncValue' )
+Mulx = GraphEssai3.Link( AddFuncValue , Mul.Port( 'x' ) )
+AddAndComparex = GraphEssai3.Link( AddFuncValue , AddAndCompare.Port( 'x' ) )
+Addz = Add.Port( 'z' )
+Subx = GraphEssai3.Link( Addz , Sub.Port( 'x' ) )
+AddAndComparey = GraphEssai3.Link( Addz , AddAndCompare.Port( 'y' ) )
+Subz = Sub.Port( 'z' )
+Divx = GraphEssai3.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai3.Link( Mulz , Div.Port( 'y' ) )
+AdditionAdder = Addition.Port( 'Adder' )
+AddAndCompareAdder = GraphEssai3.Link( AdditionAdder , AddAndCompare.Port( 'Adder' ) )
+Addition_1Adder = Addition_1.Port( 'Adder' )
+AddAndCompareanOtherAdder = GraphEssai3.Link( Addition_1Adder , AddAndCompare.Port( 'anOtherAdder' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 1)
+Addy = Add.Input( 'y' , 2)
+Suby = Sub.Input( 'y' , 3)
+Muly = Mul.Input( 'y' , 4)
+
+# Creation of Output variables
+Divz = Div.Port( 'z' )
+AddAndCompareFuncValue = AddAndCompare.Port( 'FuncValue' )
+AddAndComparez = AddAndCompare.Port( 'z' )
+
+GraphEssai3.Run()
+
+GraphEssai3.DoneW()
+
+GraphEssai3.State()
+
+GraphEssai3.PrintPorts()
+
diff --git a/examples/GraphEssai3.xml b/examples/GraphEssai3.xml
new file mode 100644 (file)
index 0000000..91a4893
--- /dev/null
@@ -0,0 +1,451 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai3</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphEssai3</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Mul\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>AddAndCompare\FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>AddAndCompare\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>1</x-position>
+                       <y-position>152</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>410</x-position>
+                       <y-position>84</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>410</x-position>
+                       <y-position>279</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>618</x-position>
+                       <y-position>140</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Addition</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Addition</service-name>
+                               <inParameter-list>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Adder</outParameter-type>
+                                               <outParameter-name>Adder</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/AdditionServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Addition_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Addition</service-name>
+                               <inParameter-list>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Adder</outParameter-type>
+                                               <outParameter-name>Adder</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/Addition_1Server</container>
+                       <comment>?</comment>
+                       <x-position>4</x-position>
+                       <y-position>327</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>AddAndCompare</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>AddAndCompare</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Adder</inParameter-type>
+                                               <inParameter-name>Adder</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>Adder</inParameter-type>
+                                               <inParameter-name>anOtherAdder</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 10:59:37</creation-date>
+                       <lastmodification-date>11/3/2003 - 10:59:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>233</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
+                       <tonode-name>AddAndCompare</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>AddAndCompare</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Addition</fromnode-name>
+                       <fromserviceparameter-name>Adder</fromserviceparameter-name>
+                       <tonode-name>AddAndCompare</tonode-name>
+                       <toserviceparameter-name>Adder</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Addition_1</fromnode-name>
+                       <fromserviceparameter-name>Adder</fromserviceparameter-name>
+                       <tonode-name>AddAndCompare</tonode-name>
+                       <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai3</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai3</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>2</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai3</fromnode-name>
+                       <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai3</fromnode-name>
+                       <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>4</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphExample.py b/examples/GraphExample.py
new file mode 100644 (file)
index 0000000..7329474
--- /dev/null
@@ -0,0 +1,76 @@
+#! /usr/bin/env python
+
+#==============================================================================
+#  File      : GraphExample.py
+#  Created   : 18 déc 2001
+#  Author    : Jean Rahuel
+#  Project   : SALOME
+#  Copyright : CEA
+#==============================================================================
+
+#from GraphExample import *
+
+from SuperV import *
+
+myGraph = Graph( "myDataFlow" )
+print myGraph.SetContainer('FactoryServer')
+
+Add = myGraph.Node( "AddComponent" , "AddInterface" , "Add" )
+print Add.SetContainer('dm2s0017')
+Sub = myGraph.Node( "SubComponent" , "SubInterface" , "Sub" )
+print Sub.SetContainer('dm2s0018')
+Mul = myGraph.Node( "MulComponent" , "MulInterface" , "Mul" )
+print Mul.SetContainer('dm2s0019')
+Div = myGraph.Node( "DivComponent" , "DivInterface" , "Div" )
+print Div.SetContainer('dm2s0020')
+
+PAddz = Add.Port("z")
+PSuby = Sub.Port("y")
+Suby = myGraph.Link( PAddz , PSuby )
+Muly = myGraph.Link( Add.Port("z") , Mul.Port("y") )
+Mulx = myGraph.Link( Sub.Port( "z" ) , Mul.Port("x") )
+Divx = myGraph.Link( Sub.Port( "z" ) , Div.Port("x") )
+Divy = myGraph.Link( Mul.Port( "z" ) , Div.Port("y") )
+
+Addx = Add.Input( "x" , 3 )
+Addy = Add.Input( "y" , 4.5 )
+Subx = Sub.Input( "x" , "1.5" )
+
+print "Add(x) input value : ",Addx.ToString()
+print "Add(y) input value : ",Addy.ToString()
+print "Sub(x) input value : ",Subx.ToString()
+
+Divz = Div.Port("z")
+
+print Divz.ToString()
+
+print myGraph.IsValid()
+print myGraph.IsExecutable()
+
+print myGraph.Run()
+
+Addz = Add.Port( "z" )
+AddFuncValue = Add.Port( "FuncValue" )
+Subz = Sub.Port( "z" )
+Mulz = Mul.Port( "z" )
+Divz = Div.Port( "z" )
+
+print AddFuncValue.Done()
+print Addz.Done()
+print Subz.Done()
+print Mulz.Done()
+print Divz.Done()
+print Add.Done()
+print Sub.Done()
+print Mul.Done()
+print Div.Done()
+print myGraph.Done()
+print myGraph.State()
+
+print AddFuncValue.ToString()
+print Addz.ToString()
+print Subz.ToString()
+print Mulz.ToString()
+print Divz.ToString()
+print Divz.ToAny()
+
diff --git a/examples/GraphFactorial.py b/examples/GraphFactorial.py
new file mode 100644 (file)
index 0000000..3551fce
--- /dev/null
@@ -0,0 +1,33 @@
+
+from SuperV import *
+
+GraphFactorial = Graph('GraphFactorial')
+
+eval = GraphFactorial.Node('FactorialComponent','FactorialComponent','eval')
+eval.SetContainer('Server3Py')
+
+GraphFactorial.IsValid()
+
+GraphFactorial.Run( 3 )
+GraphFactorial.DoneW()
+GraphFactorial.State()
+print eval.GetComponentName()
+print eval.GetContainer()
+GraphFactorial.PrintPorts()
+
+eval.SetContainer('Server4Py')
+GraphFactorial.Run( 4 )
+GraphFactorial.DoneW()
+GraphFactorial.State()
+print eval.GetComponentName()
+print eval.GetContainer()
+GraphFactorial.PrintPorts()
+
+eval.SetContainer('Server5Py')
+GraphFactorial.Run( 5 )
+GraphFactorial.DoneW()
+GraphFactorial.State()
+print eval.GetComponentName()
+print eval.GetContainer()
+GraphFactorial.PrintPorts()
+
diff --git a/examples/GraphFactorial.xml b/examples/GraphFactorial.xml
new file mode 100644 (file)
index 0000000..97ef9c8
--- /dev/null
@@ -0,0 +1,99 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphFactorial</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphFactorial</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>eval\n</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>eval\f</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 11:3:56</creation-date>
+                       <lastmodification-date>11/3/2003 - 11:3:56</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>FactorialComponent</component-name>
+                       <interface-name>FactorialComponent</interface-name>
+                       <node-name>eval</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>eval</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>n</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>f</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 11:3:56</creation-date>
+                       <lastmodification-date>11/3/2003 - 11:3:56</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>ServerPy</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphFactorial</fromnode-name>
+                       <fromserviceparameter-name>eval\n</fromserviceparameter-name>
+                       <tonode-name>eval</tonode-name>
+                       <toserviceparameter-name>n</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphGOTO.py b/examples/GraphGOTO.py
new file mode 100644 (file)
index 0000000..cdd8de1
--- /dev/null
@@ -0,0 +1,94 @@
+
+# Generated python file of Graph GraphGOTO
+
+from SuperV import *
+# Graph creation 
+GraphGOTO = Graph( 'GraphGOTO' )
+GraphGOTO.SetName( 'GraphGOTO' )
+GraphGOTO.SetAuthor( '' )
+GraphGOTO.SetComment( '' )
+GraphGOTO.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+
+# Creation of InLine Nodes
+PyIsOdd = []
+PyIsOdd.append( 'import time' )
+PyIsOdd.append( 'def IsOdd(a) :    ' )
+PyIsOdd.append( '    print a,"IsOdd"   ' )
+PyIsOdd.append( '    time.sleep( 1 )' )
+PyIsOdd.append( '    return a+1 ' )
+IsOdd = GraphGOTO.INode( 'IsOdd' , PyIsOdd )
+IsOdd.InPort( 'a' , 'long' )
+IsOdd.OutPort( 'a' , 'long' )
+IsOdd.SetName( 'IsOdd' )
+IsOdd.SetAuthor( '' )
+IsOdd.SetComment( 'Python function' )
+IsOdd.Coords( 296 , 249 )
+
+# Creation of Switch Nodes
+PySwitch = []
+PySwitch.append( 'import time' )
+PySwitch.append( 'def Switch(a) :  ' )
+PySwitch.append( '    print "Switch(",a,")"' )
+PySwitch.append( '    time.sleep( 1 )' )
+PySwitch.append( '    b = a & 1' )
+PySwitch.append( '    print "Switch(",a,") ->",b,a' )
+PySwitch.append( '    return b,a ' )
+Switch,EndSwitch = GraphGOTO.SNode( 'Switch' , PySwitch )
+EndSwitch.SetName( 'EndSwitch' )
+EndSwitch.SetAuthor( '' )
+EndSwitch.SetComment( '' )
+EndSwitch.Coords( 569 , 94 )
+PyEndSwitch = []
+EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
+EndSwitch.InPort( 'a' , 'long' )
+EndSwitch.OutPort( 'a' , 'long' )
+Switch.InPort( 'a' , 'long' )
+Switch.OutPort( 'Odd' , 'long' )
+Switch.OutPort( 'a' , 'long' )
+Switch.SetName( 'Switch' )
+Switch.SetAuthor( '' )
+Switch.SetComment( '' )
+Switch.Coords( 25 , 94 )
+
+# Creation of GOTO Nodes
+PyGoTo = []
+GoTo = GraphGOTO.GNode( '' , PyGoTo , 'Switch' )
+GoTo.InPort( 'a' , 'long' )
+GoTo.OutPort( 'a' , 'long' )
+GoTo.SetName( 'GoTo' )
+GoTo.SetAuthor( '' )
+GoTo.SetComment( '' )
+GoTo.Coords( 520 , 323 )
+
+# Creation of intermediate Output variables and of Control Links
+IsOdda = IsOdd.Port( 'a' )
+GoToa = GraphGOTO.Link( IsOdda , GoTo.Port( 'a' ) )
+SwitchDefault = Switch.Port( 'Default' )
+EndSwitchDefault = GraphGOTO.Link( SwitchDefault , EndSwitch.Port( 'Default' ) )
+SwitchOdd = Switch.Port( 'Odd' )
+IsOddInGate = GraphGOTO.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
+IsOddInGate.AddCoord( 1 , 249 , 323 )
+IsOddInGate.AddCoord( 2 , 249 , 157 )
+IsOddInGate.AddCoord( 3 , 247 , 157 )
+Switcha = Switch.Port( 'a' )
+IsOdda = GraphGOTO.Link( Switcha , IsOdd.Port( 'a' ) )
+IsOdda.AddCoord( 1 , 196 , 357 )
+IsOdda.AddCoord( 2 , 196 , 186 )
+EndSwitcha = GraphGOTO.Link( Switcha , EndSwitch.Port( 'a' ) )
+GoToOutGate = GoTo.Port( 'OutGate' )
+SwitchInGate = GraphGOTO.Link( GoToOutGate , Switch.Port( 'InGate' ) )
+
+# Creation of Input datas
+Switcha = Switch.Input( 'a' , 1)
+
+# Creation of Output variables
+EndSwitcha = EndSwitch.Port( 'a' )
+
+GraphGOTO.Run()
+
+GraphGOTO.DoneW()
+
+GraphGOTO.PrintPorts()
+
diff --git a/examples/GraphGOTO.xml b/examples/GraphGOTO.xml
new file mode 100644 (file)
index 0000000..bf36bc5
--- /dev/null
@@ -0,0 +1,210 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphGOTO</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphGOTO</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Switch\a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndSwitch\a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>24/3/2003 - 16:26:48</creation-date>
+   <lastmodification-date>25/3/2003 - 9:25:23</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>IsOdd</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>IsOdd</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>IsOdd</FuncName>
+     <PyFunc><![CDATA[def IsOdd(a) :    ]]></PyFunc>
+     <PyFunc><![CDATA[    print a,"IsOdd"   ]]></PyFunc>
+     <PyFunc><![CDATA[    return a+1 ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:24:50</creation-date>
+   <lastmodification-date>25/3/2003 - 9:24:50</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>296</x-position>
+   <y-position>249</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Switch</node-name>
+   <kind>6</kind>
+   <coupled-node>EndSwitch</coupled-node>
+   <service>
+<service-name>Switch</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Switch</FuncName>
+     <PyFunc><![CDATA[def Switch(a) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    return a & 1,a ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:24:51</creation-date>
+   <lastmodification-date>25/3/2003 - 9:24:51</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>25</x-position>
+   <y-position>94</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndSwitch</node-name>
+   <kind>7</kind>
+   <coupled-node>Switch</coupled-node>
+   <service>
+<service-name>EndSwitch</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:24:51</creation-date>
+   <lastmodification-date>25/3/2003 - 9:24:51</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>569</x-position>
+   <y-position>94</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GoTo</node-name>
+   <kind>8</kind>
+   <coupled-node>Switch</coupled-node>
+   <service>
+<service-name>GoTo</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:24:51</creation-date>
+   <lastmodification-date>25/3/2003 - 9:24:51</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>520</x-position>
+   <y-position>323</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>IsOdd</fromnode-name>
+   <fromserviceparameter-name>a</fromserviceparameter-name>
+   <tonode-name>GoTo</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndSwitch</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>IsOdd</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>249</x>
+     <y>323</y>    </coord>
+    <coord>
+<x>249</x>
+     <y>157</y>    </coord>
+    <coord>
+<x>247</x>
+     <y>157</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>a</fromserviceparameter-name>
+   <tonode-name>IsOdd</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>196</x>
+     <y>357</y>    </coord>
+    <coord>
+<x>196</x>
+     <y>186</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>a</fromserviceparameter-name>
+   <tonode-name>EndSwitch</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>GoTo</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>Switch</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphGOTO</fromnode-name>
+   <fromserviceparameter-name>Switch\a</fromserviceparameter-name>
+   <tonode-name>Switch</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>1</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphGeomEssai.xml b/examples/GraphGeomEssai.xml
new file mode 100644 (file)
index 0000000..e43924c
--- /dev/null
@@ -0,0 +1,401 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphGeomEssai</node-name>
+                       <kind>1</kind>
+                       <service>
+                               <service-name>GraphGeomEssai</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\radius</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>MakeFuse\shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:2</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:54:47</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeCopy</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeCopy</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:13</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:53:13</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>269</x-position>
+                       <y-position>85</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeFuse</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeFuse</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:13</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:53:13</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>725</x-position>
+                       <y-position>179</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeSphere</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeSphere</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>radius</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:13</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:53:13</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>28</x-position>
+                       <y-position>188</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeTranslation</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeTranslation</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:13</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:53:13</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>493</x-position>
+                       <y-position>85</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeCopy_1</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeCopy</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>10/7/2002 - 14:53:18</creation-date>
+                       <lastmodification-date>10/7/2002 - 14:53:18</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>283</x-position>
+                       <y-position>391</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>MakeCopy</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeSphere</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeCopy</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>226</x>
+                                       <y>237</y>
+                               </coord>
+                               <coord>
+                                       <x>226</x>
+                                       <y>340</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeSphere</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeCopy_1</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>226</x>
+                                       <y>544</y>
+                               </coord>
+                               <coord>
+                                       <x>225</x>
+                                       <y>340</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeTranslation</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>688</x>
+                                       <y>330</y>
+                               </coord>
+                               <coord>
+                                       <x>689</x>
+                                       <y>237</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeCopy_1</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape2</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>688</x>
+                                       <y>362</y>
+                               </coord>
+                               <coord>
+                                       <x>689</x>
+                                       <y>543</y>
+                               </coord>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\x1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\y1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\z1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\radius</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>radius</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>20</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\x1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>10</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\y1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>10</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeomEssai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\z1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>10</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphInLines.py b/examples/GraphInLines.py
new file mode 100644 (file)
index 0000000..d93576a
--- /dev/null
@@ -0,0 +1,78 @@
+
+# Generated python file of Graph GraphInLines
+
+from SuperV import *
+# Graph creation 
+GraphInLines = Graph( 'GraphInLines' )
+GraphInLines.SetName( 'GraphInLines' )
+GraphInLines.SetAuthor( '' )
+GraphInLines.SetComment( '' )
+GraphInLines.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+
+# Creation of InLine Nodes
+PyAdd = []
+PyAdd.append( 'def Add(a,b) :  ' )
+PyAdd.append( '    return a+b  ' )
+PyAdd.append( '' )
+Add = GraphInLines.INode( 'Add' , PyAdd )
+Add.InPort( 'a' , 'long' )
+Add.InPort( 'b' , 'long' )
+Add.OutPort( 'f' , 'long' )
+Add.SetName( 'Add' )
+Add.SetAuthor( '' )
+Add.SetComment( 'Python function' )
+Add.Coords( 351 , 77 )
+PySub = []
+PySub.append( 'def Sub(a,b) : ' )
+PySub.append( '    return a-b ' )
+PySub.append( '' )
+Sub = GraphInLines.INode( 'Sub' , PySub )
+Sub.InPort( 'a' , 'long' )
+Sub.InPort( 'b' , 'long' )
+Sub.OutPort( 'f' , 'long' )
+Sub.SetName( 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetComment( 'Python function' )
+Sub.Coords( 86 , 333 )
+PyMul = []
+PyMul.append( 'def Mul(a,b) : ' )
+PyMul.append( '    return a*b ' )
+Mul = GraphInLines.INode( 'Mul' , PyMul )
+Mul.InPort( 'a' , 'long' )
+Mul.InPort( 'b' , 'long' )
+Mul.OutPort( 'Result' , 'long' )
+Mul.SetName( 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetComment( 'Python function' )
+Mul.Coords( 616 , 247 )
+
+# Creation of intermediate Output variables and of Control Links
+Addf = Add.Port( 'f' )
+Mula = GraphInLines.Link( Addf , Mul.Port( 'a' ) )
+Mula.AddCoord( 1 , 570 , 356 )
+Mula.AddCoord( 2 , 570 , 186 )
+Subf = Sub.Port( 'f' )
+Mulb = GraphInLines.Link( Subf , Mul.Port( 'b' ) )
+Mulb.AddCoord( 1 , 282 , 376 )
+Mulb.AddCoord( 2 , 282 , 442 )
+Addb = GraphInLines.Link( Subf , Add.Port( 'b' ) )
+Addb.AddCoord( 1 , 283 , 209 )
+Addb.AddCoord( 2 , 283 , 374 )
+Addb.AddCoord( 3 , 283 , 442 )
+
+# Creation of Input datas
+Adda = Add.Input( 'a' , 1)
+Suba = Sub.Input( 'a' , 3)
+Subb = Sub.Input( 'b' , 4)
+
+# Creation of Output variables
+MulResult = Mul.Port( 'Result' )
+
+GraphInLines.Run()
+
+GraphInLines.DoneW()
+
+GraphInLines.PrintPorts()
+
diff --git a/examples/GraphInLines.xml b/examples/GraphInLines.xml
new file mode 100644 (file)
index 0000000..a60665c
--- /dev/null
@@ -0,0 +1,205 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphInLines</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphInLines</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Add\a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Sub\a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Sub\b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Mul\Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>24/3/2003 - 10:58:41</creation-date>
+   <lastmodification-date>25/3/2003 - 16:38:21</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Add</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Add</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Add</FuncName>
+     <PyFunc><![CDATA[def Add(a,b) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    return a+b  ]]></PyFunc>
+     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 16:37:21</creation-date>
+   <lastmodification-date>25/3/2003 - 16:37:21</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>351</x-position>
+   <y-position>77</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Sub</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Sub</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Sub</FuncName>
+     <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
+     <PyFunc><![CDATA[    return a-b ]]></PyFunc>
+     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 16:37:21</creation-date>
+   <lastmodification-date>25/3/2003 - 16:37:21</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>86</x-position>
+   <y-position>333</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Mul</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Mul</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Mul</FuncName>
+     <PyFunc><![CDATA[def Mul(a,b) : ]]></PyFunc>
+     <PyFunc><![CDATA[    return a*b ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 16:37:21</creation-date>
+   <lastmodification-date>25/3/2003 - 16:37:21</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>616</x-position>
+   <y-position>247</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>Add</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Mul</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>570</x>
+     <y>356</y>    </coord>
+    <coord>
+<x>570</x>
+     <y>186</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Sub</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Mul</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>282</x>
+     <y>376</y>    </coord>
+    <coord>
+<x>282</x>
+     <y>442</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Sub</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Add</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>283</x>
+     <y>209</y>    </coord>
+    <coord>
+<x>283</x>
+     <y>374</y>    </coord>
+    <coord>
+<x>283</x>
+     <y>442</y>    </coord>   </coord-list>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphInLines</fromnode-name>
+   <fromserviceparameter-name>Add\a</fromserviceparameter-name>
+   <tonode-name>Add</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>1</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphInLines</fromnode-name>
+   <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
+   <tonode-name>Sub</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>3</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphInLines</fromnode-name>
+   <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
+   <tonode-name>Sub</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>4</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphLoop.py b/examples/GraphLoop.py
new file mode 100644 (file)
index 0000000..782ac52
--- /dev/null
@@ -0,0 +1,88 @@
+
+# Generated python file of Graph GraphLoop
+
+from SuperV import *
+# Graph creation 
+GraphLoop = Graph( 'GraphLoop' )
+GraphLoop.SetName( 'GraphLoop' )
+GraphLoop.SetAuthor( '' )
+GraphLoop.SetComment( '' )
+GraphLoop.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+
+# Creation of Loop Nodes
+PyInit = []
+PyInit.append( 'import time' )
+PyInit.append( 'def Init(Index,Min,Max,Incr) :  ' )
+PyInit.append( '    if Min <= Max :  ' )
+PyInit.append( '        Index = Min  ' )
+PyInit.append( '    else :  ' )
+PyInit.append( '        Index = Max  ' )
+PyInit.append( '    time.sleep( 1 )' )
+PyInit.append( '    return Index,Min,Max,Incr  ' )
+PyMoreInit = []
+PyMoreInit.append( 'import time' )
+PyMoreInit.append( 'def More(Index,Min,Max,Incr) :  ' )
+PyMoreInit.append( '    if Index < Max :  ' )
+PyMoreInit.append( '        DoLoop = 1  ' )
+PyMoreInit.append( '    else :  ' )
+PyMoreInit.append( '        DoLoop = 0  ' )
+PyMoreInit.append( '    time.sleep( 1 )' )
+PyMoreInit.append( '    return DoLoop,Index,Min,Max,Incr  ' )
+PyNextInit = []
+PyNextInit.append( 'import time' )
+PyNextInit.append( 'def Next(Index,Min,Max,Incr) :  ' )
+PyNextInit.append( '    Index = Index + Incr  ' )
+PyNextInit.append( '    time.sleep( 1 )' )
+PyNextInit.append( '    return Index,Min,Max,Incr ' )
+Init,EndInit = GraphLoop.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
+EndInit.SetName( 'EndInit' )
+EndInit.SetAuthor( '' )
+EndInit.SetComment( '' )
+EndInit.Coords( 626 , 259 )
+Init.InPort( 'Index' , 'long' )
+Init.InPort( 'Min' , 'long' )
+Init.InPort( 'Max' , 'long' )
+Init.InPort( 'Incr' , 'long' )
+Init.OutPort( 'Index' , 'long' )
+Init.OutPort( 'Min' , 'long' )
+Init.OutPort( 'Max' , 'long' )
+Init.OutPort( 'Incr' , 'long' )
+Init.SetName( 'Init' )
+Init.SetAuthor( '' )
+Init.SetComment( '' )
+Init.Coords( 17 , 257 )
+
+# Creation of intermediate Output variables and of Control Links
+InitDoLoop = Init.Port( 'DoLoop' )
+EndInitDoLoop = GraphLoop.Link( InitDoLoop , EndInit.Port( 'DoLoop' ) )
+InitIndex = Init.Port( 'Index' )
+EndInitIndex = GraphLoop.Link( InitIndex , EndInit.Port( 'Index' ) )
+InitMin = Init.Port( 'Min' )
+EndInitMin = GraphLoop.Link( InitMin , EndInit.Port( 'Min' ) )
+InitMax = Init.Port( 'Max' )
+EndInitMax = GraphLoop.Link( InitMax , EndInit.Port( 'Max' ) )
+InitIncr = Init.Port( 'Incr' )
+EndInitIncr = GraphLoop.Link( InitIncr , EndInit.Port( 'Incr' ) )
+EndInitDoLoop = EndInit.Port( 'DoLoop' )
+InitInitLoop = GraphLoop.Link( EndInitDoLoop , Init.Port( 'InitLoop' ) )
+
+# Creation of Input datas
+InitIndex = Init.Input( 'Index' , 0)
+InitMin = Init.Input( 'Min' , 0)
+InitMax = Init.Input( 'Max' , 10)
+InitIncr = Init.Input( 'Incr' , 1)
+
+# Creation of Output variables
+EndInitIndex = EndInit.Port( 'Index' )
+EndInitMin = EndInit.Port( 'Min' )
+EndInitMax = EndInit.Port( 'Max' )
+EndInitIncr = EndInit.Port( 'Incr' )
+
+GraphLoop.Run()
+
+GraphLoop.DoneW()
+
+GraphLoop.PrintPorts()
+
diff --git a/examples/GraphLoop.xml b/examples/GraphLoop.xml
new file mode 100644 (file)
index 0000000..57ef977
--- /dev/null
@@ -0,0 +1,232 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphLoop</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphLoop</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Init\Index</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Init\Min</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Init\Max</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Init\Incr</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndInit\Index</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndInit\Min</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndInit\Max</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndInit\Incr</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>24/3/2003 - 14:44:35</creation-date>
+   <lastmodification-date>25/3/2003 - 9:50:2</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Init</node-name>
+   <kind>4</kind>
+   <coupled-node>EndInit</coupled-node>
+   <service>
+<service-name>Init</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Index</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Min</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Max</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Incr</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Index</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Min</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Max</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Init</FuncName>
+     <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    if Min <= Max :  ]]></PyFunc>
+     <PyFunc><![CDATA[        Index = Min  ]]></PyFunc>
+     <PyFunc><![CDATA[    else :  ]]></PyFunc>
+     <PyFunc><![CDATA[        Index = Max  ]]></PyFunc>
+     <PyFunc><![CDATA[    return Index,Min,Max,Incr  ]]></PyFunc>    </PyFunction>
+    <PyFunction>
+<FuncName>More</FuncName>
+     <PyFunc><![CDATA[def More(Index,Min,Max,Incr) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    if Index < Max :  ]]></PyFunc>
+     <PyFunc><![CDATA[        DoLoop = 1  ]]></PyFunc>
+     <PyFunc><![CDATA[    else :  ]]></PyFunc>
+     <PyFunc><![CDATA[        DoLoop = 0  ]]></PyFunc>
+     <PyFunc><![CDATA[    return DoLoop,Index,Min,Max,Incr  ]]></PyFunc>    </PyFunction>
+    <PyFunction>
+<FuncName>Next</FuncName>
+     <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    Index = Index + Incr  ]]></PyFunc>
+     <PyFunc><![CDATA[    return Index,Min,Max,Incr ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:50:2</creation-date>
+   <lastmodification-date>25/3/2003 - 9:50:2</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>17</x-position>
+   <y-position>257</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndInit</node-name>
+   <kind>5</kind>
+   <coupled-node>Init</coupled-node>
+   <service>
+<service-name>EndInit</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Index</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Min</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Max</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Incr</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Index</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Min</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Max</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 9:50:2</creation-date>
+   <lastmodification-date>25/3/2003 - 9:50:2</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>626</x-position>
+   <y-position>259</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>Init</fromnode-name>
+   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+   <tonode-name>EndInit</tonode-name>
+   <toserviceparameter-name>DoLoop</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Init</fromnode-name>
+   <fromserviceparameter-name>Index</fromserviceparameter-name>
+   <tonode-name>EndInit</tonode-name>
+   <toserviceparameter-name>Index</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Init</fromnode-name>
+   <fromserviceparameter-name>Min</fromserviceparameter-name>
+   <tonode-name>EndInit</tonode-name>
+   <toserviceparameter-name>Min</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Init</fromnode-name>
+   <fromserviceparameter-name>Max</fromserviceparameter-name>
+   <tonode-name>EndInit</tonode-name>
+   <toserviceparameter-name>Max</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Init</fromnode-name>
+   <fromserviceparameter-name>Incr</fromserviceparameter-name>
+   <tonode-name>EndInit</tonode-name>
+   <toserviceparameter-name>Incr</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>EndInit</fromnode-name>
+   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+   <tonode-name>Init</tonode-name>
+   <toserviceparameter-name>InitLoop</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphLoop</fromnode-name>
+   <fromserviceparameter-name>Init\Index</fromserviceparameter-name>
+   <tonode-name>Init</tonode-name>
+   <toserviceparameter-name>Index</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphLoop</fromnode-name>
+   <fromserviceparameter-name>Init\Min</fromserviceparameter-name>
+   <tonode-name>Init</tonode-name>
+   <toserviceparameter-name>Min</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphLoop</fromnode-name>
+   <fromserviceparameter-name>Init\Max</fromserviceparameter-name>
+   <tonode-name>Init</tonode-name>
+   <toserviceparameter-name>Max</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>10</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphLoop</fromnode-name>
+   <fromserviceparameter-name>Init\Incr</fromserviceparameter-name>
+   <tonode-name>Init</tonode-name>
+   <toserviceparameter-name>Incr</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>1</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphRunSyr.py b/examples/GraphRunSyr.py
new file mode 100644 (file)
index 0000000..44df2e7
--- /dev/null
@@ -0,0 +1,41 @@
+
+from SuperV import *
+
+# Warning this script has an IOR (object reference) as Input :
+# You may have to redefine it with the result of :
+#         SyrStruct.ComponentRef( 'FactoryServer' , 'SyrComponent' )
+# See the Input Port forN.InPort( 'SyrComponent' , 'ComponentRef' )
+
+#SyrStruct = Graph('../share/salome/resources/SyrStruct.xml')
+SyrStruct = Graph('/home/data/jr_HEAD/build/share/salome/resources/SyrStruct.xml')
+
+exec SyrStruct.ListNodes()
+
+forN.Input('min',5)
+forN.Input('max',8)
+
+SyrStruct.Start()
+
+endforN.State()
+
+SyrStruct.State()
+
+endforN.Suspend()
+
+forN.State()
+
+N = forN.Port( 'N' )
+EndN = endwhileNotOne.Port( 'N' )
+K = endforN.Port( 'K' )
+
+forN.Resume()
+
+while SyrStruct.IsDone() == 0 :
+    endforN.SuspendedW()
+    if SyrStruct.IsDone() == 0 :
+        print N.ToString(),'-->',EndN.ToString(),'with',K.ToString(),'steps'
+        endforN.Resume()
+
+SyrStruct.State()
+
+SyrStruct.PrintPorts()
diff --git a/examples/GraphSwitch.py b/examples/GraphSwitch.py
new file mode 100644 (file)
index 0000000..6e82ad3
--- /dev/null
@@ -0,0 +1,78 @@
+
+# Generated python file of Graph GraphSwitch
+
+from SuperV import *
+# Graph creation 
+GraphSwitch = Graph( 'GraphSwitch' )
+GraphSwitch.SetName( 'GraphSwitch' )
+GraphSwitch.SetAuthor( '' )
+GraphSwitch.SetComment( '' )
+GraphSwitch.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+
+# Creation of InLine Nodes
+PyIsOdd = []
+PyIsOdd.append( 'import time' )
+PyIsOdd.append( 'def IsOdd(a) :   ' )
+PyIsOdd.append( '    print a,"IsOdd"  ' )
+PyIsOdd.append( '    time.sleep( 1 )' )
+PyIsOdd.append( '    return a ' )
+IsOdd = GraphSwitch.INode( 'IsOdd' , PyIsOdd )
+IsOdd.InPort( 'a' , 'long' )
+IsOdd.OutPort( 'a' , 'long' )
+IsOdd.SetName( 'IsOdd' )
+IsOdd.SetAuthor( '' )
+IsOdd.SetComment( 'Python function' )
+IsOdd.Coords( 296 , 249 )
+
+# Creation of Switch Nodes
+PySwitch = []
+PySwitch.append( 'import time' )
+PySwitch.append( 'def Switch(a) :  ' )
+PySwitch.append( '    time.sleep( 1 )' )
+PySwitch.append( '    return a & 1,a ' )
+Switch,EndSwitch = GraphSwitch.SNode( 'Switch' , PySwitch )
+EndSwitch.SetName( 'EndSwitch' )
+EndSwitch.SetAuthor( '' )
+EndSwitch.SetComment( '' )
+EndSwitch.Coords( 569 , 94 )
+PyEndSwitch = []
+EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
+EndSwitch.InPort( 'a' , 'long' )
+EndSwitch.OutPort( 'a' , 'long' )
+Switch.InPort( 'a' , 'long' )
+Switch.OutPort( 'Odd' , 'long' )
+Switch.OutPort( 'a' , 'long' )
+Switch.SetName( 'Switch' )
+Switch.SetAuthor( '' )
+Switch.SetComment( '' )
+Switch.Coords( 25 , 94 )
+
+# Creation of intermediate Output variables and of Control Links
+IsOdda = IsOdd.Port( 'a' )
+EndSwitcha = GraphSwitch.Link( IsOdda , EndSwitch.Port( 'a' ) )
+SwitchDefault = Switch.Port( 'Default' )
+EndSwitchDefault = GraphSwitch.Link( SwitchDefault , EndSwitch.Port( 'Default' ) )
+SwitchOdd = Switch.Port( 'Odd' )
+IsOddInGate = GraphSwitch.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
+IsOddInGate.AddCoord( 1 , 249 , 323 )
+IsOddInGate.AddCoord( 2 , 249 , 157 )
+IsOddInGate.AddCoord( 3 , 247 , 157 )
+Switcha = Switch.Port( 'a' )
+IsOdda = GraphSwitch.Link( Switcha , IsOdd.Port( 'a' ) )
+IsOdda.AddCoord( 1 , 196 , 357 )
+IsOdda.AddCoord( 2 , 196 , 186 )
+
+# Creation of Input datas
+Switcha = Switch.Input( 'a' , 2)
+
+# Creation of Output variables
+EndSwitcha = EndSwitch.Port( 'a' )
+
+GraphSwitch.Run()
+
+GraphSwitch.DoneW()
+
+GraphSwitch.PrintPorts()
+
diff --git a/examples/GraphSwitch.xml b/examples/GraphSwitch.xml
new file mode 100644 (file)
index 0000000..49076f6
--- /dev/null
@@ -0,0 +1,171 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphSwitch</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphSwitch</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Switch\a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndSwitch\a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>24/3/2003 - 15:32:28</creation-date>
+   <lastmodification-date>24/3/2003 - 15:35:29</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>IsOdd</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>IsOdd</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>IsOdd</FuncName>
+     <PyFunc><![CDATA[def IsOdd(a) :   ]]></PyFunc>
+     <PyFunc><![CDATA[    print a,"IsOdd"  ]]></PyFunc>
+     <PyFunc><![CDATA[    return a ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>24/3/2003 - 15:34:50</creation-date>
+   <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>296</x-position>
+   <y-position>249</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Switch</node-name>
+   <kind>6</kind>
+   <coupled-node>EndSwitch</coupled-node>
+   <service>
+<service-name>Switch</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Switch</FuncName>
+     <PyFunc><![CDATA[def Switch(a) :  ]]></PyFunc>
+     <PyFunc><![CDATA[    return a & 1,a ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>24/3/2003 - 15:34:50</creation-date>
+   <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>25</x-position>
+   <y-position>94</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndSwitch</node-name>
+   <kind>7</kind>
+   <coupled-node>Switch</coupled-node>
+   <service>
+<service-name>EndSwitch</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>24/3/2003 - 15:34:50</creation-date>
+   <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>569</x-position>
+   <y-position>94</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>IsOdd</fromnode-name>
+   <fromserviceparameter-name>a</fromserviceparameter-name>
+   <tonode-name>EndSwitch</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndSwitch</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>IsOdd</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>249</x>
+     <y>323</y>    </coord>
+    <coord>
+<x>249</x>
+     <y>157</y>    </coord>
+    <coord>
+<x>247</x>
+     <y>157</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Switch</fromnode-name>
+   <fromserviceparameter-name>a</fromserviceparameter-name>
+   <tonode-name>IsOdd</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>196</x>
+     <y>357</y>    </coord>
+    <coord>
+<x>196</x>
+     <y>186</y>    </coord>   </coord-list>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphSwitch</fromnode-name>
+   <fromserviceparameter-name>Switch\a</fromserviceparameter-name>
+   <tonode-name>Switch</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>2</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphSyrControl.py b/examples/GraphSyrControl.py
new file mode 100644 (file)
index 0000000..0c647d2
--- /dev/null
@@ -0,0 +1,216 @@
+
+# Generated python file of Graph GraphSyrControl
+
+from SuperV import *
+# Graph creation 
+GraphSyrControl = Graph( 'GraphSyrControl' )
+GraphSyrControl.SetName( 'GraphSyrControl' )
+GraphSyrControl.SetAuthor( 'JR' )
+GraphSyrControl.SetComment( 'Syracuse algorithm' )
+GraphSyrControl.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+test_ISEVEN = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
+test_ISEVEN.Coords( 190 , 338 )
+test_ISONE = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
+test_ISONE.Coords( 196 , 131 )
+m3p1 = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( 'C_M3P1 from SyrComponent' )
+m3p1.Coords( 621 , 14 )
+div2 = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( 'C_DIV2 from SyrComponent' )
+div2.Coords( 624 , 391 )
+incr = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( 'C_INCR from SyrComponent' )
+incr.Coords( 622 , 199 )
+
+# Creation of InLine Nodes
+Pylabel_begin = []
+Pylabel_begin.append( 'def label_begin( NB , KB ):' )
+Pylabel_begin.append( '    print "label_begin",NB,KB' )
+Pylabel_begin.append( '    return NB,KB' )
+label_begin = GraphSyrControl.INode( 'label_begin' , Pylabel_begin )
+label_begin.InPort( 'NB' , 'long' )
+label_begin.InPort( 'KB' , 'long' )
+label_begin.OutPort( 'NT' , 'long' )
+label_begin.OutPort( 'KT' , 'long' )
+label_begin.SetName( 'label_begin' )
+label_begin.SetAuthor( '' )
+label_begin.SetComment( 'Python function' )
+label_begin.Coords( 7 , 216 )
+Pylabel_test = []
+Pylabel_test.append( 'def label_test( ValEven , ValOne , NB , KB ):' )
+Pylabel_test.append( '    print "label_begin",ValEven,ValOne,NB,KB' )
+Pylabel_test.append( '    return ValEven,ValOne,NB,KB' )
+label_test = GraphSyrControl.INode( 'label_test' , Pylabel_test )
+label_test.InPort( 'ValEven' , 'long' )
+label_test.InPort( 'ValOne' , 'long' )
+label_test.InPort( 'NT' , 'long' )
+label_test.InPort( 'KT' , 'long' )
+label_test.OutPort( 'ValEven' , 'long' )
+label_test.OutPort( 'ValOne' , 'long' )
+label_test.OutPort( 'NT' , 'long' )
+label_test.OutPort( 'KT' , 'long' )
+label_test.SetName( 'label_test' )
+label_test.SetAuthor( '' )
+label_test.SetComment( 'Python function' )
+label_test.Coords( 7 , 216 )
+
+# Creation of Switch Nodes
+Pytest = []
+Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
+Pytest.append( '    Finished = ValOne' )
+Pytest.append( '    if Finished == 0 :' )
+Pytest.append( '        Incr = 1' )
+Pytest.append( '        Even = ValEven' )
+Pytest.append( '        if Even == 0 :' )
+Pytest.append( '            Odd = 1' )
+Pytest.append( '        else :' )
+Pytest.append( '            Odd = 0' )
+Pytest.append( '    else :' )
+Pytest.append( '        Incr = 0' )
+Pytest.append( '        Even = 0' )
+Pytest.append( '        Odd = 0' )
+Pytest.append( '    Even = ValEven' )
+Pytest.append( '    return Finished,Incr,Even,Odd,NT,KT' )
+test,EndSwitch_OneEven = GraphSyrControl.SNode( 'Switch_OneEven' , Pytest )
+EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
+EndSwitch_OneEven.SetAuthor( '' )
+EndSwitch_OneEven.SetComment( '' )
+EndSwitch_OneEven.Coords( 0 , 0 )
+PyEndSwitch_OneEven = []
+PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
+PyEndSwitch_OneEven.append( '    print "label_begin",Finished,K' )
+PyEndSwitch_OneEven.append( '    return Finished,K' )
+EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
+EndSwitch_OneEven.InPort( 'Finished' , 'long' )
+EndSwitch_OneEven.InPort( 'K' , 'long' )
+EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
+EndSwitch_OneEven.OutPort( 'K' , 'long' )
+test.InPort( 'ValOne' , 'long' )
+test.InPort( 'ValEven' , 'long' )
+test.InPort( 'NT' , 'long' )
+test.InPort( 'KT' , 'long' )
+test.OutPort( 'Finished' , 'long' )
+test.OutPort( 'Incr' , 'long' )
+test.OutPort( 'Even' , 'long' )
+test.OutPort( 'Odd' , 'long' )
+test.OutPort( 'N' , 'long' )
+test.OutPort( 'K' , 'long' )
+test.SetName( 'test' )
+test.SetAuthor( '' )
+test.SetComment( '' )
+test.Coords( 399 , 176 )
+
+# Creation of GOTO Nodes
+Pycontrol_m3p1 = []
+Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
+Pycontrol_m3p1.append( '    return 0,1,N,K' )
+control_m3p1 = GraphSyrControl.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
+control_m3p1.InPort( 'N' , 'long' )
+control_m3p1.InPort( 'K' , 'long' )
+control_m3p1.OutPort( 'ValOne' , 'long' )
+control_m3p1.OutPort( 'ValEven' , 'long' )
+control_m3p1.OutPort( 'NT' , 'long' )
+control_m3p1.OutPort( 'KT' , 'long' )
+control_m3p1.SetName( 'control_m3p1' )
+control_m3p1.SetAuthor( '' )
+control_m3p1.SetComment( '' )
+control_m3p1.Coords( 814 , 13 )
+Pycontrol_div2 = []
+Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
+Pycontrol_div2.append( '    return N,NB' )
+control_div2 = GraphSyrControl.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+control_div2.InPort( 'N' , 'long' )
+control_div2.InPort( 'K' , 'long' )
+control_div2.OutPort( 'NB' , 'long' )
+control_div2.OutPort( 'KB' , 'long' )
+control_div2.SetName( 'control_div2' )
+control_div2.SetAuthor( '' )
+control_div2.SetComment( '' )
+control_div2.Coords( 812 , 414 )
+
+# Creation of intermediate Output variables and of Control Links
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+label_testValEven = GraphSyrControl.Link( test_ISEVENBoolEven , label_test.Port( 'ValEven' ) )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+label_testValOne = GraphSyrControl.Link( test_ISONEBoolOne , label_test.Port( 'ValOne' ) )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+control_m3p1N = GraphSyrControl.Link( m3p1anEvenInteger , control_m3p1.Port( 'N' ) )
+div2anInteger = div2.Port( 'anInteger' )
+control_div2N = GraphSyrControl.Link( div2anInteger , control_div2.Port( 'N' ) )
+incraNewCount = incr.Port( 'aNewCount' )
+control_m3p1K = GraphSyrControl.Link( incraNewCount , control_m3p1.Port( 'K' ) )
+control_div2K = GraphSyrControl.Link( incraNewCount , control_div2.Port( 'K' ) )
+label_beginNT = label_begin.Port( 'NT' )
+label_testNT = GraphSyrControl.Link( label_beginNT , label_test.Port( 'NT' ) )
+test_ISEVENanInteger = GraphSyrControl.Link( label_beginNT , test_ISEVEN.Port( 'anInteger' ) )
+test_ISONEanInteger = GraphSyrControl.Link( label_beginNT , test_ISONE.Port( 'anInteger' ) )
+label_beginKT = label_begin.Port( 'KT' )
+label_testKT = GraphSyrControl.Link( label_beginKT , label_test.Port( 'KT' ) )
+label_testValEven = label_test.Port( 'ValEven' )
+testValEven = GraphSyrControl.Link( label_testValEven , test.Port( 'ValEven' ) )
+label_testValOne = label_test.Port( 'ValOne' )
+testValOne = GraphSyrControl.Link( label_testValOne , test.Port( 'ValOne' ) )
+label_testNT = label_test.Port( 'NT' )
+testNT = GraphSyrControl.Link( label_testNT , test.Port( 'NT' ) )
+label_testKT = label_test.Port( 'KT' )
+testKT = GraphSyrControl.Link( label_testKT , test.Port( 'KT' ) )
+testDefault = test.Port( 'Default' )
+EndSwitch_OneEvenDefault = GraphSyrControl.Link( testDefault , EndSwitch_OneEven.Port( 'Default' ) )
+testFinished = test.Port( 'Finished' )
+EndSwitch_OneEvenFinished = GraphSyrControl.Link( testFinished , EndSwitch_OneEven.Port( 'Finished' ) )
+testIncr = test.Port( 'Incr' )
+incrInGate = GraphSyrControl.Link( testIncr , incr.Port( 'InGate' ) )
+testEven = test.Port( 'Even' )
+div2InGate = GraphSyrControl.Link( testEven , div2.Port( 'InGate' ) )
+testOdd = test.Port( 'Odd' )
+m3p1InGate = GraphSyrControl.Link( testOdd , m3p1.Port( 'InGate' ) )
+testN = test.Port( 'N' )
+m3p1anOddInteger = GraphSyrControl.Link( testN , m3p1.Port( 'anOddInteger' ) )
+div2anEvenInteger = GraphSyrControl.Link( testN , div2.Port( 'anEvenInteger' ) )
+testK = test.Port( 'K' )
+EndSwitch_OneEvenK = GraphSyrControl.Link( testK , EndSwitch_OneEven.Port( 'K' ) )
+incraCount = GraphSyrControl.Link( testK , incr.Port( 'aCount' ) )
+
+# Creation of intermediate Output variables and of Loop Links
+control_m3p1OutGate = control_m3p1.Port( 'OutGate' )
+label_testInGate = GraphSyrControl.Link( control_m3p1OutGate , label_test.Port( 'InGate' ) )
+control_div2OutGate = control_div2.Port( 'OutGate' )
+label_beginInGate = GraphSyrControl.Link( control_div2OutGate , label_begin.Port( 'InGate' ) )
+
+# Creation of Input datas
+label_beginNB = label_begin.Input( 'NB' , 7)
+label_beginKB = label_begin.Input( 'KB' , 0)
+
+# Creation of Output variables
+EndSwitch_OneEvenFinished = EndSwitch_OneEven.Port( 'Finished' )
+EndSwitch_OneEvenK = EndSwitch_OneEven.Port( 'K' )
+
+GraphSyrControl.Run( 7 )
+
+GraphSyrControl.DoneW()
+
+GraphSyrControl.State()
+
+GraphSyrControl.PrintPorts()
+
+label_begin.EPyFunc()
+
diff --git a/examples/GraphSyrControl.xml b/examples/GraphSyrControl.xml
new file mode 100644 (file)
index 0000000..b8768ca
--- /dev/null
@@ -0,0 +1,604 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphSyrControl</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphSyrControl</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndSwitch_OneEven\Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndSwitch_OneEven\K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>11/3/2003 - 18:34:21</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>JR</author>
+   <container>?</container>
+   <comment>Syracuse algorithm</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISEVEN</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISEVEN</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolEven</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISEVEN from SyrComponent</comment>
+   <x-position>190</x-position>
+   <y-position>338</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISONE</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISONE</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolOne</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISONE from SyrComponent</comment>
+   <x-position>196</x-position>
+   <y-position>131</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>m3p1</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_M3P1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anOddInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anEvenInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_M3P1 from SyrComponent</comment>
+   <x-position>621</x-position>
+   <y-position>14</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>div2</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_DIV2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anEvenInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_DIV2 from SyrComponent</comment>
+   <x-position>624</x-position>
+   <y-position>391</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>incr</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_INCR</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_INCR from SyrComponent</comment>
+   <x-position>622</x-position>
+   <y-position>199</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_begin</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_begin</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_begin</FuncName>
+     <PyFunc><![CDATA[def label_begin( NB , KB ):]]></PyFunc>
+     <PyFunc><![CDATA[    print "label_begin",NB,KB]]></PyFunc>
+     <PyFunc><![CDATA[    return NB,KB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_test</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_test</FuncName>
+     <PyFunc><![CDATA[def label_test( ValEven , ValOne , NB , KB ):]]></PyFunc>
+     <PyFunc><![CDATA[    print "label_begin",ValEven,ValOne,NB,KB]]></PyFunc>
+     <PyFunc><![CDATA[    return ValEven,ValOne,NB,KB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>test</node-name>
+   <kind>6</kind>
+   <coupled-node>EndSwitch_OneEven</coupled-node>
+   <service>
+<service-name>test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Even</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>N</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Switch_OneEven</FuncName>
+     <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
+     <PyFunc><![CDATA[    Finished = ValOne]]></PyFunc>
+     <PyFunc><![CDATA[    if Finished == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 1]]></PyFunc>
+     <PyFunc><![CDATA[        Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[        if Even == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 1]]></PyFunc>
+     <PyFunc><![CDATA[        else :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    else :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Even = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[    return Finished,Incr,Even,Odd,NT,KT]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>399</x-position>
+   <y-position>176</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndSwitch_OneEven</node-name>
+   <kind>7</kind>
+   <coupled-node>test</coupled-node>
+   <service>
+<service-name>EndSwitch_OneEven</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Finished</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>EndSwitch_OneEven</FuncName>
+     <PyFunc><![CDATA[def EndSwitch_OneEven( Finished , K ):]]></PyFunc>
+     <PyFunc><![CDATA[    print "label_begin",Finished,K]]></PyFunc>
+     <PyFunc><![CDATA[    return Finished,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_m3p1</node-name>
+   <kind>8</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>control_m3p1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_m3p1</FuncName>
+     <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
+     <PyFunc><![CDATA[    return 0,1,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>814</x-position>
+   <y-position>13</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_div2</node-name>
+   <kind>8</kind>
+   <coupled-node>label_begin</coupled-node>
+   <service>
+<service-name>control_div2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KB</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_div2</FuncName>
+     <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return N,NB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:19:38</creation-date>
+   <lastmodification-date>25/3/2003 - 17:19:38</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>812</x-position>
+   <y-position>414</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>test_ISEVEN</fromnode-name>
+   <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test_ISONE</fromnode-name>
+   <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>m3p1</fromnode-name>
+   <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>div2</fromnode-name>
+   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISEVEN</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISONE</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>ValEven</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>ValOne</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndSwitch_OneEven</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Finished</fromserviceparameter-name>
+   <tonode-name>EndSwitch_OneEven</tonode-name>
+   <toserviceparameter-name>Finished</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Incr</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Even</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>EndSwitch_OneEven</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>aCount</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_m3p1</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_div2</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphSyrControl</fromnode-name>
+   <fromserviceparameter-name>label_begin\NB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>NB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>7</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControl</fromnode-name>
+   <fromserviceparameter-name>label_begin\KB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>KB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphSyrControlAve.py b/examples/GraphSyrControlAve.py
new file mode 100644 (file)
index 0000000..995dfda
--- /dev/null
@@ -0,0 +1,309 @@
+
+# Generated python file of Graph GraphSyrControlAve
+
+from SuperV import *
+# Graph creation 
+GraphSyrControlAve = Graph( 'GraphSyrControlAve' )
+GraphSyrControlAve.SetName( 'GraphSyrControlAve' )
+GraphSyrControlAve.SetAuthor( 'JR' )
+GraphSyrControlAve.SetComment( 'Syracuse algorithm' )
+GraphSyrControlAve.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+test_ISEVEN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
+test_ISEVEN.Coords( 190 , 338 )
+test_ISONE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
+test_ISONE.Coords( 196 , 131 )
+m3p1 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( 'C_M3P1 from SyrComponent' )
+m3p1.Coords( 621 , 29 )
+div2 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( 'C_DIV2 from SyrComponent' )
+div2.Coords( 624 , 391 )
+incr = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( 'C_INCR from SyrComponent' )
+incr.Coords( 623 , 206 )
+C_MIN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
+C_MIN.SetName( 'C_MIN' )
+C_MIN.SetAuthor( '' )
+C_MIN.SetContainer( 'localhost/FactoryServer' )
+C_MIN.SetComment( 'C_MIN from SyrComponent' )
+C_MIN.Coords( 0 , 0 )
+C_MAX = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
+C_MAX.SetName( 'C_MAX' )
+C_MAX.SetAuthor( '' )
+C_MAX.SetContainer( 'localhost/FactoryServer' )
+C_MAX.SetComment( 'C_MAX from SyrComponent' )
+C_MAX.Coords( 0 , 0 )
+C_AVERAGE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
+C_AVERAGE.SetName( 'C_AVERAGE' )
+C_AVERAGE.SetAuthor( '' )
+C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
+C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
+C_AVERAGE.Coords( 0 , 0 )
+C_LISTOFSYR = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
+C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
+C_LISTOFSYR.SetAuthor( '' )
+C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
+C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
+C_LISTOFSYR.Coords( 0 , 0 )
+
+# Creation of InLine Nodes
+Pylabel_begin = []
+Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
+Pylabel_begin.append( '    return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
+label_begin = GraphSyrControlAve.INode( 'label_begin' , Pylabel_begin )
+label_begin.InPort( 'NB' , 'long' )
+label_begin.InPort( 'KB' , 'long' )
+label_begin.InPort( 'MINB' , 'long' )
+label_begin.InPort( 'MAXB' , 'long' )
+label_begin.InPort( 'AVERAGEB' , 'double' )
+label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
+label_begin.OutPort( 'NT' , 'long' )
+label_begin.OutPort( 'KT' , 'long' )
+label_begin.OutPort( 'MIN' , 'long' )
+label_begin.OutPort( 'MAX' , 'long' )
+label_begin.OutPort( 'AVERAGE' , 'double' )
+label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
+label_begin.SetName( 'label_begin' )
+label_begin.SetAuthor( '' )
+label_begin.SetComment( 'Python function' )
+label_begin.Coords( 7 , 216 )
+
+# Creation of Switch Nodes
+Pylabel_test = []
+Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
+Pylabel_test.append( '    Finished = ValOne' )
+Pylabel_test.append( '    if Finished == 0 :' )
+Pylabel_test.append( '        Incr = 1' )
+Pylabel_test.append( '        Even = ValEven' )
+Pylabel_test.append( '        if Even == 0 :' )
+Pylabel_test.append( '            Odd = 1' )
+Pylabel_test.append( '        else :' )
+Pylabel_test.append( '            Odd = 0' )
+Pylabel_test.append( '    else :' )
+Pylabel_test.append( '        Incr = 0' )
+Pylabel_test.append( '        Even = 0' )
+Pylabel_test.append( '        Odd = 0' )
+Pylabel_test.append( '    Even = ValEven' )
+Pylabel_test.append( '    return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
+label_test,EndL_OneEven = GraphSyrControlAve.SNode( 'L_OneEven' , Pylabel_test )
+EndL_OneEven.SetName( 'EndL_OneEven' )
+EndL_OneEven.SetAuthor( '' )
+EndL_OneEven.SetComment( '' )
+EndL_OneEven.Coords( 1045 , 278 )
+PyEndL_OneEven = []
+EndL_OneEven.SetPyFunction( 'EndL_OneEven' , PyEndL_OneEven )
+label_test.InPort( 'ValOne' , 'long' )
+label_test.InPort( 'ValEven' , 'long' )
+label_test.InPort( 'NT' , 'long' )
+label_test.InPort( 'KT' , 'long' )
+label_test.InPort( 'MIN' , 'long' )
+label_test.InPort( 'MAX' , 'long' )
+label_test.InPort( 'AVERAGE' , 'double' )
+label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
+label_test.OutPort( 'Finished' , 'long' )
+label_test.OutPort( 'Incr' , 'long' )
+label_test.OutPort( 'Even' , 'long' )
+label_test.OutPort( 'Odd' , 'long' )
+label_test.OutPort( 'N' , 'long' )
+label_test.OutPort( 'K' , 'long' )
+label_test.OutPort( 'MINT' , 'long' )
+label_test.OutPort( 'MAXT' , 'long' )
+label_test.OutPort( 'AVERAGET' , 'double' )
+label_test.OutPort( 'SYRLISTT' , 'ListOfSyr' )
+label_test.SetName( 'label_test' )
+label_test.SetAuthor( '' )
+label_test.SetComment( '' )
+label_test.Coords( 399 , 176 )
+
+# Creation of GOTO Nodes
+Pycontrol_m3p1 = []
+Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
+Pycontrol_m3p1.append( '    return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
+control_m3p1 = GraphSyrControlAve.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
+control_m3p1.InPort( 'N' , 'long' )
+control_m3p1.InPort( 'K' , 'long' )
+control_m3p1.InPort( 'MINT' , 'long' )
+control_m3p1.InPort( 'MAXT' , 'long' )
+control_m3p1.InPort( 'AVERAGET' , 'double' )
+control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
+control_m3p1.OutPort( 'ValOne' , 'long' )
+control_m3p1.OutPort( 'ValEven' , 'long' )
+control_m3p1.OutPort( 'NT' , 'long' )
+control_m3p1.OutPort( 'KT' , 'long' )
+control_m3p1.OutPort( 'MIN' , 'long' )
+control_m3p1.OutPort( 'MAX' , 'long' )
+control_m3p1.OutPort( 'AVERAGE' , 'double' )
+control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
+control_m3p1.SetName( 'control_m3p1' )
+control_m3p1.SetAuthor( '' )
+control_m3p1.SetComment( '' )
+control_m3p1.Coords( 808 , 29 )
+Pycontrol_div2 = []
+Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
+Pycontrol_div2.append( '    return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
+control_div2 = GraphSyrControlAve.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+control_div2.InPort( 'N' , 'long' )
+control_div2.InPort( 'K' , 'long' )
+control_div2.InPort( 'MINT' , 'long' )
+control_div2.InPort( 'MAXT' , 'long' )
+control_div2.InPort( 'AVERAGET' , 'double' )
+control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
+control_div2.OutPort( 'NB' , 'long' )
+control_div2.OutPort( 'KB' , 'long' )
+control_div2.OutPort( 'MINB' , 'long' )
+control_div2.OutPort( 'MAXB' , 'long' )
+control_div2.OutPort( 'AVERAGEB' , 'double' )
+control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
+control_div2.SetName( 'control_div2' )
+control_div2.SetAuthor( '' )
+control_div2.SetComment( '' )
+control_div2.Coords( 812 , 357 )
+
+# Creation of intermediate Output variables and of Control Links
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+label_testValEven = GraphSyrControlAve.Link( test_ISEVENBoolEven , label_test.Port( 'ValEven' ) )
+label_testValEven.AddCoord( 1 , 385 , 358 )
+label_testValEven.AddCoord( 2 , 385 , 490 )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+label_testValOne = GraphSyrControlAve.Link( test_ISONEBoolOne , label_test.Port( 'ValOne' ) )
+label_testValOne.AddCoord( 1 , 385 , 328 )
+label_testValOne.AddCoord( 2 , 385 , 283 )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+control_m3p1N = GraphSyrControlAve.Link( m3p1anEvenInteger , control_m3p1.Port( 'N' ) )
+control_m3p1N.AddCoord( 1 , 786 , 181 )
+control_m3p1N.AddCoord( 2 , 786 , 182 )
+div2anInteger = div2.Port( 'anInteger' )
+control_div2N = GraphSyrControlAve.Link( div2anInteger , control_div2.Port( 'N' ) )
+control_div2N.AddCoord( 1 , 799 , 509 )
+control_div2N.AddCoord( 2 , 799 , 543 )
+incraNewCount = incr.Port( 'aNewCount' )
+control_div2K = GraphSyrControlAve.Link( incraNewCount , control_div2.Port( 'K' ) )
+control_div2K.AddCoord( 1 , 787 , 539 )
+control_div2K.AddCoord( 2 , 787 , 359 )
+control_m3p1K = GraphSyrControlAve.Link( incraNewCount , control_m3p1.Port( 'K' ) )
+control_m3p1K.AddCoord( 1 , 790 , 211 )
+control_m3p1K.AddCoord( 2 , 790 , 358 )
+C_AVERAGEaCount = GraphSyrControlAve.Link( incraNewCount , C_AVERAGE.Port( 'aCount' ) )
+label_beginNT = label_begin.Port( 'NT' )
+test_ISONEanInteger = GraphSyrControlAve.Link( label_beginNT , test_ISONE.Port( 'anInteger' ) )
+test_ISONEanInteger.AddCoord( 1 , 175 , 283 )
+test_ISONEanInteger.AddCoord( 2 , 175 , 368 )
+label_testNT = GraphSyrControlAve.Link( label_beginNT , label_test.Port( 'NT' ) )
+label_testNT.AddCoord( 1 , 367 , 388 )
+label_testNT.AddCoord( 2 , 367 , 319 )
+label_testNT.AddCoord( 3 , 175 , 321 )
+label_testNT.AddCoord( 4 , 175 , 368 )
+test_ISEVENanInteger = GraphSyrControlAve.Link( label_beginNT , test_ISEVEN.Port( 'anInteger' ) )
+test_ISEVENanInteger.AddCoord( 1 , 183 , 486 )
+test_ISEVENanInteger.AddCoord( 2 , 183 , 368 )
+label_beginKT = label_begin.Port( 'KT' )
+label_testKT = GraphSyrControlAve.Link( label_beginKT , label_test.Port( 'KT' ) )
+label_testKT.AddCoord( 1 , 373 , 418 )
+label_testKT.AddCoord( 2 , 373 , 518 )
+label_testKT.AddCoord( 3 , 176 , 519 )
+label_testKT.AddCoord( 4 , 176 , 398 )
+label_beginMIN = label_begin.Port( 'MIN' )
+label_testMIN = GraphSyrControlAve.Link( label_beginMIN , label_test.Port( 'MIN' ) )
+label_beginMAX = label_begin.Port( 'MAX' )
+label_testMAX = GraphSyrControlAve.Link( label_beginMAX , label_test.Port( 'MAX' ) )
+label_beginAVERAGE = label_begin.Port( 'AVERAGE' )
+label_testAVERAGE = GraphSyrControlAve.Link( label_beginAVERAGE , label_test.Port( 'AVERAGE' ) )
+label_beginSYRLIST = label_begin.Port( 'SYRLIST' )
+label_testSYRLIST = GraphSyrControlAve.Link( label_beginSYRLIST , label_test.Port( 'SYRLIST' ) )
+label_testDefault = label_test.Port( 'Default' )
+EndL_OneEvenDefault = GraphSyrControlAve.Link( label_testDefault , EndL_OneEven.Port( 'Default' ) )
+label_testIncr = label_test.Port( 'Incr' )
+incrInGate = GraphSyrControlAve.Link( label_testIncr , incr.Port( 'InGate' ) )
+incrInGate.AddCoord( 1 , 578 , 328 )
+incrInGate.AddCoord( 2 , 578 , 358 )
+label_testEven = label_test.Port( 'Even' )
+div2InGate = GraphSyrControlAve.Link( label_testEven , div2.Port( 'InGate' ) )
+div2InGate.AddCoord( 1 , 578 , 513 )
+div2InGate.AddCoord( 2 , 578 , 388 )
+label_testOdd = label_test.Port( 'Odd' )
+m3p1InGate = GraphSyrControlAve.Link( label_testOdd , m3p1.Port( 'InGate' ) )
+m3p1InGate.AddCoord( 1 , 565 , 151 )
+m3p1InGate.AddCoord( 2 , 565 , 418 )
+label_testN = label_test.Port( 'N' )
+m3p1anOddInteger = GraphSyrControlAve.Link( label_testN , m3p1.Port( 'anOddInteger' ) )
+m3p1anOddInteger.AddCoord( 1 , 609 , 181 )
+m3p1anOddInteger.AddCoord( 2 , 609 , 448 )
+div2anEvenInteger = GraphSyrControlAve.Link( label_testN , div2.Port( 'anEvenInteger' ) )
+div2anEvenInteger.AddCoord( 1 , 612 , 543 )
+div2anEvenInteger.AddCoord( 2 , 612 , 448 )
+C_MINanInteger = GraphSyrControlAve.Link( label_testN , C_MIN.Port( 'anInteger' ) )
+C_MAXanInteger = GraphSyrControlAve.Link( label_testN , C_MAX.Port( 'anInteger' ) )
+C_AVERAGEanInteger = GraphSyrControlAve.Link( label_testN , C_AVERAGE.Port( 'anInteger' ) )
+label_testK = label_test.Port( 'K' )
+incraCount = GraphSyrControlAve.Link( label_testK , incr.Port( 'aCount' ) )
+incraCount.AddCoord( 1 , 594 , 358 )
+incraCount.AddCoord( 2 , 594 , 478 )
+label_testMINT = label_test.Port( 'MINT' )
+C_MINaMinVal = GraphSyrControlAve.Link( label_testMINT , C_MIN.Port( 'aMinVal' ) )
+label_testMAXT = label_test.Port( 'MAXT' )
+C_MAXaMaxVal = GraphSyrControlAve.Link( label_testMAXT , C_MAX.Port( 'aMaxVal' ) )
+label_testSYRLISTT = label_test.Port( 'SYRLISTT' )
+C_AVERAGEaListOfSyr = GraphSyrControlAve.Link( label_testSYRLISTT , C_AVERAGE.Port( 'aListOfSyr' ) )
+control_m3p1OutGate = control_m3p1.Port( 'OutGate' )
+label_testInGate = GraphSyrControlAve.Link( control_m3p1OutGate , label_test.Port( 'InGate' ) )
+C_MINaNewMinVal = C_MIN.Port( 'aNewMinVal' )
+control_m3p1MINT = GraphSyrControlAve.Link( C_MINaNewMinVal , control_m3p1.Port( 'MINT' ) )
+control_div2MINT = GraphSyrControlAve.Link( C_MINaNewMinVal , control_div2.Port( 'MINT' ) )
+C_MAXaNewMaxVal = C_MAX.Port( 'aNewMaxVal' )
+control_m3p1MAXT = GraphSyrControlAve.Link( C_MAXaNewMaxVal , control_m3p1.Port( 'MAXT' ) )
+control_div2MAXT = GraphSyrControlAve.Link( C_MAXaNewMaxVal , control_div2.Port( 'MAXT' ) )
+C_AVERAGEaNewListOfSyr = C_AVERAGE.Port( 'aNewListOfSyr' )
+control_m3p1SYRLISTT = GraphSyrControlAve.Link( C_AVERAGEaNewListOfSyr , control_m3p1.Port( 'SYRLISTT' ) )
+control_div2SYRLISTT = GraphSyrControlAve.Link( C_AVERAGEaNewListOfSyr , control_div2.Port( 'SYRLISTT' ) )
+C_AVERAGEanAverage = C_AVERAGE.Port( 'anAverage' )
+control_m3p1AVERAGET = GraphSyrControlAve.Link( C_AVERAGEanAverage , control_m3p1.Port( 'AVERAGET' ) )
+control_div2AVERAGET = GraphSyrControlAve.Link( C_AVERAGEanAverage , control_div2.Port( 'AVERAGET' ) )
+C_LISTOFSYRaListOfSyr = C_LISTOFSYR.Port( 'aListOfSyr' )
+label_beginSYRLISTB = GraphSyrControlAve.Link( C_LISTOFSYRaListOfSyr , label_begin.Port( 'SYRLISTB' ) )
+
+# Creation of intermediate Output variables and of Loop Links
+control_div2OutGate = control_div2.Port( 'OutGate' )
+label_beginInGate = GraphSyrControlAve.Link( control_div2OutGate , label_begin.Port( 'InGate' ) )
+
+# Creation of Input datas
+label_beginNB = label_begin.Input( 'NB' , 7)
+label_beginKB = label_begin.Input( 'KB' , 0)
+label_beginMINB = label_begin.Input( 'MINB' , 0)
+label_beginMAXB = label_begin.Input( 'MAXB' , 0)
+label_beginAVERAGEB = label_begin.Input( 'AVERAGEB' , 0)
+
+# Creation of Output variables
+label_testFinished = label_test.Port( 'Finished' )
+label_testAVERAGET = label_test.Port( 'AVERAGET' )
+
+GraphSyrControlAve.PrintPorts()
+
+GraphSyrControlAve.Export('../GraphSyrControlAve')
+
+GraphSyrControlAve.Run( 7 )
+
+GraphSyrControlAve.DoneW()
+
+GraphSyrControlAve.State()
+
+GraphSyrControlAve.PrintPorts()
+
diff --git a/examples/GraphSyrControlAve.xml b/examples/GraphSyrControlAve.xml
new file mode 100644 (file)
index 0000000..1d8b6d6
--- /dev/null
@@ -0,0 +1,978 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphSyrControlAve</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphSyrControlAve</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\KB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\MINB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\MAXB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>double</inParameter-type>
+      <inParameter-name>label_begin\AVERAGEB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>label_test\Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>label_test\AVERAGET</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>11/3/2003 - 17:46:14</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>JR</author>
+   <container>?</container>
+   <comment>Syracuse algorithm</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISEVEN</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISEVEN</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolEven</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISEVEN from SyrComponent</comment>
+   <x-position>190</x-position>
+   <y-position>338</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISONE</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISONE</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolOne</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISONE from SyrComponent</comment>
+   <x-position>196</x-position>
+   <y-position>131</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>m3p1</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_M3P1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anOddInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anEvenInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_M3P1 from SyrComponent</comment>
+   <x-position>621</x-position>
+   <y-position>29</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>div2</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_DIV2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anEvenInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_DIV2 from SyrComponent</comment>
+   <x-position>624</x-position>
+   <y-position>391</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>incr</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_INCR</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_INCR from SyrComponent</comment>
+   <x-position>623</x-position>
+   <y-position>206</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_begin</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_begin</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MINB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MAXB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>double</inParameter-type>
+      <inParameter-name>AVERAGEB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>ListOfSyr</inParameter-type>
+      <inParameter-name>SYRLISTB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MIN</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MAX</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>AVERAGE</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>SYRLIST</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_begin</FuncName>
+     <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_test</node-name>
+   <kind>6</kind>
+   <coupled-node>EndL_OneEven</coupled-node>
+   <service>
+<service-name>label_test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MIN</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MAX</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>double</inParameter-type>
+      <inParameter-name>AVERAGE</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>ListOfSyr</inParameter-type>
+      <inParameter-name>SYRLIST</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Even</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>N</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MINT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MAXT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>AVERAGET</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>SYRLISTT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>L_OneEven</FuncName>
+     <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
+     <PyFunc><![CDATA[    Finished = ValOne]]></PyFunc>
+     <PyFunc><![CDATA[    if Finished == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 1]]></PyFunc>
+     <PyFunc><![CDATA[        Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[        if Even == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 1]]></PyFunc>
+     <PyFunc><![CDATA[        else :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    else :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Even = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[    return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>399</x-position>
+   <y-position>176</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndL_OneEven</node-name>
+   <kind>7</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>EndL_OneEven</service-name>
+    <inParameter-list/>
+    <outParameter-list/>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>1045</x-position>
+   <y-position>278</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_m3p1</node-name>
+   <kind>8</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>control_m3p1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MINT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MAXT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>double</inParameter-type>
+      <inParameter-name>AVERAGET</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>ListOfSyr</inParameter-type>
+      <inParameter-name>SYRLISTT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MIN</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MAX</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>AVERAGE</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>SYRLIST</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>C_NotOneIsEven</FuncName>
+     <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
+     <PyFunc><![CDATA[    return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>808</x-position>
+   <y-position>29</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_div2</node-name>
+   <kind>8</kind>
+   <coupled-node>label_begin</coupled-node>
+   <service>
+<service-name>control_div2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MINT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>MAXT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>double</inParameter-type>
+      <inParameter-name>AVERAGET</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>ListOfSyr</inParameter-type>
+      <inParameter-name>SYRLISTT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MINB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>MAXB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>AVERAGEB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>SYRLISTB</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_div2</FuncName>
+     <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>812</x-position>
+   <y-position>357</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>C_MIN</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_MIN</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aMinVal</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewMinVal</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_MIN from SyrComponent</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>C_MAX</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_MAX</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aMaxVal</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewMaxVal</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_MAX from SyrComponent</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>C_AVERAGE</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_AVERAGE</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>ListOfSyr</inParameter-type>
+      <inParameter-name>aListOfSyr</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>aNewListOfSyr</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>double</outParameter-type>
+      <outParameter-name>anAverage</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_AVERAGE from SyrComponent</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>C_LISTOFSYR</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_LISTOFSYR</service-name>
+    <inParameter-list/>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>ListOfSyr</outParameter-type>
+      <outParameter-name>aListOfSyr</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:27:49</creation-date>
+   <lastmodification-date>25/3/2003 - 17:27:49</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_LISTOFSYR from SyrComponent</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>test_ISEVEN</fromnode-name>
+   <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>385</x>
+     <y>358</y>    </coord>
+    <coord>
+<x>385</x>
+     <y>490</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>test_ISONE</fromnode-name>
+   <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>385</x>
+     <y>328</y>    </coord>
+    <coord>
+<x>385</x>
+     <y>283</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>m3p1</fromnode-name>
+   <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>786</x>
+     <y>181</y>    </coord>
+    <coord>
+<x>786</x>
+     <y>182</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>div2</fromnode-name>
+   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>799</x>
+     <y>509</y>    </coord>
+    <coord>
+<x>799</x>
+     <y>543</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>787</x>
+     <y>539</y>    </coord>
+    <coord>
+<x>787</x>
+     <y>359</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>790</x>
+     <y>211</y>    </coord>
+    <coord>
+<x>790</x>
+     <y>358</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>C_AVERAGE</tonode-name>
+   <toserviceparameter-name>aCount</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISONE</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>175</x>
+     <y>283</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>367</x>
+     <y>388</y>    </coord>
+    <coord>
+<x>367</x>
+     <y>319</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>321</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISEVEN</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>183</x>
+     <y>486</y>    </coord>
+    <coord>
+<x>183</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>373</x>
+     <y>418</y>    </coord>
+    <coord>
+<x>373</x>
+     <y>518</y>    </coord>
+    <coord>
+<x>176</x>
+     <y>519</y>    </coord>
+    <coord>
+<x>176</x>
+     <y>398</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>MIN</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>MIN</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>MAX</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>MAX</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>AVERAGE</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>SYRLIST</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndL_OneEven</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Incr</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>578</x>
+     <y>328</y>    </coord>
+    <coord>
+<x>578</x>
+     <y>358</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Even</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>578</x>
+     <y>513</y>    </coord>
+    <coord>
+<x>578</x>
+     <y>388</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>565</x>
+     <y>151</y>    </coord>
+    <coord>
+<x>565</x>
+     <y>418</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>609</x>
+     <y>181</y>    </coord>
+    <coord>
+<x>609</x>
+     <y>448</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>612</x>
+     <y>543</y>    </coord>
+    <coord>
+<x>612</x>
+     <y>448</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>C_MIN</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>C_MAX</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>C_AVERAGE</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>aCount</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>594</x>
+     <y>358</y>    </coord>
+    <coord>
+<x>594</x>
+     <y>478</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>MINT</fromserviceparameter-name>
+   <tonode-name>C_MIN</tonode-name>
+   <toserviceparameter-name>aMinVal</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>MAXT</fromserviceparameter-name>
+   <tonode-name>C_MAX</tonode-name>
+   <toserviceparameter-name>aMaxVal</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>SYRLISTT</fromserviceparameter-name>
+   <tonode-name>C_AVERAGE</tonode-name>
+   <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_m3p1</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_div2</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_MIN</fromnode-name>
+   <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>MINT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_MIN</fromnode-name>
+   <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>MINT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_MAX</fromnode-name>
+   <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>MAXT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_MAX</fromnode-name>
+   <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>MAXT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_AVERAGE</fromnode-name>
+   <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_AVERAGE</fromnode-name>
+   <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_AVERAGE</fromnode-name>
+   <fromserviceparameter-name>anAverage</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>AVERAGET</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_AVERAGE</fromnode-name>
+   <fromserviceparameter-name>anAverage</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>AVERAGET</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>C_LISTOFSYR</fromnode-name>
+   <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphSyrControlAve</fromnode-name>
+   <fromserviceparameter-name>label_begin\NB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>NB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>7</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlAve</fromnode-name>
+   <fromserviceparameter-name>label_begin\KB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>KB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlAve</fromnode-name>
+   <fromserviceparameter-name>label_begin\MINB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>MINB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlAve</fromnode-name>
+   <fromserviceparameter-name>label_begin\MAXB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>MAXB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlAve</fromnode-name>
+   <fromserviceparameter-name>label_begin\AVERAGEB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphSyrControlDefault.py b/examples/GraphSyrControlDefault.py
new file mode 100644 (file)
index 0000000..489d53e
--- /dev/null
@@ -0,0 +1,206 @@
+
+# Generated python file of Graph GraphSyrControlDefault
+
+from SuperV import *
+# Graph creation 
+GraphSyrControlDefault = Graph( 'GraphSyrControlDefault' )
+GraphSyrControlDefault.SetName( 'GraphSyrControlDefault' )
+GraphSyrControlDefault.SetAuthor( 'JR' )
+GraphSyrControlDefault.SetComment( 'Syracuse algorithm' )
+GraphSyrControlDefault.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+test_ISEVEN = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
+test_ISEVEN.Coords( 190 , 338 )
+test_ISONE = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
+test_ISONE.Coords( 196 , 131 )
+m3p1 = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( 'C_M3P1 from SyrComponent' )
+m3p1.Coords( 621 , 14 )
+div2 = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( 'C_DIV2 from SyrComponent' )
+div2.Coords( 624 , 391 )
+incr = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( 'C_INCR from SyrComponent' )
+incr.Coords( 622 , 199 )
+
+# Creation of InLine Nodes
+Pylabel_begin = []
+Pylabel_begin.append( 'def label_begin( NB , KB ):' )
+Pylabel_begin.append( '    print "label_begin",NB,KB' )
+Pylabel_begin.append( '    return NB,KB' )
+label_begin = GraphSyrControlDefault.INode( 'label_begin' , Pylabel_begin )
+label_begin.InPort( 'NB' , 'long' )
+label_begin.InPort( 'KB' , 'long' )
+label_begin.OutPort( 'NT' , 'long' )
+label_begin.OutPort( 'KT' , 'long' )
+label_begin.SetName( 'label_begin' )
+label_begin.SetAuthor( '' )
+label_begin.SetComment( 'Python function' )
+label_begin.Coords( 7 , 216 )
+Pylabel_test = []
+Pylabel_test.append( 'def label_test( ValEven , ValOne , NB , KB ):' )
+Pylabel_test.append( '    print "label_begin",ValEven,ValOne,NB,KB' )
+Pylabel_test.append( '    return ValEven,ValOne,NB,KB' )
+label_test = GraphSyrControlDefault.INode( 'label_test' , Pylabel_test )
+label_test.InPort( 'ValEven' , 'long' )
+label_test.InPort( 'ValOne' , 'long' )
+label_test.InPort( 'NT' , 'long' )
+label_test.InPort( 'KT' , 'long' )
+label_test.OutPort( 'ValEven' , 'long' )
+label_test.OutPort( 'ValOne' , 'long' )
+label_test.OutPort( 'NT' , 'long' )
+label_test.OutPort( 'KT' , 'long' )
+label_test.SetName( 'label_test' )
+label_test.SetAuthor( '' )
+label_test.SetComment( 'Python function' )
+label_test.Coords( 7 , 216 )
+
+# Creation of Switch Nodes
+Pytest = []
+Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
+Pytest.append( '    Finished = ValOne' )
+Pytest.append( '    if Finished == 0 :' )
+Pytest.append( '        Incr = 1' )
+Pytest.append( '        Even = ValEven' )
+Pytest.append( '        if Even == 0 :' )
+Pytest.append( '            Odd = 1' )
+Pytest.append( '        else :' )
+Pytest.append( '            Odd = 0' )
+Pytest.append( '    else :' )
+Pytest.append( '        Incr = 0' )
+Pytest.append( '        Even = 0' )
+Pytest.append( '        Odd = 0' )
+Pytest.append( '    Even = ValEven' )
+Pytest.append( '    return Incr,Even,Odd,NT,KT' )
+test,EndSwitch_OneEven = GraphSyrControlDefault.SNode( 'Switch_OneEven' , Pytest )
+EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
+EndSwitch_OneEven.SetAuthor( '' )
+EndSwitch_OneEven.SetComment( '' )
+EndSwitch_OneEven.Coords( 1004 , 256 )
+PyEndSwitch_OneEven = []
+EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
+EndSwitch_OneEven.InPort( 'K' , 'long' )
+EndSwitch_OneEven.OutPort( 'K' , 'long' )
+test.InPort( 'ValOne' , 'long' )
+test.InPort( 'ValEven' , 'long' )
+test.InPort( 'NT' , 'long' )
+test.InPort( 'KT' , 'long' )
+test.OutPort( 'Incr' , 'long' )
+test.OutPort( 'Even' , 'long' )
+test.OutPort( 'Odd' , 'long' )
+test.OutPort( 'N' , 'long' )
+test.OutPort( 'K' , 'long' )
+test.SetName( 'test' )
+test.SetAuthor( '' )
+test.SetComment( '' )
+test.Coords( 399 , 176 )
+
+# Creation of GOTO Nodes
+Pycontrol_m3p1 = []
+Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
+Pycontrol_m3p1.append( '    return 0,1,N,K' )
+control_m3p1 = GraphSyrControlDefault.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
+control_m3p1.InPort( 'N' , 'long' )
+control_m3p1.InPort( 'K' , 'long' )
+control_m3p1.OutPort( 'ValOne' , 'long' )
+control_m3p1.OutPort( 'ValEven' , 'long' )
+control_m3p1.OutPort( 'NT' , 'long' )
+control_m3p1.OutPort( 'KT' , 'long' )
+control_m3p1.SetName( 'control_m3p1' )
+control_m3p1.SetAuthor( '' )
+control_m3p1.SetComment( '' )
+control_m3p1.Coords( 814 , 13 )
+Pycontrol_div2 = []
+Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
+Pycontrol_div2.append( '    return N,NB' )
+control_div2 = GraphSyrControlDefault.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+control_div2.InPort( 'N' , 'long' )
+control_div2.InPort( 'K' , 'long' )
+control_div2.OutPort( 'NB' , 'long' )
+control_div2.OutPort( 'KB' , 'long' )
+control_div2.SetName( 'control_div2' )
+control_div2.SetAuthor( '' )
+control_div2.SetComment( '' )
+control_div2.Coords( 812 , 414 )
+
+# Creation of intermediate Output variables and of Control Links
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+label_testValEven = GraphSyrControlDefault.Link( test_ISEVENBoolEven , label_test.Port( 'ValEven' ) )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+label_testValOne = GraphSyrControlDefault.Link( test_ISONEBoolOne , label_test.Port( 'ValOne' ) )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+control_m3p1N = GraphSyrControlDefault.Link( m3p1anEvenInteger , control_m3p1.Port( 'N' ) )
+div2anInteger = div2.Port( 'anInteger' )
+control_div2N = GraphSyrControlDefault.Link( div2anInteger , control_div2.Port( 'N' ) )
+incraNewCount = incr.Port( 'aNewCount' )
+control_m3p1K = GraphSyrControlDefault.Link( incraNewCount , control_m3p1.Port( 'K' ) )
+control_div2K = GraphSyrControlDefault.Link( incraNewCount , control_div2.Port( 'K' ) )
+label_beginNT = label_begin.Port( 'NT' )
+label_testNT = GraphSyrControlDefault.Link( label_beginNT , label_test.Port( 'NT' ) )
+test_ISEVENanInteger = GraphSyrControlDefault.Link( label_beginNT , test_ISEVEN.Port( 'anInteger' ) )
+test_ISONEanInteger = GraphSyrControlDefault.Link( label_beginNT , test_ISONE.Port( 'anInteger' ) )
+label_beginKT = label_begin.Port( 'KT' )
+label_testKT = GraphSyrControlDefault.Link( label_beginKT , label_test.Port( 'KT' ) )
+label_testValEven = label_test.Port( 'ValEven' )
+testValEven = GraphSyrControlDefault.Link( label_testValEven , test.Port( 'ValEven' ) )
+label_testValOne = label_test.Port( 'ValOne' )
+testValOne = GraphSyrControlDefault.Link( label_testValOne , test.Port( 'ValOne' ) )
+label_testNT = label_test.Port( 'NT' )
+testNT = GraphSyrControlDefault.Link( label_testNT , test.Port( 'NT' ) )
+label_testKT = label_test.Port( 'KT' )
+testKT = GraphSyrControlDefault.Link( label_testKT , test.Port( 'KT' ) )
+testDefault = test.Port( 'Default' )
+EndSwitch_OneEvenDefault = GraphSyrControlDefault.Link( testDefault , EndSwitch_OneEven.Port( 'Default' ) )
+testIncr = test.Port( 'Incr' )
+incrInGate = GraphSyrControlDefault.Link( testIncr , incr.Port( 'InGate' ) )
+testEven = test.Port( 'Even' )
+div2InGate = GraphSyrControlDefault.Link( testEven , div2.Port( 'InGate' ) )
+testOdd = test.Port( 'Odd' )
+m3p1InGate = GraphSyrControlDefault.Link( testOdd , m3p1.Port( 'InGate' ) )
+testN = test.Port( 'N' )
+m3p1anOddInteger = GraphSyrControlDefault.Link( testN , m3p1.Port( 'anOddInteger' ) )
+div2anEvenInteger = GraphSyrControlDefault.Link( testN , div2.Port( 'anEvenInteger' ) )
+testK = test.Port( 'K' )
+EndSwitch_OneEvenK = GraphSyrControlDefault.Link( testK , EndSwitch_OneEven.Port( 'K' ) )
+incraCount = GraphSyrControlDefault.Link( testK , incr.Port( 'aCount' ) )
+
+# Creation of intermediate Output variables and of Loop Links
+control_m3p1OutGate = control_m3p1.Port( 'OutGate' )
+label_testInGate = GraphSyrControlDefault.Link( control_m3p1OutGate , label_test.Port( 'InGate' ) )
+control_div2OutGate = control_div2.Port( 'OutGate' )
+label_beginInGate = GraphSyrControlDefault.Link( control_div2OutGate , label_begin.Port( 'InGate' ) )
+
+# Creation of Input datas
+label_beginNB = label_begin.Input( 'NB' , 7)
+label_beginKB = label_begin.Input( 'KB' , 0)
+
+# Creation of Output variables
+EndSwitch_OneEvenK = EndSwitch_OneEven.Port( 'K' )
+
+GraphSyrControlDefault.Run()
+
+GraphSyrControlDefault.DoneW()
+
+GraphSyrControlDefault.State()
+
+GraphSyrControlDefault.PrintPorts()
+
+EndSwitch_OneEven.PrintPorts()
diff --git a/examples/GraphSyrControlDefault.xml b/examples/GraphSyrControlDefault.xml
new file mode 100644 (file)
index 0000000..259aa4b
--- /dev/null
@@ -0,0 +1,582 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphSyrControlDefault</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphSyrControlDefault</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>EndSwitch_OneEven\K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>19/3/2003 - 16:49:51</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>JR</author>
+   <container>?</container>
+   <comment>Syracuse algorithm</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISEVEN</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISEVEN</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolEven</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISEVEN from SyrComponent</comment>
+   <x-position>190</x-position>
+   <y-position>338</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISONE</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISONE</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolOne</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISONE from SyrComponent</comment>
+   <x-position>196</x-position>
+   <y-position>131</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>m3p1</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_M3P1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anOddInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anEvenInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_M3P1 from SyrComponent</comment>
+   <x-position>621</x-position>
+   <y-position>14</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>div2</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_DIV2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anEvenInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_DIV2 from SyrComponent</comment>
+   <x-position>624</x-position>
+   <y-position>391</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>incr</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_INCR</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_INCR from SyrComponent</comment>
+   <x-position>622</x-position>
+   <y-position>199</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_begin</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_begin</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_begin</FuncName>
+     <PyFunc><![CDATA[def label_begin( NB , KB ):]]></PyFunc>
+     <PyFunc><![CDATA[    print "label_begin",NB,KB]]></PyFunc>
+     <PyFunc><![CDATA[    return NB,KB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_test</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_test</FuncName>
+     <PyFunc><![CDATA[def label_test( ValEven , ValOne , NB , KB ):]]></PyFunc>
+     <PyFunc><![CDATA[    print "label_begin",ValEven,ValOne,NB,KB]]></PyFunc>
+     <PyFunc><![CDATA[    return ValEven,ValOne,NB,KB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>test</node-name>
+   <kind>6</kind>
+   <coupled-node>EndSwitch_OneEven</coupled-node>
+   <service>
+<service-name>test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Even</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>N</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Switch_OneEven</FuncName>
+     <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
+     <PyFunc><![CDATA[    Finished = ValOne]]></PyFunc>
+     <PyFunc><![CDATA[    if Finished == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 1]]></PyFunc>
+     <PyFunc><![CDATA[        Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[        if Even == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 1]]></PyFunc>
+     <PyFunc><![CDATA[        else :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    else :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Even = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[    return Incr,Even,Odd,NT,KT]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>399</x-position>
+   <y-position>176</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndSwitch_OneEven</node-name>
+   <kind>7</kind>
+   <coupled-node>test</coupled-node>
+   <service>
+<service-name>EndSwitch_OneEven</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>1004</x-position>
+   <y-position>256</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_m3p1</node-name>
+   <kind>8</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>control_m3p1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_m3p1</FuncName>
+     <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
+     <PyFunc><![CDATA[    return 0,1,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>814</x-position>
+   <y-position>13</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_div2</node-name>
+   <kind>8</kind>
+   <coupled-node>label_begin</coupled-node>
+   <service>
+<service-name>control_div2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KB</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_div2</FuncName>
+     <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return N,NB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:36:32</creation-date>
+   <lastmodification-date>25/3/2003 - 17:36:32</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>812</x-position>
+   <y-position>414</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>test_ISEVEN</fromnode-name>
+   <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test_ISONE</fromnode-name>
+   <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>m3p1</fromnode-name>
+   <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>div2</fromnode-name>
+   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISEVEN</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISONE</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>ValEven</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>ValOne</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndSwitch_OneEven</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Incr</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Even</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>EndSwitch_OneEven</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>aCount</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_m3p1</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_div2</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphSyrControlDefault</fromnode-name>
+   <fromserviceparameter-name>label_begin\NB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>NB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>7</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlDefault</fromnode-name>
+   <fromserviceparameter-name>label_begin\KB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>KB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphSyrControlGUI.py b/examples/GraphSyrControlGUI.py
new file mode 100644 (file)
index 0000000..d2b53c5
--- /dev/null
@@ -0,0 +1,213 @@
+
+# Generated python file of Graph GraphSyrControlGUI
+
+from SuperV import *
+# Graph creation 
+GraphSyrControlGUI = Graph( 'GraphSyrControlGUI' )
+GraphSyrControlGUI.SetName( 'GraphSyrControlGUI' )
+GraphSyrControlGUI.SetAuthor( 'JR' )
+GraphSyrControlGUI.SetComment( 'Syracuse algorithm' )
+GraphSyrControlGUI.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+test_ISEVEN = GraphSyrControlGUI.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
+test_ISEVEN.Coords( 190 , 338 )
+test_ISONE = GraphSyrControlGUI.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
+test_ISONE.Coords( 196 , 131 )
+m3p1 = GraphSyrControlGUI.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( 'C_M3P1 from SyrComponent' )
+m3p1.Coords( 621 , 29 )
+div2 = GraphSyrControlGUI.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( 'C_DIV2 from SyrComponent' )
+div2.Coords( 624 , 391 )
+incr = GraphSyrControlGUI.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( 'C_INCR from SyrComponent' )
+incr.Coords( 623 , 206 )
+
+# Creation of InLine Nodes
+Pylabel_begin = []
+Pylabel_begin.append( 'def label_begin( NB , KB ) :' )
+Pylabel_begin.append( '    return NB,KB' )
+label_begin = GraphSyrControlGUI.INode( 'label_begin' , Pylabel_begin )
+label_begin.InPort( 'NB' , 'long' )
+label_begin.InPort( 'KB' , 'long' )
+label_begin.OutPort( 'NT' , 'long' )
+label_begin.OutPort( 'KT' , 'long' )
+label_begin.SetName( 'label_begin' )
+label_begin.SetAuthor( '' )
+label_begin.SetComment( 'Python function' )
+label_begin.Coords( 7 , 216 )
+
+# Creation of Switch Nodes
+Pylabel_test = []
+Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT ):' )
+Pylabel_test.append( '    Finished = ValOne' )
+Pylabel_test.append( '    if Finished == 0 :' )
+Pylabel_test.append( '        Incr = 1' )
+Pylabel_test.append( '        Even = ValEven' )
+Pylabel_test.append( '        if Even == 0 :' )
+Pylabel_test.append( '            Odd = 1' )
+Pylabel_test.append( '        else :' )
+Pylabel_test.append( '            Odd = 0' )
+Pylabel_test.append( '    else :' )
+Pylabel_test.append( '        Incr = 0' )
+Pylabel_test.append( '        Even = 0' )
+Pylabel_test.append( '        Odd = 0' )
+Pylabel_test.append( '    Even = ValEven' )
+Pylabel_test.append( '    return Finished,Incr,Even,Odd,NT,KT' )
+label_test,EndL_OneEven = GraphSyrControlGUI.SNode( 'L_OneEven' , Pylabel_test )
+EndL_OneEven.SetName( 'EndL_OneEven' )
+EndL_OneEven.SetAuthor( '' )
+EndL_OneEven.SetComment( '' )
+EndL_OneEven.Coords( 1034 , 252 )
+PyEndL_OneEven = []
+EndL_OneEven.SetPyFunction( 'EndL_OneEven' , PyEndL_OneEven )
+label_test.InPort( 'ValOne' , 'long' )
+label_test.InPort( 'ValEven' , 'long' )
+label_test.InPort( 'NT' , 'long' )
+label_test.InPort( 'KT' , 'long' )
+label_test.OutPort( 'Finished' , 'long' )
+label_test.OutPort( 'Incr' , 'long' )
+label_test.OutPort( 'Even' , 'long' )
+label_test.OutPort( 'Odd' , 'long' )
+label_test.OutPort( 'N' , 'long' )
+label_test.OutPort( 'K' , 'long' )
+label_test.SetName( 'label_test' )
+label_test.SetAuthor( '' )
+label_test.SetComment( '' )
+label_test.Coords( 399 , 176 )
+
+# Creation of GOTO Nodes
+Pycontrol_m3p1 = []
+Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K ):' )
+Pycontrol_m3p1.append( '    return 0,1,N,K' )
+control_m3p1 = GraphSyrControlGUI.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
+control_m3p1.InPort( 'N' , 'long' )
+control_m3p1.InPort( 'K' , 'long' )
+control_m3p1.OutPort( 'ValOne' , 'long' )
+control_m3p1.OutPort( 'ValEven' , 'long' )
+control_m3p1.OutPort( 'NT' , 'long' )
+control_m3p1.OutPort( 'KT' , 'long' )
+control_m3p1.SetName( 'control_m3p1' )
+control_m3p1.SetAuthor( '' )
+control_m3p1.SetComment( '' )
+control_m3p1.Coords( 808 , 29 )
+Pycontrol_div2 = []
+Pycontrol_div2.append( 'def control_div2( N , K ) :' )
+Pycontrol_div2.append( '    return N,K' )
+control_div2 = GraphSyrControlGUI.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+control_div2.InPort( 'N' , 'long' )
+control_div2.InPort( 'K' , 'long' )
+control_div2.OutPort( 'NB' , 'long' )
+control_div2.OutPort( 'KB' , 'long' )
+control_div2.SetName( 'control_div2' )
+control_div2.SetAuthor( '' )
+control_div2.SetComment( '' )
+control_div2.Coords( 812 , 357 )
+
+# Creation of intermediate Output variables and of Control Links
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+label_testValEven = GraphSyrControlGUI.Link( test_ISEVENBoolEven , label_test.Port( 'ValEven' ) )
+label_testValEven.AddCoord( 1 , 385 , 358 )
+label_testValEven.AddCoord( 2 , 385 , 490 )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+label_testValOne = GraphSyrControlGUI.Link( test_ISONEBoolOne , label_test.Port( 'ValOne' ) )
+label_testValOne.AddCoord( 1 , 385 , 328 )
+label_testValOne.AddCoord( 2 , 385 , 283 )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+control_m3p1N = GraphSyrControlGUI.Link( m3p1anEvenInteger , control_m3p1.Port( 'N' ) )
+control_m3p1N.AddCoord( 1 , 786 , 181 )
+control_m3p1N.AddCoord( 2 , 786 , 182 )
+div2anInteger = div2.Port( 'anInteger' )
+control_div2N = GraphSyrControlGUI.Link( div2anInteger , control_div2.Port( 'N' ) )
+control_div2N.AddCoord( 1 , 799 , 509 )
+control_div2N.AddCoord( 2 , 799 , 543 )
+incraNewCount = incr.Port( 'aNewCount' )
+control_div2K = GraphSyrControlGUI.Link( incraNewCount , control_div2.Port( 'K' ) )
+control_div2K.AddCoord( 1 , 787 , 539 )
+control_div2K.AddCoord( 2 , 787 , 359 )
+control_m3p1K = GraphSyrControlGUI.Link( incraNewCount , control_m3p1.Port( 'K' ) )
+control_m3p1K.AddCoord( 1 , 790 , 211 )
+control_m3p1K.AddCoord( 2 , 790 , 358 )
+label_beginNT = label_begin.Port( 'NT' )
+test_ISONEanInteger = GraphSyrControlGUI.Link( label_beginNT , test_ISONE.Port( 'anInteger' ) )
+test_ISONEanInteger.AddCoord( 1 , 175 , 283 )
+test_ISONEanInteger.AddCoord( 2 , 175 , 368 )
+label_testNT = GraphSyrControlGUI.Link( label_beginNT , label_test.Port( 'NT' ) )
+label_testNT.AddCoord( 1 , 367 , 388 )
+label_testNT.AddCoord( 2 , 367 , 319 )
+label_testNT.AddCoord( 3 , 175 , 321 )
+label_testNT.AddCoord( 4 , 175 , 368 )
+test_ISEVENanInteger = GraphSyrControlGUI.Link( label_beginNT , test_ISEVEN.Port( 'anInteger' ) )
+test_ISEVENanInteger.AddCoord( 1 , 183 , 486 )
+test_ISEVENanInteger.AddCoord( 2 , 183 , 368 )
+label_beginKT = label_begin.Port( 'KT' )
+label_testKT = GraphSyrControlGUI.Link( label_beginKT , label_test.Port( 'KT' ) )
+label_testKT.AddCoord( 1 , 373 , 418 )
+label_testKT.AddCoord( 2 , 373 , 518 )
+label_testKT.AddCoord( 3 , 176 , 519 )
+label_testKT.AddCoord( 4 , 176 , 398 )
+label_testDefault = label_test.Port( 'Default' )
+EndL_OneEvenDefault = GraphSyrControlGUI.Link( label_testDefault , EndL_OneEven.Port( 'Default' ) )
+label_testIncr = label_test.Port( 'Incr' )
+incrInGate = GraphSyrControlGUI.Link( label_testIncr , incr.Port( 'InGate' ) )
+incrInGate.AddCoord( 1 , 578 , 328 )
+incrInGate.AddCoord( 2 , 578 , 358 )
+label_testEven = label_test.Port( 'Even' )
+div2InGate = GraphSyrControlGUI.Link( label_testEven , div2.Port( 'InGate' ) )
+div2InGate.AddCoord( 1 , 578 , 513 )
+div2InGate.AddCoord( 2 , 578 , 388 )
+label_testOdd = label_test.Port( 'Odd' )
+m3p1InGate = GraphSyrControlGUI.Link( label_testOdd , m3p1.Port( 'InGate' ) )
+m3p1InGate.AddCoord( 1 , 565 , 151 )
+m3p1InGate.AddCoord( 2 , 565 , 418 )
+label_testN = label_test.Port( 'N' )
+m3p1anOddInteger = GraphSyrControlGUI.Link( label_testN , m3p1.Port( 'anOddInteger' ) )
+m3p1anOddInteger.AddCoord( 1 , 609 , 181 )
+m3p1anOddInteger.AddCoord( 2 , 609 , 448 )
+div2anEvenInteger = GraphSyrControlGUI.Link( label_testN , div2.Port( 'anEvenInteger' ) )
+div2anEvenInteger.AddCoord( 1 , 612 , 543 )
+div2anEvenInteger.AddCoord( 2 , 612 , 448 )
+label_testK = label_test.Port( 'K' )
+incraCount = GraphSyrControlGUI.Link( label_testK , incr.Port( 'aCount' ) )
+incraCount.AddCoord( 1 , 594 , 358 )
+incraCount.AddCoord( 2 , 594 , 478 )
+control_m3p1OutGate = control_m3p1.Port( 'OutGate' )
+label_testInGate = GraphSyrControlGUI.Link( control_m3p1OutGate , label_test.Port( 'InGate' ) )
+
+# Creation of intermediate Output variables and of Loop Links
+control_div2OutGate = control_div2.Port( 'OutGate' )
+label_beginInGate = GraphSyrControlGUI.Link( control_div2OutGate , label_begin.Port( 'InGate' ) )
+
+# Creation of Input datas
+label_beginNB = label_begin.Input( 'NB' , 7)
+label_beginKB = label_begin.Input( 'KB' , 0)
+
+# Creation of Output variables
+label_testFinished = label_test.Port( 'Finished' )
+
+GraphSyrControlGUI.Run( 7 )
+
+GraphSyrControlGUI.DoneW()
+
+GraphSyrControlGUI.State()
+
+GraphSyrControlGUI.PrintPorts()
+
diff --git a/examples/GraphSyrControlGUI.xml b/examples/GraphSyrControlGUI.xml
new file mode 100644 (file)
index 0000000..3acb92f
--- /dev/null
@@ -0,0 +1,607 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphSyrControlGUI</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphSyrControlGUI</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>label_begin\KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>label_test\Finished</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>11/3/2003 - 18:28:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>JR</author>
+   <container>?</container>
+   <comment>Syracuse algorithm</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISEVEN</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISEVEN</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolEven</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISEVEN from SyrComponent</comment>
+   <x-position>190</x-position>
+   <y-position>338</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>test_ISONE</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_ISONE</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>BoolOne</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_ISONE from SyrComponent</comment>
+   <x-position>196</x-position>
+   <y-position>131</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>m3p1</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_M3P1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anOddInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anEvenInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_M3P1 from SyrComponent</comment>
+   <x-position>621</x-position>
+   <y-position>29</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>div2</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_DIV2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>anEvenInteger</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_DIV2 from SyrComponent</comment>
+   <x-position>624</x-position>
+   <y-position>391</y-position>  </node>
+  <node>
+<component-name>SyrComponent</component-name>
+   <interface-name>SyrComponent</interface-name>
+   <node-name>incr</node-name>
+   <kind>0</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>C_INCR</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>localhost/FactoryServer</container>
+   <comment>C_INCR from SyrComponent</comment>
+   <x-position>623</x-position>
+   <y-position>206</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_begin</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>label_begin</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NB</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KB</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>label_begin</FuncName>
+     <PyFunc><![CDATA[def label_begin( NB , KB ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return NB,KB]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>7</x-position>
+   <y-position>216</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>label_test</node-name>
+   <kind>6</kind>
+   <coupled-node>EndL_OneEven</coupled-node>
+   <service>
+<service-name>label_test</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValOne</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>ValEven</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>NT</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>KT</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Finished</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Incr</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Even</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Odd</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>N</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>L_OneEven</FuncName>
+     <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT ):]]></PyFunc>
+     <PyFunc><![CDATA[    Finished = ValOne]]></PyFunc>
+     <PyFunc><![CDATA[    if Finished == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 1]]></PyFunc>
+     <PyFunc><![CDATA[        Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[        if Even == 0 :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 1]]></PyFunc>
+     <PyFunc><![CDATA[        else :]]></PyFunc>
+     <PyFunc><![CDATA[            Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    else :]]></PyFunc>
+     <PyFunc><![CDATA[        Incr = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Even = 0]]></PyFunc>
+     <PyFunc><![CDATA[        Odd = 0]]></PyFunc>
+     <PyFunc><![CDATA[    Even = ValEven]]></PyFunc>
+     <PyFunc><![CDATA[    return Finished,Incr,Even,Odd,NT,KT]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>399</x-position>
+   <y-position>176</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>EndL_OneEven</node-name>
+   <kind>7</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>EndL_OneEven</service-name>
+    <inParameter-list/>
+    <outParameter-list/>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction/>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>1034</x-position>
+   <y-position>252</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_m3p1</node-name>
+   <kind>8</kind>
+   <coupled-node>label_test</coupled-node>
+   <service>
+<service-name>control_m3p1</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValOne</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>ValEven</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NT</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KT</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>C_NotOneIsEven</FuncName>
+     <PyFunc><![CDATA[def C_NotOneIsEven( N , K ):]]></PyFunc>
+     <PyFunc><![CDATA[    return 0,1,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>808</x-position>
+   <y-position>29</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>control_div2</node-name>
+   <kind>8</kind>
+   <coupled-node>label_begin</coupled-node>
+   <service>
+<service-name>control_div2</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>N</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>NB</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>KB</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>control_div2</FuncName>
+     <PyFunc><![CDATA[def control_div2( N , K ) :]]></PyFunc>
+     <PyFunc><![CDATA[    return N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>25/3/2003 - 17:42:48</creation-date>
+   <lastmodification-date>25/3/2003 - 17:42:48</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>812</x-position>
+   <y-position>357</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>test_ISEVEN</fromnode-name>
+   <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValEven</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>385</x>
+     <y>358</y>    </coord>
+    <coord>
+<x>385</x>
+     <y>490</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>test_ISONE</fromnode-name>
+   <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>ValOne</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>385</x>
+     <y>328</y>    </coord>
+    <coord>
+<x>385</x>
+     <y>283</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>m3p1</fromnode-name>
+   <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>786</x>
+     <y>181</y>    </coord>
+    <coord>
+<x>786</x>
+     <y>182</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>div2</fromnode-name>
+   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>N</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>799</x>
+     <y>509</y>    </coord>
+    <coord>
+<x>799</x>
+     <y>543</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_div2</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>787</x>
+     <y>539</y>    </coord>
+    <coord>
+<x>787</x>
+     <y>359</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>incr</fromnode-name>
+   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+   <tonode-name>control_m3p1</tonode-name>
+   <toserviceparameter-name>K</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>790</x>
+     <y>211</y>    </coord>
+    <coord>
+<x>790</x>
+     <y>358</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISONE</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>175</x>
+     <y>283</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>NT</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>367</x>
+     <y>388</y>    </coord>
+    <coord>
+<x>367</x>
+     <y>319</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>321</y>    </coord>
+    <coord>
+<x>175</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>NT</fromserviceparameter-name>
+   <tonode-name>test_ISEVEN</tonode-name>
+   <toserviceparameter-name>anInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>183</x>
+     <y>486</y>    </coord>
+    <coord>
+<x>183</x>
+     <y>368</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_begin</fromnode-name>
+   <fromserviceparameter-name>KT</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>KT</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>373</x>
+     <y>418</y>    </coord>
+    <coord>
+<x>373</x>
+     <y>518</y>    </coord>
+    <coord>
+<x>176</x>
+     <y>519</y>    </coord>
+    <coord>
+<x>176</x>
+     <y>398</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Default</fromserviceparameter-name>
+   <tonode-name>EndL_OneEven</tonode-name>
+   <toserviceparameter-name>Default</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Incr</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>578</x>
+     <y>328</y>    </coord>
+    <coord>
+<x>578</x>
+     <y>358</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Even</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>578</x>
+     <y>513</y>    </coord>
+    <coord>
+<x>578</x>
+     <y>388</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>Odd</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>565</x>
+     <y>151</y>    </coord>
+    <coord>
+<x>565</x>
+     <y>418</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>m3p1</tonode-name>
+   <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>609</x>
+     <y>181</y>    </coord>
+    <coord>
+<x>609</x>
+     <y>448</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>N</fromserviceparameter-name>
+   <tonode-name>div2</tonode-name>
+   <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>612</x>
+     <y>543</y>    </coord>
+    <coord>
+<x>612</x>
+     <y>448</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>label_test</fromnode-name>
+   <fromserviceparameter-name>K</fromserviceparameter-name>
+   <tonode-name>incr</tonode-name>
+   <toserviceparameter-name>aCount</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>594</x>
+     <y>358</y>    </coord>
+    <coord>
+<x>594</x>
+     <y>478</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>control_m3p1</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_test</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link>
+  <link>
+<fromnode-name>control_div2</fromnode-name>
+   <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>InGate</toserviceparameter-name>
+   <coord-list/>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphSyrControlGUI</fromnode-name>
+   <fromserviceparameter-name>label_begin\NB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>NB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>7</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphSyrControlGUI</fromnode-name>
+   <fromserviceparameter-name>label_begin\KB</fromserviceparameter-name>
+   <tonode-name>label_begin</tonode-name>
+   <toserviceparameter-name>KB</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>0</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>
diff --git a/examples/GraphSyracuseC.py b/examples/GraphSyracuseC.py
new file mode 100644 (file)
index 0000000..efe30b4
--- /dev/null
@@ -0,0 +1,149 @@
+
+# Generated python file of Graph GraphSyracuseC
+
+from SuperV import *
+# Graph creation 
+GraphSyracuseC = Graph( 'GraphSyracuseC' )
+GraphSyracuseC.SetName( 'GraphSyracuseC' )
+GraphSyracuseC.SetAuthor( 'JR' )
+GraphSyracuseC.SetComment( 'Syracuse algorithm' )
+GraphSyracuseC.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+test_ISEVEN = GraphSyracuseC.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( '' )
+test_ISEVEN.Coords( 252 , 266 )
+test_ISONE = GraphSyracuseC.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( '' )
+test_ISONE.Coords( 268 , 29 )
+m3p1 = GraphSyracuseC.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( '' )
+m3p1.Coords( 644 , 410 )
+div2 = GraphSyracuseC.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( '' )
+div2.Coords( 648 , 209 )
+incr = GraphSyracuseC.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( '' )
+incr.Coords( 640 , 2 )
+
+# Creation of Input datas
+test_ISEVENanInteger = test_ISEVEN.Input( 'anInteger' , 7)
+test_ISONEanInteger = test_ISONE.Input( 'anInteger' , 7)
+m3p1anOddInteger = m3p1.Input( 'anOddInteger' , 7)
+div2anEvenInteger = div2.Input( 'anEvenInteger' , 7)
+incraCount = incr.Input( 'aCount' , 0)
+
+# Creation of Output variables
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+div2anInteger = div2.Port( 'anInteger' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+GraphSyracuseC.IsValid()
+
+GraphSyracuseC.ThreadsMax()
+
+GraphSyracuseC.LevelMax()
+
+GraphSyracuseC.GraphsNumber()
+
+GraphSyracuseC.IsExecutable()
+
+exec GraphSyracuseC.ListNodes()
+test_ISEVENanInteger = test_ISEVEN.Port( 'anInteger' )
+test_ISONEanInteger = test_ISONE.Port( 'anInteger' )
+m3p1anOddInteger = m3p1.Port( 'anOddInteger' )
+div2anEvenInteger = div2.Port( 'anEvenInteger' )
+incraCount = incr.Port( 'aCount' )
+
+# Creation of Output variables
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+div2anInteger = div2.Port( 'anInteger' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+
+GraphSyracuseC.Start()
+
+test_ISEVEN.SuspendDone()
+test_ISONE.SuspendDone()
+
+test_ISEVEN.Resume()
+test_ISONE.Resume()
+
+# Suspend des nodes de tete des sous-graphes sauf test
+m3p1.Suspend()
+div2.Suspend()
+incr.Suspend()
+
+# Attentes de suspension de m3p1, div2, incr et result.
+# Puis demandes de suspension après exécution
+m3p1.SuspendDone()
+div2.SuspendDone()
+incr.SuspendDone()
+
+# Attente de fin d'exécution de test
+test_ISONE.DoneW()
+test_ISEVEN.DoneW()
+
+# Etats et Threads des nodes
+GraphSyracuseC.PrintThreads()
+
+while int( test_ISONEBoolOne.ToString() ) == 0 :
+    if int( test_ISEVENBoolEven.ToString() ) == 0 :
+        sts = m3p1.ReRun()
+        sts = incr.ReRun()
+        sts = m3p1.DoneW()
+        sts = test_ISEVENanInteger.Input( m3p1anEvenInteger.ToString() )
+        sts = test_ISONEanInteger.Input( m3p1anEvenInteger.ToString() )
+        sts = test_ISEVEN.ReRun()
+        sts = test_ISONE.ReRun()
+        sts = test_ISEVEN.DoneW()
+        sts = test_ISONE.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( incraNewCount.ToString() )
+        print incraNewCount.ToString(),"m3p1",m3p1anEvenInteger.ToString(),test_ISEVENBoolEven.ToString()
+    while int( test_ISEVENBoolEven.ToString() ) == 1 :
+        sts = div2anEvenInteger.Input( test_ISEVENanInteger.ToString() )
+        sts = div2.ReRun()
+        sts = incr.ReRun()
+        sts = div2.DoneW()
+        sts = test_ISEVENanInteger.Input( div2anInteger.ToString() )
+        sts = test_ISONEanInteger.Input( div2anInteger.ToString() )
+        sts = test_ISEVEN.ReRun()
+        sts = test_ISONE.ReRun()
+        sts = test_ISEVEN.DoneW()
+        sts = test_ISONE.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( incraNewCount.ToString() )
+        print incraNewCount.ToString(),"div2",div2anInteger.ToString(),test_ISEVENBoolEven.ToString()
+    sts = m3p1anOddInteger.Input( div2anInteger.ToString() )
+
+
+GraphSyracuseC.PrintThreads()
+m3p1.Resume()
+div2.Resume()
+incr.Resume()
+test_ISONE.Resume()
+test_ISEVEN.Resume()
+GraphSyracuseC.DoneW()
+GraphSyracuseC.PrintPorts()
+GraphSyracuseC.PrintThreads()
+
diff --git a/examples/GraphSyracuseC.xml b/examples/GraphSyracuseC.xml
new file mode 100755 (executable)
index 0000000..9219318
--- /dev/null
@@ -0,0 +1,315 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphSyracuseC</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphSyracuseC</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISEVEN\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISONE\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>m3p1\anOddInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>div2\anEvenInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>incr\aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISEVEN\BoolEven</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISONE\BoolOne</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>m3p1\anEvenInteger</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>div2\anInteger</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>incr\aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>JR</author>
+                       <container>?</container>
+                       <comment>Syracuse algorithm</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISEVEN</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISEVEN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolEven</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>252</x-position>
+                       <y-position>266</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISONE</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISONE</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolOne</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>268</x-position>
+                       <y-position>29</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>m3p1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_M3P1</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anEvenInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>644</x-position>
+                       <y-position>410</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_DIV2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anEvenInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>648</x-position>
+                       <y-position>209</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>incr</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 17:0:26</creation-date>
+                       <lastmodification-date>11/3/2003 - 17:0:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>640</x-position>
+                       <y-position>2</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphSyracuseC</fromnode-name>
+                       <fromserviceparameter-name>test_ISEVEN\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISEVEN</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC</fromnode-name>
+                       <fromserviceparameter-name>test_ISONE\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISONE</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC</fromnode-name>
+                       <fromserviceparameter-name>m3p1\anOddInteger</fromserviceparameter-name>
+                       <tonode-name>m3p1</tonode-name>
+                       <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC</fromnode-name>
+                       <fromserviceparameter-name>div2\anEvenInteger</fromserviceparameter-name>
+                       <tonode-name>div2</tonode-name>
+                       <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC</fromnode-name>
+                       <fromserviceparameter-name>incr\aCount</fromserviceparameter-name>
+                       <tonode-name>incr</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphSyracuseCEv.py b/examples/GraphSyracuseCEv.py
new file mode 100644 (file)
index 0000000..7706242
--- /dev/null
@@ -0,0 +1,146 @@
+
+# Generated python file of Graph GraphSyracuseCEv
+
+from SuperV import *
+import SUPERV
+import SUPERV_idl
+
+# Graph creation 
+GraphSyracuseCEv = Graph( 'GraphSyracuseCEv' )
+GraphSyracuseCEv.SetName( 'GraphSyracuseCEv' )
+GraphSyracuseCEv.SetAuthor( 'JR' )
+GraphSyracuseCEv.SetComment( 'Syracuse algorithm' )
+GraphSyracuseCEv.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+test_ISEVEN = GraphSyracuseCEv.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( '' )
+test_ISEVEN.Coords( 252 , 266 )
+test_ISONE = GraphSyracuseCEv.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( '' )
+test_ISONE.Coords( 268 , 29 )
+m3p1 = GraphSyracuseCEv.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( '' )
+m3p1.Coords( 644 , 410 )
+div2 = GraphSyracuseCEv.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( '' )
+div2.Coords( 648 , 209 )
+incr = GraphSyracuseCEv.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( '' )
+incr.Coords( 640 , 2 )
+
+# Creation of Input datas
+test_ISEVENanInteger = test_ISEVEN.Input( 'anInteger' , 31)
+test_ISONEanInteger = test_ISONE.Input( 'anInteger' , 31)
+m3p1anOddInteger = m3p1.Input( 'anOddInteger' , 31)
+div2anEvenInteger = div2.Input( 'anEvenInteger' , 31)
+incraCount = incr.Input( 'aCount' , 0)
+
+GraphSyracuseCEv.IsValid()
+
+GraphSyracuseCEv.ThreadsMax()
+
+GraphSyracuseCEv.LevelMax()
+
+GraphSyracuseCEv.GraphsNumber()
+
+GraphSyracuseCEv.IsExecutable()
+
+
+
+
+exec GraphSyracuseCEv.ListNodes()
+
+test_ISEVENanInteger = test_ISEVEN.Port( 'anInteger' )
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEanInteger = test_ISONE.Port( 'anInteger' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+m3p1anOddInteger = m3p1.Port( 'anOddInteger' )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+div2anEvenInteger = div2.Port( 'anEvenInteger' )
+div2anInteger = div2.Port( 'anInteger' )
+incraCount = incr.Port( 'aCount' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+GraphSyracuseCEv.Start()
+
+test_ISEVEN.SuspendDone()
+test_ISONE.SuspendDone()
+
+test_ISEVEN.Resume()
+test_ISONE.Resume()
+
+m3p1.SuspendDone()
+div2.SuspendDone()
+incr.SuspendDone()
+
+test_ISEVEN.DoneW()
+test_ISONE.DoneW()
+
+aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+while aNode != None :
+    if int( test_ISONEBoolOne.ToString() ) == 0 :
+        if int( test_ISEVENBoolEven.ToString() ) == 0 :
+            while aNode != None :
+                if aNode.Name() == 'm3p1' :
+                    if aState == SUPERV_idl._0_SUPERV.SuspendReadyState :
+                        sts = m3p1.ReRun()
+                        sts = incr.ReRun()
+                    else :
+                        if aState == SUPERV_idl._0_SUPERV.SuspendDoneState :
+                            sts = test_ISEVENanInteger.Input( m3p1anEvenInteger.ToString() )
+                            sts = test_ISONEanInteger.Input( m3p1anEvenInteger.ToString() )
+                            sts = test_ISEVEN.ReRun()
+                            sts = test_ISONE.ReRun()
+                else :
+                    if ( aNode.Name() == 'incr' ) & ( aState == SUPERV_idl._0_SUPERV.SuspendDoneState ) :
+                        sts = incraCount.Input( incraNewCount.ToString() )
+                aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+            print incraNewCount.ToString(),"m3p1",m3p1anEvenInteger.ToString()
+            sts = div2anEvenInteger.Input( m3p1anEvenInteger.ToString() )
+        while int( test_ISEVENBoolEven.ToString() ) == 1 :
+            sts = div2.ReRun()
+            sts = incr.ReRun()
+            aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+            while aNode != None :
+                if ( aNode.Name() == 'div2' ) & ( aState == SUPERV_idl._0_SUPERV.SuspendDoneState ) :
+                    sts = test_ISEVENanInteger.Input( div2anInteger.ToString() )
+                    sts = test_ISONEanInteger.Input( div2anInteger.ToString() )
+                    sts = test_ISEVEN.ReRun()
+                    sts = test_ISONE.ReRun()
+                aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+            sts = incraCount.Input( incraNewCount.ToString() )
+            print incraNewCount.ToString(),"div2",div2anInteger.ToString()
+            sts = m3p1anOddInteger.Input( div2anInteger.ToString() )
+            sts = div2anEvenInteger.Input( div2anInteger.ToString() )
+            if int( test_ISONEBoolOne.ToString() ) == 0 :
+                sts = m3p1.ReRun()
+                sts = incr.ReRun()
+                aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+            else :
+                GraphSyracuseCEv.PrintThreads()
+                m3p1.Resume()
+                div2.Resume()
+                incr.Resume()
+                test_ISONE.Resume()
+                test_ISEVEN.Resume()
+    aStatus,aNode,anEvent,aState = GraphSyracuseCEv.Event()
+
+GraphSyracuseCEv.DoneW()
+GraphSyracuseCEv.PrintThreads()
+GraphSyracuseCEv.PrintPorts()
diff --git a/examples/GraphSyracuseCEv.xml b/examples/GraphSyracuseCEv.xml
new file mode 100755 (executable)
index 0000000..3e7ee23
--- /dev/null
@@ -0,0 +1,315 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphSyracuseCEv</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphSyracuseCEv</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISEVEN\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISONE\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>m3p1\anOddInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>div2\anEvenInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>incr\aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISEVEN\BoolEven</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISONE\BoolOne</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>m3p1\anEvenInteger</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>div2\anInteger</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>incr\aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>JR</author>
+                       <container>?</container>
+                       <comment>Syracuse algorithm</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISEVEN</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISEVEN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolEven</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>252</x-position>
+                       <y-position>266</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISONE</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISONE</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolOne</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>268</x-position>
+                       <y-position>29</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>m3p1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_M3P1</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anEvenInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>644</x-position>
+                       <y-position>410</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_DIV2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anEvenInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>648</x-position>
+                       <y-position>209</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>incr</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:7:39</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:7:39</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>640</x-position>
+                       <y-position>2</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphSyracuseCEv</fromnode-name>
+                       <fromserviceparameter-name>test_ISEVEN\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISEVEN</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseCEv</fromnode-name>
+                       <fromserviceparameter-name>test_ISONE\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISONE</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseCEv</fromnode-name>
+                       <fromserviceparameter-name>m3p1\anOddInteger</fromserviceparameter-name>
+                       <tonode-name>m3p1</tonode-name>
+                       <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseCEv</fromnode-name>
+                       <fromserviceparameter-name>div2\anEvenInteger</fromserviceparameter-name>
+                       <tonode-name>div2</tonode-name>
+                       <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseCEv</fromnode-name>
+                       <fromserviceparameter-name>incr\aCount</fromserviceparameter-name>
+                       <tonode-name>incr</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphSyracuseC_Gate.py b/examples/GraphSyracuseC_Gate.py
new file mode 100644 (file)
index 0000000..4034379
--- /dev/null
@@ -0,0 +1,171 @@
+
+# Generated python file of Graph GraphSyracuseC_Gate
+
+from SuperV import *
+# Graph creation 
+GraphSyracuseC_Gate = Graph( 'GraphSyracuseC_Gate' )
+GraphSyracuseC_Gate.SetName( 'GraphSyracuseC_Gate' )
+GraphSyracuseC_Gate.SetAuthor( 'JR' )
+GraphSyracuseC_Gate.SetComment( 'Syracuse algorithm' )
+GraphSyracuseC_Gate.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+test_ISEVEN = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+test_ISEVEN.SetName( 'test_ISEVEN' )
+test_ISEVEN.SetAuthor( '' )
+test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+test_ISEVEN.SetComment( '' )
+test_ISEVEN.Coords( 5 , 416 )
+test_ISONE = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+test_ISONE.SetName( 'test_ISONE' )
+test_ISONE.SetAuthor( '' )
+test_ISONE.SetContainer( 'localhost/FactoryServer' )
+test_ISONE.SetComment( '' )
+test_ISONE.Coords( 7 , 232 )
+m3p1 = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+m3p1.SetName( 'm3p1' )
+m3p1.SetAuthor( '' )
+m3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1.SetComment( '' )
+m3p1.Coords( 180 , 417 )
+div2 = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( '' )
+div2.Coords( 435 , 7 )
+div2_ISEVEN = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+div2_ISEVEN.SetName( 'div2_ISEVEN' )
+div2_ISEVEN.SetAuthor( '' )
+div2_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+div2_ISEVEN.SetComment( '' )
+div2_ISEVEN.Coords( 619 , 191 )
+div2_ISONE = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+div2_ISONE.SetName( 'div2_ISONE' )
+div2_ISONE.SetAuthor( '' )
+div2_ISONE.SetContainer( 'localhost/FactoryServer' )
+div2_ISONE.SetComment( '' )
+div2_ISONE.Coords( 616 , 6 )
+incr = GraphSyracuseC_Gate.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incr.SetName( 'incr' )
+incr.SetAuthor( '' )
+incr.SetContainer( 'localhost/FactoryServer' )
+incr.SetComment( '' )
+incr.Coords( 434 , 193 )
+
+# Creation of intermediate Output variables and of Computing Links
+test_ISEVENOutGate = test_ISEVEN.Port( 'OutGate' )
+m3p1InGate = GraphSyracuseC_Gate.Link( test_ISEVENOutGate , m3p1.Port( 'InGate' ) )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+div2anEvenInteger = GraphSyracuseC_Gate.Link( m3p1anEvenInteger , div2.Port( 'anEvenInteger' ) )
+div2anEvenInteger.AddCoord( 1 , 368 , 158 )
+div2anEvenInteger.AddCoord( 2 , 369 , 568 )
+div2anInteger = div2.Port( 'anInteger' )
+div2_ISONEanInteger = GraphSyracuseC_Gate.Link( div2anInteger , div2_ISONE.Port( 'anInteger' ) )
+div2_ISEVENanInteger = GraphSyracuseC_Gate.Link( div2anInteger , div2_ISEVEN.Port( 'anInteger' ) )
+div2_ISEVENanInteger.AddCoord( 1 , 603 , 342 )
+div2_ISEVENanInteger.AddCoord( 2 , 603 , 158 )
+
+# Creation of Input datas
+curM3P1 = m3p1.Input( 'anOddInteger' , 31)
+curtestISEVEN = test_ISEVEN.Input( 'anInteger' , curM3P1.ToAny() )
+curtestISONE = test_ISONE.Input( 'anInteger' , curM3P1.ToAny() )
+div2InanEvenInteger = div2.Port( 'anEvenInteger' )
+incraCount = incr.Input( 'aCount' , 0)
+
+# Creation of Output variables
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+div2_ISEVENBoolEven = div2_ISEVEN.Port( 'BoolEven' )
+div2_ISONEBoolOne = div2_ISONE.Port( 'BoolOne' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+GraphSyracuseC_Gate.IsValid()
+
+GraphSyracuseC_Gate.ThreadsMax()
+
+GraphSyracuseC_Gate.LevelMax()
+
+GraphSyracuseC_Gate.GraphsNumber()
+
+GraphSyracuseC_Gate.IsExecutable()
+
+exec GraphSyracuseC_Gate.ListNodes()
+
+curM3P1 = m3p1.Port( 'anOddInteger' )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+curtestISEVEN = test_ISEVEN.Port( 'anInteger' )
+curtestISONE = test_ISONE.Port( 'anInteger' )
+div2anEvenInteger = div2.Port( 'anEvenInteger' )
+div2anInteger = div2.Port( 'anInteger' )
+incraCount = incr.Port( 'aCount' )
+
+# Creation of Output variables
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+div2_ISEVENBoolEven = div2_ISEVEN.Port( 'BoolEven' )
+div2_ISONEBoolOne = div2_ISONE.Port( 'BoolOne' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+GraphSyracuseC_Gate.Start()
+
+m3p1.Suspend()
+
+div2_ISEVEN.SuspendDone()
+div2_ISONE.SuspendDone()
+
+test_ISEVEN.Resume()
+test_ISONE.Resume()
+
+# Attente de fin d'execution de test
+test_ISONE.DoneW()
+test_ISEVEN.DoneW()
+
+m3p1.SuspendedW()
+incr.SuspendedW()
+incr.SuspendDone()
+
+# Etats et Threads des nodes
+GraphSyracuseC_Gate.PrintThreads()
+
+BoolOne = int( test_ISONEBoolOne.ToString() )
+BoolEven = int( test_ISEVENBoolEven.ToString() )
+while BoolOne == 0 :
+    if BoolEven == 0 :
+        sts = div2_ISONE.ReRunAt('m3p1')
+        sts = incr.ReRun()
+        sts = m3p1.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( int( incraNewCount.ToString() ) + 1 )
+        BoolEven = 1 
+        BoolOne = 0
+        Current = int( m3p1anEvenInteger.ToString() )
+        print incraNewCount.ToString(),"m3p1",Current,BoolEven
+    while BoolEven == 1 :
+        sts = incr.ReRun()
+        sts = div2.DoneW()
+        sts = div2_ISEVEN.DoneW()
+        sts = div2_ISONE.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( incraNewCount.ToString() )
+        BoolOne = int( div2_ISONEBoolOne.ToString() )
+        BoolEven = int( div2_ISEVENBoolEven.ToString() )
+        Current = int( div2anInteger.ToString() )
+        print incraNewCount.ToString(),"div2",Current,BoolEven,BoolOne
+        if BoolEven == 1 :
+            sts = div2InanEvenInteger.Input( Current )
+            sts = div2_ISONE.ReRunAt('div2')
+    sts = curM3P1.Input( Current )
+    sts = m3p1InGate.InPort().Input( 1 )
+
+
+GraphSyracuseC_Gate.PrintThreads()
+m3p1.Resume()
+div2.Resume()
+incr.Resume()
+div2_ISONE.Resume()
+div2_ISEVEN.Resume()
+GraphSyracuseC_Gate.DoneW()
+GraphSyracuseC_Gate.PrintPorts()
+GraphSyracuseC_Gate.PrintThreads()
+
diff --git a/examples/GraphSyracuseC_Gate.xml b/examples/GraphSyracuseC_Gate.xml
new file mode 100644 (file)
index 0000000..17f32df
--- /dev/null
@@ -0,0 +1,415 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphSyracuseC_Gate</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphSyracuseC_Gate</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISEVEN\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>test_ISONE\anInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>m3p1\anOddInteger</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>incr\aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISEVEN\BoolEven</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_ISONE\BoolOne</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>div2_ISEVEN\BoolEven</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>div2_ISONE\BoolOne</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>incr\aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:38</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>JR</author>
+                       <container>?</container>
+                       <comment>Syracuse algorithm</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISEVEN</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISEVEN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolEven</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>5</x-position>
+                       <y-position>416</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>test_ISONE</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISONE</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolOne</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>7</x-position>
+                       <y-position>232</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>m3p1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_M3P1</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anEvenInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>180</x-position>
+                       <y-position>417</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_DIV2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anEvenInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>435</x-position>
+                       <y-position>7</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2_ISEVEN</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISEVEN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolEven</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>619</x-position>
+                       <y-position>191</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2_ISONE</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_ISONE</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolOne</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:34</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:34</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>616</x-position>
+                       <y-position>6</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>incr</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:25:35</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:25:35</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>434</x-position>
+                       <y-position>193</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>test_ISEVEN</fromnode-name>
+                       <fromserviceparameter-name>OutGate</fromserviceparameter-name>
+                       <tonode-name>m3p1</tonode-name>
+                       <toserviceparameter-name>InGate</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>m3p1</fromnode-name>
+                       <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
+                       <tonode-name>div2</tonode-name>
+                       <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>368</x>
+                                       <y>158</y>
+                               </coord>
+                               <coord>
+                                       <x>369</x>
+                                       <y>568</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>div2</fromnode-name>
+                       <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+                       <tonode-name>div2_ISONE</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>div2</fromnode-name>
+                       <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+                       <tonode-name>div2_ISEVEN</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>603</x>
+                                       <y>342</y>
+                               </coord>
+                               <coord>
+                                       <x>603</x>
+                                       <y>158</y>
+                               </coord>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphSyracuseC_Gate</fromnode-name>
+                       <fromserviceparameter-name>test_ISEVEN\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISEVEN</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC_Gate</fromnode-name>
+                       <fromserviceparameter-name>test_ISONE\anInteger</fromserviceparameter-name>
+                       <tonode-name>test_ISONE</tonode-name>
+                       <toserviceparameter-name>anInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC_Gate</fromnode-name>
+                       <fromserviceparameter-name>m3p1\anOddInteger</fromserviceparameter-name>
+                       <tonode-name>m3p1</tonode-name>
+                       <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphSyracuseC_Gate</fromnode-name>
+                       <fromserviceparameter-name>incr\aCount</fromserviceparameter-name>
+                       <tonode-name>incr</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/GraphSyracuseC_Void.py b/examples/GraphSyracuseC_Void.py
new file mode 100644 (file)
index 0000000..b4effae
--- /dev/null
@@ -0,0 +1,160 @@
+
+# Generated python file of Graph GraphSyracuseC_Void
+
+from SuperV import *
+# Graph creation 
+GraphSyracuseC_Void = Graph( 'GraphSyracuseC_Void' )
+print GraphSyracuseC_Void.SetName( 'GraphSyracuseC_Void' )
+print GraphSyracuseC_Void.SetAuthor( 'JR' )
+print GraphSyracuseC_Void.SetContainer( 'localhost/FactoryServer' )
+print GraphSyracuseC_Void.SetComment( 'Syracuse algorithm' )
+GraphSyracuseC_Void.Coords( 0 , 0 )
+
+# Creation of Nodes
+test_ISEVEN = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+print test_ISEVEN.SetName( 'test_ISEVEN' )
+print test_ISEVEN.SetAuthor( '' )
+print test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+print test_ISEVEN.SetComment( '' )
+test_ISEVEN.Coords( 5 , 416 )
+test_ISONE = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+print test_ISONE.SetName( 'test_ISONE' )
+print test_ISONE.SetAuthor( '' )
+print test_ISONE.SetContainer( 'localhost/FactoryServer' )
+print test_ISONE.SetComment( '' )
+test_ISONE.Coords( 7 , 232 )
+m3p1 = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+print m3p1.SetName( 'm3p1' )
+print m3p1.SetAuthor( '' )
+print m3p1.SetContainer( 'localhost/FactoryServer' )
+print m3p1.SetComment( '' )
+m3p1.Coords( 180 , 417 )
+div2 = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+print div2.SetName( 'div2' )
+print div2.SetAuthor( '' )
+print div2.SetContainer( 'localhost/FactoryServer' )
+print div2.SetComment( '' )
+div2.Coords( 435 , 7 )
+div2_ISEVEN = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+print div2_ISEVEN.SetName( 'div2_ISEVEN' )
+print div2_ISEVEN.SetAuthor( '' )
+print div2_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+print div2_ISEVEN.SetComment( '' )
+div2_ISEVEN.Coords( 619 , 191 )
+div2_ISONE = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+print div2_ISONE.SetName( 'div2_ISONE' )
+print div2_ISONE.SetAuthor( '' )
+print div2_ISONE.SetContainer( 'localhost/FactoryServer' )
+print div2_ISONE.SetComment( '' )
+div2_ISONE.Coords( 616 , 6 )
+incr = GraphSyracuseC_Void.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+print incr.SetName( 'incr' )
+print incr.SetAuthor( '' )
+print incr.SetContainer( 'localhost/FactoryServer' )
+print incr.SetComment( '' )
+incr.Coords( 434 , 193 )
+
+# Creation of intermediate Output variables and of links
+test_ISEVENOutVoid = test_ISEVEN.Port( 'OutVoid' )
+m3p1InVoid = GraphSyracuseC_Void.Link( test_ISEVENOutVoid , m3p1.Port( 'InVoid' ) )
+m3p1anEvenInteger = m3p1.Port( 'anEvenInteger' )
+div2anEvenInteger = GraphSyracuseC_Void.Link( m3p1anEvenInteger , div2.Port( 'anEvenInteger' ) )
+print div2anEvenInteger.AddCoord( 1 , 368 , 158 )
+print div2anEvenInteger.AddCoord( 2 , 369 , 568 )
+div2anInteger = div2.Port( 'anInteger' )
+div2_ISONEanInteger = GraphSyracuseC_Void.Link( div2anInteger , div2_ISONE.Port( 'anInteger' ) )
+div2_ISEVENanInteger = GraphSyracuseC_Void.Link( div2anInteger , div2_ISEVEN.Port( 'anInteger' ) )
+print div2_ISEVENanInteger.AddCoord( 1 , 603 , 342 )
+print div2_ISEVENanInteger.AddCoord( 2 , 603 , 158 )
+
+# Creation of Input datas
+test_ISEVENanInteger = test_ISEVEN.Input( 'anInteger' , 31)
+test_ISONEanInteger = test_ISONE.Input( 'anInteger' , 31)
+m3p1anOddInteger = m3p1.Input( 'anOddInteger' , 31)
+div2InanEvenInteger = div2.Port( 'anEvenInteger' )
+incraCount = incr.Input( 'aCount' , 0)
+
+# Missing Input datas
+
+# Creation of Output variables
+test_ISEVENBoolEven = test_ISEVEN.Port( 'BoolEven' )
+test_ISONEBoolOne = test_ISONE.Port( 'BoolOne' )
+div2_ISEVENBoolEven = div2_ISEVEN.Port( 'BoolEven' )
+div2_ISONEBoolOne = div2_ISONE.Port( 'BoolOne' )
+incraNewCount = incr.Port( 'aNewCount' )
+
+GraphSyracuseC_Void.IsValid()
+
+GraphSyracuseC_Void.ThreadsMax()
+
+GraphSyracuseC_Void.LevelMax()
+
+GraphSyracuseC_Void.GraphsNumber()
+
+curM3P1 = m3p1.Input( 'anOddInteger' , 31 )
+curtestISEVEN = test_ISEVEN.Input( 'anInteger' , curM3P1.ToAny() )
+curtestISONE = test_ISONE.Input( 'anInteger' , curM3P1.ToAny() )
+
+GraphSyracuseC_Void.IsExecutable()
+
+GraphSyracuseC_Void.Start()
+
+m3p1.Suspend()
+
+div2_ISEVEN.SuspendDone()
+div2_ISONE.SuspendDone()
+
+test_ISEVEN.Resume()
+test_ISONE.Resume()
+
+# Attente de fin d'exécution de test
+test_ISONE.DoneW()
+test_ISEVEN.DoneW()
+
+m3p1.SuspendedW()
+incr.SuspendedW()
+incr.SuspendDone()
+
+# Etats et Threads des nodes
+GraphSyracuseC_Void.PrintThreads()
+
+BoolOne = int( test_ISONEBoolOne.ToString() )
+BoolEven = int( test_ISEVENBoolEven.ToString() )
+while BoolOne == 0 :
+    if BoolEven == 0 :
+        sts = div2_ISONE.ReRunAt('m3p1')
+        sts = incr.ReRun()
+        sts = m3p1.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( int( incraNewCount.ToString() ) + 1 )
+        BoolEven = 1 
+        BoolOne = 0
+        Current = int( m3p1anEvenInteger.ToString() )
+        print "m3p1",Current,BoolEven
+    while BoolEven == 1 :
+        sts = incr.ReRun()
+        sts = div2.DoneW()
+        sts = div2_ISEVEN.DoneW()
+        sts = div2_ISONE.DoneW()
+        sts = incr.DoneW()
+        sts = incraCount.Input( incraNewCount.ToString() )
+        BoolOne = int( div2_ISONEBoolOne.ToString() )
+        BoolEven = int( div2_ISEVENBoolEven.ToString() )
+        Current = int( div2anInteger.ToString() )
+        print "div2",Current,BoolEven,BoolOne
+        if BoolEven == 1 :
+            div2InanEvenInteger.Input( Current )
+            sts = div2_ISONE.ReRunAt('div2')
+    sts = curM3P1.Input( Current )
+
+
+GraphSyracuseC_Void.PrintThreads()
+m3p1.Resume()
+div2.Resume()
+incr.Resume()
+div2_ISONE.Resume()
+div2_ISEVEN.Resume()
+GraphSyracuseC_Void.DoneW()
+GraphSyracuseC_Void.PrintPorts()
+GraphSyracuseC_Void.PrintThreads()
+
diff --git a/examples/GraphSyracuseControl.py b/examples/GraphSyracuseControl.py
new file mode 100644 (file)
index 0000000..3e432a7
--- /dev/null
@@ -0,0 +1,125 @@
+
+
+from SuperV import *
+
+GraphSyracuseControl = Graph( 'GraphSyracuseControl' )
+print GraphSyracuseControl.SetName( 'GraphSyracuseControl' )
+print GraphSyracuseControl.SetAuthor( 'JR' )
+print GraphSyracuseControl.SetContainer( 'localhost/FactoryServer' )
+print GraphSyracuseControl.SetComment( 'Syracuse algorithm' )
+GraphSyracuseControl.Coords( 0 , 0 )
+
+
+test_ISEVEN = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+print test_ISEVEN.SetName( 'test_ISEVEN' )
+print test_ISEVEN.SetAuthor( '' )
+print test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
+print test_ISEVEN.SetComment( '' )
+test_ISEVEN.Coords( 190 , 338 )
+test_ISONE = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+print test_ISONE.SetName( 'test_ISONE' )
+print test_ISONE.SetAuthor( '' )
+print test_ISONE.SetContainer( 'localhost/FactoryServer' )
+print test_ISONE.SetComment( '' )
+test_ISONE.Coords( 196 , 131 )
+m3p1 = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+print m3p1.SetName( 'm3p1' )
+print m3p1.SetAuthor( '' )
+print m3p1.SetContainer( 'localhost/FactoryServer' )
+print m3p1.SetComment( '' )
+m3p1.Coords( 621 , 14 )
+div2 = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+print div2.SetName( 'div2' )
+print div2.SetAuthor( '' )
+print div2.SetContainer( 'localhost/FactoryServer' )
+print div2.SetComment( '' )
+div2.Coords( 624 , 391 )
+incr = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+print incr.SetName( 'incr' )
+print incr.SetAuthor( '' )
+print incr.SetContainer( 'localhost/FactoryServer' )
+print incr.SetComment( '' )
+incr.Coords( 622 , 199 )
+label_begin = GraphSyracuseControl.LNode( 'label_begin' )
+print label_begin.SetName( 'label_begin' )
+print label_begin.SetAuthor( '' )
+print label_begin.SetContainer( 'localhost/FactoryServerPy' )
+print label_begin.SetComment( '' )
+label_begin.Coords( 7 , 216 )
+label_test = GraphSyracuseControl.LService( 'SyrControlComponent' , 'SyrControlComponent' , 'L_OneEven' )
+print label_test.SetName( 'label_test' )
+print label_test.SetAuthor( '' )
+print label_test.SetContainer( 'localhost/FactoryServerPy' )
+print label_test.SetComment( '' )
+label_test.Coords( 399 , 176 )
+control_m3p1 = GraphSyracuseControl.CService( 'SyrControlComponent' , 'SyrControlComponent' , 'C_NotOneIsEven' )
+print control_m3p1.SetName( 'control_m3p1' )
+print control_m3p1.SetAuthor( '' )
+print control_m3p1.SetContainer( 'localhost/FactoryServerPy' )
+print control_m3p1.SetComment( '' )
+control_m3p1.Coords( 814 , 13 )
+control_div2 = GraphSyracuseControl.CNode( 'control_div2' )
+print control_div2.SetName( 'control_div2' )
+print control_div2.SetAuthor( '' )
+print control_div2.SetContainer( 'localhost/FactoryServerPy' )
+print control_div2.SetComment( '' )
+control_div2.Coords( 812 , 414 )
+
+
+label_begin.BusPorts( 'NB' , 'long' , 'NT' , 'long' )
+label_begin.BusPorts( 'KB' , 'long' , 'KT' , 'long' )
+label_test.BusPorts( 'NT' , 'long' , 'N' , 'long' )
+label_test.BusPorts( 'KT' , 'long' , 'K' , 'long' )
+control_m3p1.BusPorts( 'N' , 'long' , 'NT' , 'long' )
+control_m3p1.BusPorts( 'K' , 'long' , 'KT' , 'long' )
+control_div2.BusPorts( 'N' , 'long' , 'NB' , 'long' )
+control_div2.BusPorts( 'K' , 'long' , 'KB' , 'long' )
+
+
+GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , label_test.Port( 'NT' ) )
+GraphSyracuseControl.Link( label_begin.Port( 'KT' ) , label_test.Port( 'KT' ) )
+GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , test_ISEVEN.Port( 'anInteger' ) )
+GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , test_ISONE.Port( 'anInteger' ) )
+
+GraphSyracuseControl.Link( test_ISEVEN.Port( 'BoolEven' ) , label_test.Port( 'ValEven' ) )
+GraphSyracuseControl.Link( test_ISONE.Port( 'BoolOne' ) , label_test.Port( 'ValOne' ) )
+GraphSyracuseControl.Link( label_test.Port( 'N' ) , m3p1.Port( 'anOddInteger' ) )
+GraphSyracuseControl.Link( label_test.Port( 'N' ) , div2.Port( 'anEvenInteger' ) )
+GraphSyracuseControl.Link( label_test.Port( 'K' ) , incr.Port( 'aCount' ) )
+GraphSyracuseControl.Link( label_test.Port( 'Incr' ) , incr.Port( 'InGate' ) )
+GraphSyracuseControl.Link( label_test.Port( 'Even' ) , div2.Port( 'InGate' ) )
+GraphSyracuseControl.Link( label_test.Port( 'Odd' ) , m3p1.Port( 'InGate' ) )
+
+GraphSyracuseControl.Link( m3p1.Port( 'anEvenInteger' ) , control_m3p1.Port( 'N' ) )
+GraphSyracuseControl.Link( div2.Port( 'anInteger' ) , control_div2.Port( 'N' ) )
+GraphSyracuseControl.Link( incr.Port( 'aNewCount' ) , control_m3p1.Port( 'K' ) )
+GraphSyracuseControl.Link( incr.Port( 'aNewCount' ) , control_div2.Port( 'K' ) )
+
+GraphSyracuseControl.Link( control_m3p1.Port( 'OutGate' ) , label_test.Port( 'InGate' ) )
+GraphSyracuseControl.Link( control_div2.Port( 'OutGate' ) , label_begin.Port( 'InGate' ) )
+
+GraphSyracuseControl.IsValid()
+
+GraphSyracuseControl.ThreadsMax()
+
+GraphSyracuseControl.LevelMax()
+
+GraphSyracuseControl.GraphsNumber()
+
+label_begin.Input( 'NB' , 31 )
+label_begin.Input( 'KB' , 0 )
+
+GraphSyracuseControl.IsExecutable()
+
+GraphSyracuseControl.Export('../GraphSyrControl')
+
+
+GraphSyracuseControl.Run()
+
+GraphSyracuseControl.DoneW()
+
+GraphSyracuseControl.State()
+
+GraphSyracuseControl.PrintPorts()
+
+label_test.PrintPorts()
diff --git a/examples/GraphSyracuseCpp.py b/examples/GraphSyracuseCpp.py
new file mode 100644 (file)
index 0000000..8bac3a2
--- /dev/null
@@ -0,0 +1,201 @@
+
+# Generated python file of Graph GraphSyracuseCpp
+
+from SuperV import *
+# Graph creation 
+GraphSyracuseCpp = Graph( 'GraphSyracuseCpp' )
+GraphSyracuseCpp.SetName( 'GraphSyracuseCpp' )
+GraphSyracuseCpp.SetAuthor( 'JR' )
+GraphSyracuseCpp.SetComment( 'Syracuse algorithm' )
+GraphSyracuseCpp.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+Syracuse = GraphSyracuseCpp.Node( 'SyrComponent' , 'SyrComponent' , 'Init' )
+Syracuse.SetName( 'Syracuse' )
+Syracuse.SetAuthor( '' )
+#Syracuse.SetContainer( 'localhost/FactoryServer' )
+Syracuse.SetComment( '' )
+Syracuse.Coords( 9 , 207 )
+test_IsEven = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'IsEven' )
+test_IsEven.SetName( 'test_IsEven' )
+test_IsEven.SetAuthor( '' )
+#test_IsEven.SetContainer( 'localhost/FactoryServer' )
+test_IsEven.SetComment( '' )
+test_IsEven.Coords( 197 , 407 )
+test_IsOne = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'IsOne' )
+test_IsOne.SetName( 'test_IsOne' )
+test_IsOne.SetAuthor( '' )
+#test_IsOne.SetContainer( 'localhost/FactoryServer' )
+test_IsOne.SetComment( '' )
+test_IsOne.Coords( 208 , 59 )
+m3p1_M3p1 = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'M3p1' )
+m3p1_M3p1.SetName( 'm3p1_M3p1' )
+m3p1_M3p1.SetAuthor( '' )
+#m3p1_M3p1.SetContainer( 'localhost/FactoryServer' )
+m3p1_M3p1.SetComment( '' )
+m3p1_M3p1.Coords( 418 , 408 )
+div2_Div2 = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'Div2' )
+div2_Div2.SetName( 'div2_Div2' )
+div2_Div2.SetAuthor( '' )
+#div2_Div2.SetContainer( 'localhost/FactoryServer' )
+div2_Div2.SetComment( '' )
+div2_Div2.Coords( 414 , 10 )
+incr_Incr = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'Incr' )
+incr_Incr.SetName( 'incr_Incr' )
+incr_Incr.SetAuthor( '' )
+#incr_Incr.SetContainer( 'localhost/FactoryServer' )
+incr_Incr.SetComment( '' )
+incr_Incr.Coords( 416 , 207 )
+result_Current = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'Current' )
+result_Current.SetName( 'result_Current' )
+result_Current.SetAuthor( '' )
+#result_Current.SetContainer( 'localhost/FactoryServer' )
+result_Current.SetComment( '' )
+result_Current.Coords( 603 , 216 )
+result_Count = GraphSyracuseCpp.CNode( 'SyrComponent' , 'Syr' , 'Count' )
+result_Count.SetName( 'result_Count' )
+result_Count.SetAuthor( '' )
+#result_Count.SetContainer( 'localhost/FactoryServer' )
+result_Count.SetComment( '' )
+result_Count.Coords( 803 , 212 )
+
+# Creation of intermediate Output variables and of Computing Links
+SyracuseaSyracuse = Syracuse.Port( 'aSyracuse' )
+test_IsEvenaSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , test_IsEven.Port( 'aSyracuse' ) )
+test_IsEvenaSyracuse.AddCoord( 1 , 175 , 559 )
+test_IsEvenaSyracuse.AddCoord( 2 , 175 , 359 )
+test_IsOneaSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , test_IsOne.Port( 'aSyracuse' ) )
+test_IsOneaSyracuse.AddCoord( 1 , 177 , 211 )
+test_IsOneaSyracuse.AddCoord( 2 , 177 , 359 )
+m3p1_M3p1aSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , m3p1_M3p1.Port( 'aSyracuse' ) )
+m3p1_M3p1aSyracuse.AddCoord( 1 , 388 , 560 )
+m3p1_M3p1aSyracuse.AddCoord( 2 , 388 , 359 )
+div2_Div2aSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , div2_Div2.Port( 'aSyracuse' ) )
+div2_Div2aSyracuse.AddCoord( 1 , 389 , 162 )
+div2_Div2aSyracuse.AddCoord( 2 , 389 , 359 )
+incr_IncraSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , incr_Incr.Port( 'aSyracuse' ) )
+result_CurrentaSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , result_Current.Port( 'aSyracuse' ) )
+result_CurrentaSyracuse.AddCoord( 1 , 590 , 368 )
+result_CurrentaSyracuse.AddCoord( 2 , 590 , 390 )
+result_CurrentaSyracuse.AddCoord( 3 , 388 , 390 )
+result_CurrentaSyracuse.AddCoord( 4 , 388 , 359 )
+result_CountaSyracuse = GraphSyracuseCpp.Link( SyracuseaSyracuse , result_Count.Port( 'aSyracuse' ) )
+result_CountaSyracuse.AddCoord( 1 , 785 , 364 )
+result_CountaSyracuse.AddCoord( 2 , 785 , 391 )
+result_CountaSyracuse.AddCoord( 3 , 389 , 391 )
+result_CountaSyracuse.AddCoord( 4 , 389 , 357 )
+
+# Missing Input datas
+SyracuseanOddInteger = Syracuse.Input( 'anOddInteger' , 7 )
+
+# Creation of Output variables
+test_IsEvenBoolEven = test_IsEven.Port( 'BoolEven' )
+test_IsOneBoolOne = test_IsOne.Port( 'BoolOne' )
+count_incr_Incr = incr_Incr.Port('aSyracuse')
+result_CurrentaCurrent = result_Current.Port( 'aCurrent' )
+
+GraphSyracuseCpp.IsValid()
+GraphSyracuseCpp.LevelMax()
+GraphSyracuseCpp.ThreadsMax()
+
+exec GraphSyracuseCpp.ListNodes()
+SyracuseanOddInteger = Syracuse.Input( 'anOddInteger' , 7 )
+test_IsEvenBoolEven = test_IsEven.Port( 'BoolEven' )
+test_IsOneBoolOne = test_IsOne.Port( 'BoolOne' )
+count_incr_Incr = incr_Incr.Port('aSyracuse')
+result_CurrentaCurrent = result_Current.Port( 'aCurrent' )
+
+
+GraphSyracuseCpp.Start( 7 )
+
+# Suspend des nodes de tete de Syr
+sts = test_IsOne.Suspend()
+sts = test_IsEven.Suspend()
+sts = m3p1_M3p1.Suspend()
+sts = div2_Div2.Suspend()
+sts = incr_Incr.Suspend()
+sts = result_Current.Suspend()
+sts = result_Count.Suspend()
+
+# Ex\81écution du node de tete
+sts = Syracuse.Resume()
+sts = Syracuse.DoneW()
+
+# Attente de suspension de test et demandes de suspension apr\81ès ex\81écution
+sts = test_IsOne.SuspendedW()
+sts = test_IsOne.SuspendDone()
+sts = test_IsEven.SuspendedW()
+sts = test_IsEven.SuspendDone()
+
+# Ex\81écution de test avec la valeur de d\81épart
+sts = test_IsOne.Resume()
+sts = test_IsEven.Resume()
+
+# Attentes de suspension de m3p1, div2, incr et result.
+# Puis demandes de suspension apr\81ès ex\81écution
+sts = m3p1_M3p1.SuspendedW()
+sts = div2_Div2.SuspendedW()
+sts = incr_Incr.SuspendedW()
+sts = result_Current.SuspendedW()
+sts = result_Count.SuspendedW()
+sts = m3p1_M3p1.SuspendDone()
+sts = div2_Div2.SuspendDone()
+sts = incr_Incr.SuspendDone()
+sts = result_Current.SuspendDone()
+
+# Attente de fin d'ex\81écution de test
+sts = test_IsOne.SuspendedW()
+sts = test_IsEven.SuspendedW()
+
+GraphSyracuseCpp.PrintThreads()
+
+IsOneBoolOne = test_IsOneBoolOne.ToString()
+while int( IsOneBoolOne ) == 0 :
+    IsEvenBoolEven = test_IsEvenBoolEven.ToString()
+    if int( IsEvenBoolEven ) == 0 :
+        sts = m3p1_M3p1.ReRun()
+        sts = incr_Incr.ReRun()
+        sts = m3p1_M3p1.SuspendedW()
+        sts = result_Current.ReRun()
+        sts = test_IsOne.ReRun()
+        sts = test_IsEven.ReRun()
+        sts = test_IsOne.SuspendedW()
+        sts = test_IsEven.SuspendedW()
+        sts = incr_Incr.SuspendedW()
+        sts = result_Current.SuspendedW()
+        print "m3p1_M3p1",result_CurrentaCurrent.ToString(),IsEvenBoolEven
+    IsEvenBoolEven = test_IsEvenBoolEven.ToString()
+    while int( IsEvenBoolEven ) == 1 :
+        sts = div2_Div2.ReRun()
+        sts = incr_Incr.ReRun()
+        sts = div2_Div2.SuspendedW()
+        sts = result_Current.ReRun()
+        sts = test_IsOne.ReRun()
+        sts = test_IsEven.ReRun()
+        sts = test_IsOne.SuspendedW()
+        sts = test_IsEven.SuspendedW()
+        sts = incr_Incr.SuspendedW()
+        sts = IsEvenBoolEven = test_IsEvenBoolEven.ToString()
+        sts = result_Current.SuspendedW()
+        print "div2_Div2",result_CurrentaCurrent.ToString(),IsEvenBoolEven
+    IsOneBoolOne = test_IsOneBoolOne.ToString()
+
+
+
+GraphSyracuseCpp.PrintThreads()
+sts = m3p1_M3p1.ControlClear()
+sts = m3p1_M3p1.Resume()
+sts = div2_Div2.ControlClear()
+sts = div2_Div2.Resume()
+sts = incr_Incr.ControlClear()
+sts = incr_Incr.Resume()
+sts = test_IsOne.Resume()
+sts = test_IsEven.Resume()
+sts = result_Current.ControlClear()
+sts = result_Current.Resume()
+sts = result_Count.ControlClear()
+sts = result_Count.Resume()
+sts = GraphSyracuseCpp.DoneW()
+GraphSyracuseCpp.PrintPorts()
+GraphSyracuseCpp.PrintThreads()
+
diff --git a/examples/GraphSyracuseCpp.xml b/examples/GraphSyracuseCpp.xml
new file mode 100755 (executable)
index 0000000..09d8a38
--- /dev/null
@@ -0,0 +1,457 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphSyracuseCpp</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphSyracuseCpp</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>Syracuse\anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_IsEven\BoolEven</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>test_IsOne\BoolOne</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>result_Current\aCurrent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>result_Count\aCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:37</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>JR</author>
+                       <container>?</container>
+                       <comment>Syracuse algorithm</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>Syracuse</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Init</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Syr</outParameter-type>
+                                               <outParameter-name>aSyracuse</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>9</x-position>
+                       <y-position>207</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>test_IsEven</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>IsEven</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolEven</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>197</x-position>
+                       <y-position>407</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>test_IsOne</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>IsOne</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>BoolOne</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>208</x-position>
+                       <y-position>59</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>m3p1_M3p1</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>M3p1</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>418</x-position>
+                       <y-position>408</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>div2_Div2</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>414</x-position>
+                       <y-position>10</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>incr_Incr</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Incr</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>416</x-position>
+                       <y-position>207</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>result_Current</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Current</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aCurrent</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>603</x-position>
+                       <y-position>216</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>result_Count</node-name>
+                       <kind>2</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Count</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Syr</inParameter-type>
+                                               <inParameter-name>aSyracuse</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 16:43:27</creation-date>
+                       <lastmodification-date>11/3/2003 - 16:43:27</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>803</x-position>
+                       <y-position>212</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>test_IsEven</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>175</x>
+                                       <y>559</y>
+                               </coord>
+                               <coord>
+                                       <x>175</x>
+                                       <y>359</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>test_IsOne</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>177</x>
+                                       <y>211</y>
+                               </coord>
+                               <coord>
+                                       <x>177</x>
+                                       <y>359</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>m3p1_M3p1</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>388</x>
+                                       <y>560</y>
+                               </coord>
+                               <coord>
+                                       <x>388</x>
+                                       <y>359</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>div2_Div2</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>389</x>
+                                       <y>162</y>
+                               </coord>
+                               <coord>
+                                       <x>389</x>
+                                       <y>359</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>incr_Incr</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>result_Current</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>590</x>
+                                       <y>368</y>
+                               </coord>
+                               <coord>
+                                       <x>590</x>
+                                       <y>390</y>
+                               </coord>
+                               <coord>
+                                       <x>388</x>
+                                       <y>390</y>
+                               </coord>
+                               <coord>
+                                       <x>388</x>
+                                       <y>359</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Syracuse</fromnode-name>
+                       <fromserviceparameter-name>aSyracuse</fromserviceparameter-name>
+                       <tonode-name>result_Count</tonode-name>
+                       <toserviceparameter-name>aSyracuse</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>785</x>
+                                       <y>364</y>
+                               </coord>
+                               <coord>
+                                       <x>785</x>
+                                       <y>391</y>
+                               </coord>
+                               <coord>
+                                       <x>389</x>
+                                       <y>391</y>
+                               </coord>
+                               <coord>
+                                       <x>389</x>
+                                       <y>357</y>
+                               </coord>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphSyracuseCpp</fromnode-name>
+                       <fromserviceparameter-name>Syracuse\anOddInteger</fromserviceparameter-name>
+                       <tonode-name>Syracuse</tonode-name>
+                       <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>31</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/Graphs.py b/examples/Graphs.py
new file mode 100644 (file)
index 0000000..0791216
--- /dev/null
@@ -0,0 +1,94 @@
+
+# Generated python file of Graph Graphs
+
+from SuperV import *
+# Graph creation 
+Graphs = Graph( 'Graphs' )
+Graphs.SetAuthor( '' )
+Graphs.SetComment( '' )
+Graphs.Coords( 0 , 0 )
+
+# Creation of Nodes
+Add = Graphs.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'localhost/FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 32 , 26 )
+Sub = Graphs.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'localhost/FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 241 , 38 )
+Mul = Graphs.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'localhost/FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 445 , 0 )
+Div = Graphs.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'localhost/FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 624 , 0 )
+Add_1 = Graphs.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add_1.SetAuthor( '' )
+Add_1.SetContainer( 'localhost/FactoryServer' )
+Add_1.SetComment( '' )
+Add_1.Coords( 13 , 297 )
+Sub_1 = Graphs.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub_1.SetAuthor( '' )
+Sub_1.SetContainer( 'localhost/FactoryServer' )
+Sub_1.SetComment( '' )
+Sub_1.Coords( 235 , 217 )
+Mul_1 = Graphs.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul_1.SetAuthor( '' )
+Mul_1.SetContainer( 'localhost/FactoryServer' )
+Mul_1.SetComment( '' )
+Mul_1.Coords( 423 , 303 )
+Div_1 = Graphs.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div_1.SetAuthor( '' )
+Div_1.SetContainer( 'localhost/FactoryServer' )
+Div_1.SetComment( '' )
+Div_1.Coords( 618 , 297 )
+
+# Creation of intermediate Output variables and of links
+Addz = Add.Port( 'z' )
+Subx = Graphs.Link( Addz , Sub.Port( 'x' ) )
+Subz = Sub.Port( 'z' )
+Mulx = Graphs.Link( Subz , Mul.Port( 'x' ) )
+Divx = Graphs.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = Graphs.Link( Mulz , Div.Port( 'y' ) )
+Add_1FuncValue = Add_1.Port( 'FuncValue' )
+Mul_1x = Graphs.Link( Add_1FuncValue , Mul_1.Port( 'x' ) )
+Add_1z = Add_1.Port( 'z' )
+Sub_1x = Graphs.Link( Add_1z , Sub_1.Port( 'x' ) )
+Sub_1z = Sub_1.Port( 'z' )
+Div_1x = Graphs.Link( Sub_1z , Div_1.Port( 'x' ) )
+Mul_1z = Mul_1.Port( 'z' )
+Div_1y = Graphs.Link( Mul_1z , Div_1.Port( 'y' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 3)
+Addy = Add.Input( 'y' , 5)
+Suby = Sub.Input( 'y' , 7)
+Muly = Mul.Input( 'y' , 11)
+Add_1x = Add_1.Input( 'x' , 1)
+Add_1y = Add_1.Input( 'y' , 2)
+Sub_1y = Sub_1.Input( 'y' , 3)
+Mul_1y = Mul_1.Input( 'y' , 4)
+
+# Missing Input datas
+
+# Creation of Output variables
+AddFuncValue = Add.Port( 'FuncValue' )
+Divz = Div.Port( 'z' )
+Div_1z = Div_1.Port( 'z' )
+
+Graphs.Run()
+
+Graphs.DoneW()
+
+Graphs.State()
+
+Graphs.PrintPorts()
+
diff --git a/examples/Graphs.xml b/examples/Graphs.xml
new file mode 100644 (file)
index 0000000..33bed41
--- /dev/null
@@ -0,0 +1,561 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>Graphs</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Graphs</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Mul\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add_1\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add_1\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub_1\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Mul_1\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Add\FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div_1\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>32</x-position>
+                       <y-position>26</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>241</x-position>
+                       <y-position>38</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>445</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>624</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>13</x-position>
+                       <y-position>297</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>235</x-position>
+                       <y-position>217</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>423</x-position>
+                       <y-position>303</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div_1</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>11/3/2003 - 15:3:57</creation-date>
+                       <lastmodification-date>11/3/2003 - 15:3:57</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>618</x-position>
+                       <y-position>297</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add_1</fromnode-name>
+                       <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
+                       <tonode-name>Mul_1</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add_1</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub_1</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub_1</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div_1</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul_1</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div_1</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>7</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>11</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Add_1\x</fromserviceparameter-name>
+                       <tonode-name>Add_1</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Add_1\y</fromserviceparameter-name>
+                       <tonode-name>Add_1</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>2</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Sub_1\y</fromserviceparameter-name>
+                       <tonode-name>Sub_1</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>Graphs</fromnode-name>
+                       <fromserviceparameter-name>Mul_1\y</fromserviceparameter-name>
+                       <tonode-name>Mul_1</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>4</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/NewGraphEssai.py b/examples/NewGraphEssai.py
new file mode 100644 (file)
index 0000000..fdb68f6
--- /dev/null
@@ -0,0 +1,67 @@
+
+# Generated python file of Graph GraphEssai
+
+from SuperV import *
+# Graph creation 
+GraphEssai = Graph( 'GraphEssai' )
+print GraphEssai.SetAuthor( '' )
+print GraphEssai.SetComment( '' )
+GraphEssai.Coords( 0 , 0 )
+
+# Creation of Nodes
+Sub = GraphEssai.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+print Sub.SetAuthor( '' )
+print Sub.SetContainer( 'SubDivServer' )
+print Sub.SetComment( '' )
+Sub.Coords( 379 , 41 )
+Mul = GraphEssai.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+print Mul.SetAuthor( '' )
+print Mul.SetContainer( 'MulServer' )
+print Mul.SetComment( '' )
+Mul.Coords( 553 , 275 )
+Div = GraphEssai.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+print Div.SetAuthor( '' )
+print Div.SetContainer( 'SubDivServer' )
+print Div.SetComment( '' )
+Div.Coords( 608 , 42 )
+Addition = GraphEssai.Node( 'AddComponent' , 'AddComponent' , 'Addition' )
+print Addition.SetAuthor( '' )
+print Addition.SetContainer( 'localhost/AddServer' )
+print Addition.SetComment( '' )
+Addition.Coords( 14 , 270 )
+Add = GraphEssai.Node( 'AddComponent' , 'Adder' , 'Add' )
+print Add.SetAuthor( '' )
+print Add.SetContainer( 'localhost/AddServer' )
+print Add.SetComment( '' )
+Add.Coords( 204 , 237 )
+
+# Creation of intermediate Output variables and of links
+Subz = Sub.Port( 'z' )
+Mulx = GraphEssai.Link( Subz , Mul.Port( 'x' ) )
+Divx = GraphEssai.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai.Link( Mulz , Div.Port( 'y' ) )
+AdditionAdder = Addition.Port( 'Adder' )
+AddAdder = GraphEssai.Link( AdditionAdder , Add.Port( 'Adder' ) )
+AddFuncValue = Add.Port( 'FuncValue' )
+Suby = GraphEssai.Link( AddFuncValue , Sub.Port( 'y' ) )
+Addz = Add.Port( 'z' )
+Muly = GraphEssai.Link( Addz , Mul.Port( 'y' ) )
+
+# Creation of Input datas
+Subx = Sub.Input( 'x' , 4.5)
+Addx = Add.Input( 'x' , 1.5)
+Addy = Add.Input( 'y' , 3)
+
+# Missing Input datas
+
+# Creation of Output variables
+Divz = Div.Port( 'z' )
+
+GraphEssai.Run()
+
+GraphEssai.DoneW()
+
+GraphEssai.State()
+
+GraphEssai.PrintPorts()
diff --git a/examples/NewGraphEssai.xml b/examples/NewGraphEssai.xml
new file mode 100644 (file)
index 0000000..4cf7c28
--- /dev/null
@@ -0,0 +1,305 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>GraphEssai</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai</node-name>
+                       <kind>1</kind>
+                       <service>
+                               <service-name>GraphEssai</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>21/11/2001 - 17:17:23</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:20:10</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>SuperVisionContainer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>27/3/2002 - 9:16:4</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:16:4</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>SubDivServer</container>
+                       <comment>?</comment>
+                       <x-position>379</x-position>
+                       <y-position>41</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>27/3/2002 - 9:16:4</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:16:4</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>MulServer</container>
+                       <comment>?</comment>
+                       <x-position>553</x-position>
+                       <y-position>275</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>27/3/2002 - 9:16:4</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:16:4</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>SubDivServer</container>
+                       <comment>?</comment>
+                       <x-position>608</x-position>
+                       <y-position>42</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Addition</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Addition</service-name>
+                               <inParameter-list>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Adder</outParameter-type>
+                                               <outParameter-name>Adder</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>27/3/2002 - 9:16:4</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:16:4</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/AddServer</container>
+                       <comment>?</comment>
+                       <x-position>14</x-position>
+                       <y-position>270</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>Adder</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Adder</inParameter-type>
+                                               <inParameter-name>Adder</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>27/3/2002 - 9:16:4</creation-date>
+                       <lastmodification-date>27/3/2002 - 9:16:4</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/AddServer</container>
+                       <comment>?</comment>
+                       <x-position>204</x-position>
+                       <y-position>237</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Addition</fromnode-name>
+                       <fromserviceparameter-name>Adder</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>Adder</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>4.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>1.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/NewGraphGeomEssai.py b/examples/NewGraphGeomEssai.py
new file mode 100644 (file)
index 0000000..168e25b
--- /dev/null
@@ -0,0 +1,54 @@
+
+# Generated python file of Graph GraphGeom2Essai
+
+from SuperV import *
+# Graph creation 
+GraphGeom2Essai = Graph( 'GraphGeom2Essai' )
+print GraphGeom2Essai.SetAuthor( '' )
+print GraphGeom2Essai.SetComment( '' )
+GraphGeom2Essai.Coords( 0 , 0 )
+
+# Creation of Nodes
+MakeSphere = GraphGeom2Essai.Node( 'Geometry' , 'Geometry' , 'MakeSphere' )
+print MakeSphere.SetAuthor( '' )
+print MakeSphere.SetContainer( 'FactoryServer' )
+print MakeSphere.SetComment( '' )
+MakeSphere.Coords( 17 , 75 )
+MakeCopy = GraphGeom2Essai.Node( 'Geometry' , 'Geometry' , 'MakeCopy' )
+print MakeCopy.SetAuthor( '' )
+print MakeCopy.SetContainer( 'FactoryServer' )
+print MakeCopy.SetComment( '' )
+MakeCopy.Coords( 219 , 12 )
+MakeTranslation = GraphGeom2Essai.Node( 'Geometry' , 'Geometry' , 'MakeTranslation' )
+print MakeTranslation.SetAuthor( '' )
+print MakeTranslation.SetContainer( 'FactoryServer' )
+print MakeTranslation.SetComment( '' )
+MakeTranslation.Coords( 221 , 209 )
+MakeFuse = GraphGeom2Essai.Node( 'Geometry' , 'Geometry' , 'MakeFuse' )
+print MakeFuse.SetAuthor( '' )
+print MakeFuse.SetContainer( 'FactoryServer' )
+print MakeFuse.SetComment( '' )
+MakeFuse.Coords( 465 , 106 )
+
+# Creation of intermediate Output variables and of links
+MakeSpheresphere = MakeSphere.Port( 'shape' )
+MakeCopyshape = GraphGeom2Essai.Link( MakeSpheresphere , MakeCopy.Port( 'shape1' ) )
+MakeTranslationshape = GraphGeom2Essai.Link( MakeSpheresphere , MakeTranslation.Port( 'shape1' ) )
+MakeCopycopy = MakeCopy.Port( 'shape' )
+MakeFuseshape1 = GraphGeom2Essai.Link( MakeCopycopy , MakeFuse.Port( 'shape1' ) )
+MakeTranslationtranslation = MakeTranslation.Port( 'shape' )
+MakeFuseshape2 = GraphGeom2Essai.Link( MakeTranslationtranslation , MakeFuse.Port( 'shape2' ) )
+
+# Creation of Input datas
+MakeSpherex1 = MakeSphere.Input( 'x1' , 0)
+MakeSpherey1 = MakeSphere.Input( 'y1' , 0)
+MakeSpherez1 = MakeSphere.Input( 'z1' , 0)
+MakeSphereradius = MakeSphere.Input( 'radius' , 50)
+MakeTranslationx1 = MakeTranslation.Input( 'x1' , 80)
+MakeTranslationy1 = MakeTranslation.Input( 'y1' , 0)
+MakeTranslationz1 = MakeTranslation.Input( 'z1' , 0)
+
+# Missing Input datas
+
+# Creation of Output variables
+MakeFuseresult = MakeFuse.Port( 'shape' )
diff --git a/examples/NewGraphGeomEssai.xml b/examples/NewGraphGeomEssai.xml
new file mode 100644 (file)
index 0000000..6027765
--- /dev/null
@@ -0,0 +1,332 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphGeom2Essai</node-name>
+                       <kind>1</kind>
+                       <service>
+                               <service-name>GraphGeom2Essai</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeSphere\radius</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>MakeFuse\result</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>12/12/2001 - 15:57:26</creation-date>
+                       <lastmodification-date>28/3/2002 - 15:32:51</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>MakeSphere</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeSphere</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>radius</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>sphere</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>28/3/2002 - 15:32:51</creation-date>
+                       <lastmodification-date>28/3/2002 - 15:32:51</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>17</x-position>
+                       <y-position>75</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>MakeCopy</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeCopy</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>copy</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>28/3/2002 - 15:32:51</creation-date>
+                       <lastmodification-date>28/3/2002 - 15:32:51</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>219</x-position>
+                       <y-position>12</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>MakeTranslation</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeTranslation</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>translation</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>28/3/2002 - 15:32:51</creation-date>
+                       <lastmodification-date>28/3/2002 - 15:32:51</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>221</x-position>
+                       <y-position>209</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>MakeFuse</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeFuse</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>result</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>28/3/2002 - 15:32:51</creation-date>
+                       <lastmodification-date>28/3/2002 - 15:32:51</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>465</x-position>
+                       <y-position>106</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>MakeSphere</fromnode-name>
+                       <fromserviceparameter-name>sphere</fromserviceparameter-name>
+                       <tonode-name>MakeCopy</tonode-name>
+                       <toserviceparameter-name>shape</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeSphere</fromnode-name>
+                       <fromserviceparameter-name>sphere</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>shape</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeCopy</fromnode-name>
+                       <fromserviceparameter-name>copy</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeTranslation</fromnode-name>
+                       <fromserviceparameter-name>translation</fromserviceparameter-name>
+                       <tonode-name>MakeFuse</tonode-name>
+                       <toserviceparameter-name>shape2</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\x1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\y1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\z1</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeSphere\radius</fromserviceparameter-name>
+                       <tonode-name>MakeSphere</tonode-name>
+                       <toserviceparameter-name>radius</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\x1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>80</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\y1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphGeom2Essai</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\z1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/SupervRheolefGraph.py b/examples/SupervRheolefGraph.py
new file mode 100755 (executable)
index 0000000..7cf5a05
--- /dev/null
@@ -0,0 +1,189 @@
+
+# Generated python file of Graph aNewDataFlow
+
+from SuperV import *
+# Graph creation 
+aNewDataFlow = Graph( 'aNewDataFlow' )
+print aNewDataFlow.SetName( 'aNewDataFlow' )
+print aNewDataFlow.SetAuthor( '' )
+print aNewDataFlow.SetComment( '' )
+aNewDataFlow.Coords( 0 , 0 )
+
+# Creation of Nodes
+InitCL = aNewDataFlow.Node( 'CLRheolef' , 'CLRheolef' , 'InitCL' )
+print InitCL.SetName( 'InitCL' )
+print InitCL.SetAuthor( '' )
+print InitCL.SetContainer( 'localhost/FactoryServer' )
+print InitCL.SetComment( '' )
+InitCL.Coords( 340 , 327 )
+MakeBox = aNewDataFlow.Node( 'Geometry' , 'Geometry' , 'MakeBox' )
+print MakeBox.SetName( 'MakeBox' )
+print MakeBox.SetAuthor( '' )
+print MakeBox.SetContainer( 'localhost/FactoryServer' )
+print MakeBox.SetComment( '' )
+MakeBox.Coords( 0 , 0 )
+MeshGeomShapeSup = aNewDataFlow.Node( 'QMG' , 'QMG' , 'MeshGeomShapeSup' )
+print MeshGeomShapeSup.SetName( 'MeshGeomShapeSup' )
+print MeshGeomShapeSup.SetAuthor( '' )
+print MeshGeomShapeSup.SetContainer( 'localhost/FactoryServer' )
+print MeshGeomShapeSup.SetComment( '' )
+MeshGeomShapeSup.Coords( 339 , 0 )
+SolveSup = aNewDataFlow.Node( 'Rheolef' , 'Rheolef' , 'SolveSup' )
+print SolveSup.SetName( 'SolveSup' )
+print SolveSup.SetAuthor( '' )
+print SolveSup.SetContainer( 'localhost/FactoryServer' )
+print SolveSup.SetComment( '' )
+SolveSup.Coords( 862 , 298 )
+ModifyCL = aNewDataFlow.Node( 'CLRheolef' , 'CLRheolef' , 'ModifyCL' )
+print ModifyCL.SetName( 'ModifyCL' )
+print ModifyCL.SetAuthor( '' )
+print ModifyCL.SetContainer( 'localhost/FactoryServer' )
+print ModifyCL.SetComment( '' )
+ModifyCL.Coords( 509 , 328 )
+MakeBoolean = aNewDataFlow.Node( 'Geometry' , 'Geometry' , 'MakeBoolean' )
+print MakeBoolean.SetName( 'MakeBoolean' )
+print MakeBoolean.SetAuthor( '' )
+print MakeBoolean.SetContainer( 'localhost/FactoryServer' )
+print MakeBoolean.SetComment( '' )
+MakeBoolean.Coords( 171 , 0 )
+MakeBox_1 = aNewDataFlow.Node( 'Geometry' , 'Geometry' , 'MakeBox' )
+print MakeBox_1.SetName( 'MakeBox_1' )
+print MakeBox_1.SetAuthor( '' )
+print MakeBox_1.SetContainer( 'localhost/FactoryServer' )
+print MakeBox_1.SetComment( '' )
+MakeBox_1.Coords( 0 , 325 )
+MakeTranslation = aNewDataFlow.Node( 'Geometry' , 'Geometry' , 'MakeTranslation' )
+print MakeTranslation.SetName( 'MakeTranslation' )
+print MakeTranslation.SetAuthor( '' )
+print MakeTranslation.SetContainer( 'localhost/FactoryServer' )
+print MakeTranslation.SetComment( '' )
+MakeTranslation.Coords( 165 , 325 )
+FindNode = aNewDataFlow.Node( 'QMG' , 'QMG' , 'FindNode' )
+print FindNode.SetName( 'FindNode' )
+print FindNode.SetAuthor( '' )
+print FindNode.SetContainer( 'localhost/FactoryServer' )
+print FindNode.SetComment( '' )
+FindNode.Coords( 510 , 0 )
+ValueOf = aNewDataFlow.Node( 'Rheolef' , 'Rheolef' , 'ValueOf' )
+print ValueOf.SetName( 'ValueOf' )
+print ValueOf.SetAuthor( '' )
+print ValueOf.SetContainer( 'localhost/FactoryServer' )
+print ValueOf.SetComment( '' )
+ValueOf.Coords( 692 , 43 )
+ModifyCL_1 = aNewDataFlow.Node( 'CLRheolef' , 'CLRheolef' , 'ModifyCL' )
+print ModifyCL_1.SetName( 'ModifyCL_1' )
+print ModifyCL_1.SetAuthor( '' )
+print ModifyCL_1.SetContainer( 'localhost/FactoryServer' )
+print ModifyCL_1.SetComment( '' )
+ModifyCL_1.Coords( 674 , 328 )
+Plot = aNewDataFlow.Node( 'Rheolef' , 'Rheolef' , 'Plot' )
+print Plot.SetName( 'Plot' )
+print Plot.SetAuthor( '' )
+print Plot.SetContainer( 'localhost/FactoryServer' )
+print Plot.SetComment( '' )
+Plot.Coords( 860 , 43 )
+Add = aNewDataFlow.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+print Add.SetName( 'Add' )
+print Add.SetAuthor( '' )
+print Add.SetContainer( 'localhost/FactoryServer' )
+print Add.SetComment( '' )
+Add.Coords( 0 , 650 )
+
+# Creation of intermediate Output variables and of links
+InitCLreturn = InitCL.Port( 'return' )
+ModifyCLmyRheolefData = aNewDataFlow.Link( InitCLreturn , ModifyCL.Port( 'myRheolefData' ) )
+MakeBoxshape = MakeBox.Port( 'shape' )
+MakeBooleanshape1 = aNewDataFlow.Link( MakeBoxshape , MakeBoolean.Port( 'shape1' ) )
+MeshGeomShapeSupreturn = MeshGeomShapeSup.Port( 'return' )
+SolveSupmyMesh = aNewDataFlow.Link( MeshGeomShapeSupreturn , SolveSup.Port( 'myMesh' ) )
+print SolveSupmyMesh.AddCoord( 1 , 836 , 509 )
+print SolveSupmyMesh.AddCoord( 2 , 835 , 320 )
+print SolveSupmyMesh.AddCoord( 3 , 499 , 321 )
+print SolveSupmyMesh.AddCoord( 4 , 498 , 152 )
+InitCLmyMesh = aNewDataFlow.Link( MeshGeomShapeSupreturn , InitCL.Port( 'myMesh' ) )
+print InitCLmyMesh.AddCoord( 1 , 333 , 570 )
+print InitCLmyMesh.AddCoord( 2 , 332 , 321 )
+print InitCLmyMesh.AddCoord( 3 , 499 , 321 )
+print InitCLmyMesh.AddCoord( 4 , 499 , 151 )
+FindNodeaMesh = aNewDataFlow.Link( MeshGeomShapeSupreturn , FindNode.Port( 'aMesh' ) )
+print FindNodeaMesh.AddCoord( 1 , 498 , 152 )
+SolveSupreturn = SolveSup.Port( 'return' )
+ValueOfaField = aNewDataFlow.Link( SolveSupreturn , ValueOf.Port( 'aField' ) )
+print ValueOfaField.AddCoord( 1 , 683 , 194 )
+print ValueOfaField.AddCoord( 2 , 682 , 16 )
+print ValueOfaField.AddCoord( 3 , 1000 , 17 )
+print ValueOfaField.AddCoord( 4 , 1001 , 450 )
+ModifyCLreturn = ModifyCL.Port( 'return' )
+ModifyCL_1myRheolefData = aNewDataFlow.Link( ModifyCLreturn , ModifyCL_1.Port( 'myRheolefData' ) )
+MakeBooleanshape = MakeBoolean.Port( 'shape' )
+MeshGeomShapeSupshape = aNewDataFlow.Link( MakeBooleanshape , MeshGeomShapeSup.Port( 'shape' ) )
+print MeshGeomShapeSupshape.AddCoord( 1 , 333 , 182 )
+print MeshGeomShapeSupshape.AddCoord( 2 , 332 , 153 )
+MakeBox_1shape = MakeBox_1.Port( 'shape' )
+MakeTranslationshape1 = aNewDataFlow.Link( MakeBox_1shape , MakeTranslation.Port( 'shape1' ) )
+MakeTranslationshape = MakeTranslation.Port( 'shape' )
+MakeBooleanshape2 = aNewDataFlow.Link( MakeTranslationshape , MakeBoolean.Port( 'shape2' ) )
+print MakeBooleanshape2.AddCoord( 1 , 163 , 182 )
+print MakeBooleanshape2.AddCoord( 2 , 163 , 321 )
+print MakeBooleanshape2.AddCoord( 3 , 326 , 321 )
+print MakeBooleanshape2.AddCoord( 4 , 327 , 477 )
+FindNodereturn = FindNode.Port( 'return' )
+ValueOfnumberOfNode = aNewDataFlow.Link( FindNodereturn , ValueOf.Port( 'numberOfNode' ) )
+print ValueOfnumberOfNode.AddCoord( 1 , 673 , 224 )
+print ValueOfnumberOfNode.AddCoord( 2 , 672 , 151 )
+ValueOfreturn = ValueOf.Port( 'return' )
+PlotValue = aNewDataFlow.Link( ValueOfreturn , Plot.Port( 'Value' ) )
+ModifyCL_1return = ModifyCL_1.Port( 'return' )
+SolveSupmyRheolefData = aNewDataFlow.Link( ModifyCL_1return , SolveSup.Port( 'myRheolefData' ) )
+Addz = Add.Port( 'z' )
+MakeTranslationy1 = aNewDataFlow.Link( Addz , MakeTranslation.Port( 'y1' ) )
+print MakeTranslationy1.AddCoord( 1 , 161 , 537 )
+print MakeTranslationy1.AddCoord( 2 , 162 , 831 )
+FindNodey = aNewDataFlow.Link( Addz , FindNode.Port( 'y' ) )
+print FindNodey.AddCoord( 1 , 504 , 209 )
+print FindNodey.AddCoord( 2 , 503 , 832 )
+PlotPosition = aNewDataFlow.Link( Addz , Plot.Port( 'Position' ) )
+print PlotPosition.AddCoord( 1 , 854 , 228 )
+print PlotPosition.AddCoord( 2 , 855 , 832 )
+
+# Creation of Input datas
+InitCLstudyId = InitCL.Input( 'studyId' , 1)
+InitCLdataName = InitCL.Input( 'dataName' , 'BoxData')
+InitCLsource = InitCL.Input( 'source' , 0)
+MakeBoxx1 = MakeBox.Input( 'x1' , 0)
+MakeBoxy1 = MakeBox.Input( 'y1' , 0)
+MakeBoxz1 = MakeBox.Input( 'z1' , 0)
+MakeBoxx2 = MakeBox.Input( 'x2' , 100)
+MakeBoxy2 = MakeBox.Input( 'y2' , 500)
+MakeBoxz2 = MakeBox.Input( 'z2' , 50)
+MeshGeomShapeSupstudyId = MeshGeomShapeSup.Input( 'studyId' , 1)
+MeshGeomShapeSupsizeControl = MeshGeomShapeSup.Input( 'sizeControl' , 999999)
+MeshGeomShapeSupcurveControl = MeshGeomShapeSup.Input( 'curveControl' , 0.5)
+MeshGeomShapeSuptolmesh = MeshGeomShapeSup.Input( 'tolmesh' , 1e-05)
+MeshGeomShapeSuptolskin = MeshGeomShapeSup.Input( 'tolskin' , 0)
+SolveSupstudyId = SolveSup.Input( 'studyId' , 1)
+ModifyCLfaceToModify = ModifyCL.Input( 'faceToModify' , 3)
+ModifyCLnewFaceCLtype = ModifyCL.Input( 'newFaceCLtype' , 1)
+ModifyCLnewFaceValue = ModifyCL.Input( 'newFaceValue' , 0)
+MakeBooleanoperation = MakeBoolean.Input( 'operation' , 2)
+MakeBox_1x1 = MakeBox_1.Input( 'x1' , 0)
+MakeBox_1y1 = MakeBox_1.Input( 'y1' , 0)
+MakeBox_1z1 = MakeBox_1.Input( 'z1' , 0)
+MakeBox_1x2 = MakeBox_1.Input( 'x2' , 40)
+MakeBox_1y2 = MakeBox_1.Input( 'y2' , 40)
+MakeBox_1z2 = MakeBox_1.Input( 'z2' , 70)
+MakeTranslationx1 = MakeTranslation.Input( 'x1' , 30)
+MakeTranslationz1 = MakeTranslation.Input( 'z1' , -10)
+FindNodex = FindNode.Input( 'x' , 50)
+FindNodez = FindNode.Input( 'z' , 25)
+ModifyCL_1faceToModify = ModifyCL_1.Input( 'faceToModify' , 5)
+ModifyCL_1newFaceCLtype = ModifyCL_1.Input( 'newFaceCLtype' , 1)
+ModifyCL_1newFaceValue = ModifyCL_1.Input( 'newFaceValue' , 1)
+PlotFilename = Plot.Input( 'Filename' , 'Result.plt')
+Addx = Add.Input( 'x' , 0)
+Addy = Add.Input( 'y' , 10)
+
+# Missing Input datas
+
+# Creation of Output variables
+AddFuncValue = Add.Port( 'FuncValue' )
diff --git a/examples/SupervRheolefGraph.xml b/examples/SupervRheolefGraph.xml
new file mode 100755 (executable)
index 0000000..37cd036
--- /dev/null
@@ -0,0 +1,1369 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>aNewDataFlow</node-name>
+                       <kind>1</kind>
+                       <service>
+                               <service-name>aNewDataFlow</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>InitCL\studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>InitCL\dataName</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>InitCL\source</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox\z2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>MeshGeomShapeSup\studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MeshGeomShapeSup\sizeControl</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MeshGeomShapeSup\curveControl</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MeshGeomShapeSup\tolmesh</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MeshGeomShapeSup\tolskin</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>SolveSup\studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>ModifyCL\faceToModify</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>ModifyCL\newFaceCLtype</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>ModifyCL\newFaceValue</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>MakeBoolean\operation</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeBox_1\z2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>MakeTranslation\z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>FindNode\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>FindNode\z</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>ModifyCL_1\faceToModify</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>ModifyCL_1\newFaceCLtype</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>ModifyCL_1\newFaceValue</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>Plot\Filename</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Add\FuncValue</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>14/7/2002 - 21:1:52</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:38:51</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>CLRheolef</component-name>
+                       <interface-name>CLRheolef</interface-name>
+                       <node-name>InitCL</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>InitCL</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>dataName</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>source</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>QMG_Mesh</inParameter-type>
+                                               <inParameter-name>myMesh</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Rheolef_Data</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>340</x-position>
+                       <y-position>327</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeBox</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeBox</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>QMG</component-name>
+                       <interface-name>QMG</interface-name>
+                       <node-name>MeshGeomShapeSup</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MeshGeomShapeSup</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>sizeControl</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>curveControl</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>tolmesh</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>tolskin</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>QMG_Mesh</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>339</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>Rheolef</component-name>
+                       <interface-name>Rheolef</interface-name>
+                       <node-name>SolveSup</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>SolveSup</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>studyId</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>Rheolef_Data</inParameter-type>
+                                               <inParameter-name>myRheolefData</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>QMG_Mesh</inParameter-type>
+                                               <inParameter-name>myMesh</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Rheolef_Field</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>862</x-position>
+                       <y-position>298</y-position>
+               </node>
+               <node>
+                       <component-name>CLRheolef</component-name>
+                       <interface-name>CLRheolef</interface-name>
+                       <node-name>ModifyCL</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>ModifyCL</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Rheolef_Data</inParameter-type>
+                                               <inParameter-name>myRheolefData</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>faceToModify</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>newFaceCLtype</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>newFaceValue</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Rheolef_Data</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>509</x-position>
+                       <y-position>328</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeBoolean</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeBoolean</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>operation</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>171</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeBox_1</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeBox</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y2</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z2</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>325</y-position>
+               </node>
+               <node>
+                       <component-name>Geometry</component-name>
+                       <interface-name>Geometry</interface-name>
+                       <node-name>MakeTranslation</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>MakeTranslation</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>GEOM_Shape</inParameter-type>
+                                               <inParameter-name>shape1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y1</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z1</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>GEOM_Shape</outParameter-type>
+                                               <outParameter-name>shape</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>165</x-position>
+                       <y-position>325</y-position>
+               </node>
+               <node>
+                       <component-name>QMG</component-name>
+                       <interface-name>QMG</interface-name>
+                       <node-name>FindNode</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>FindNode</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>QMG_Mesh</inParameter-type>
+                                               <inParameter-name>aMesh</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>z</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>510</x-position>
+                       <y-position>0</y-position>
+               </node>
+               <node>
+                       <component-name>Rheolef</component-name>
+                       <interface-name>Rheolef</interface-name>
+                       <node-name>ValueOf</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>ValueOf</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Rheolef_Field</inParameter-type>
+                                               <inParameter-name>aField</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>numberOfNode</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>692</x-position>
+                       <y-position>43</y-position>
+               </node>
+               <node>
+                       <component-name>CLRheolef</component-name>
+                       <interface-name>CLRheolef</interface-name>
+                       <node-name>ModifyCL_1</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>ModifyCL</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>Rheolef_Data</inParameter-type>
+                                               <inParameter-name>myRheolefData</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>faceToModify</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>newFaceCLtype</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>newFaceValue</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>Rheolef_Data</outParameter-type>
+                                               <outParameter-name>return</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>674</x-position>
+                       <y-position>328</y-position>
+               </node>
+               <node>
+                       <component-name>Rheolef</component-name>
+                       <interface-name>Rheolef</interface-name>
+                       <node-name>Plot</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Plot</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Value</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Position</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>Filename</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:30</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:30</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>860</x-position>
+                       <y-position>43</y-position>
+               </node>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <creation-date>18/7/2002 - 9:35:55</creation-date>
+                       <lastmodification-date>18/7/2002 - 9:35:55</lastmodification-date>
+                       <editor-release>1.03</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>650</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>InitCL</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>ModifyCL</tonode-name>
+                       <toserviceparameter-name>myRheolefData</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeBox</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeBoolean</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MeshGeomShapeSup</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>SolveSup</tonode-name>
+                       <toserviceparameter-name>myMesh</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>836</x>
+                                       <y>509</y>
+                               </coord>
+                               <coord>
+                                       <x>835</x>
+                                       <y>320</y>
+                               </coord>
+                               <coord>
+                                       <x>499</x>
+                                       <y>321</y>
+                               </coord>
+                               <coord>
+                                       <x>498</x>
+                                       <y>152</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MeshGeomShapeSup</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>InitCL</tonode-name>
+                       <toserviceparameter-name>myMesh</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>333</x>
+                                       <y>570</y>
+                               </coord>
+                               <coord>
+                                       <x>332</x>
+                                       <y>321</y>
+                               </coord>
+                               <coord>
+                                       <x>499</x>
+                                       <y>321</y>
+                               </coord>
+                               <coord>
+                                       <x>499</x>
+                                       <y>151</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MeshGeomShapeSup</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>FindNode</tonode-name>
+                       <toserviceparameter-name>aMesh</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>498</x>
+                                       <y>152</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>SolveSup</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>ValueOf</tonode-name>
+                       <toserviceparameter-name>aField</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>683</x>
+                                       <y>194</y>
+                               </coord>
+                               <coord>
+                                       <x>682</x>
+                                       <y>16</y>
+                               </coord>
+                               <coord>
+                                       <x>1000</x>
+                                       <y>17</y>
+                               </coord>
+                               <coord>
+                                       <x>1001</x>
+                                       <y>450</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ModifyCL</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>ModifyCL_1</tonode-name>
+                       <toserviceparameter-name>myRheolefData</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeBoolean</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>shape</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>333</x>
+                                       <y>182</y>
+                               </coord>
+                               <coord>
+                                       <x>332</x>
+                                       <y>153</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeBox_1</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>shape1</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>MakeTranslation</fromnode-name>
+                       <fromserviceparameter-name>shape</fromserviceparameter-name>
+                       <tonode-name>MakeBoolean</tonode-name>
+                       <toserviceparameter-name>shape2</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>163</x>
+                                       <y>182</y>
+                               </coord>
+                               <coord>
+                                       <x>163</x>
+                                       <y>321</y>
+                               </coord>
+                               <coord>
+                                       <x>326</x>
+                                       <y>321</y>
+                               </coord>
+                               <coord>
+                                       <x>327</x>
+                                       <y>477</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>FindNode</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>ValueOf</tonode-name>
+                       <toserviceparameter-name>numberOfNode</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>673</x>
+                                       <y>224</y>
+                               </coord>
+                               <coord>
+                                       <x>672</x>
+                                       <y>151</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ValueOf</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>Plot</tonode-name>
+                       <toserviceparameter-name>Value</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ModifyCL_1</fromnode-name>
+                       <fromserviceparameter-name>return</fromserviceparameter-name>
+                       <tonode-name>SolveSup</tonode-name>
+                       <toserviceparameter-name>myRheolefData</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>161</x>
+                                       <y>537</y>
+                               </coord>
+                               <coord>
+                                       <x>162</x>
+                                       <y>831</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>FindNode</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>504</x>
+                                       <y>209</y>
+                               </coord>
+                               <coord>
+                                       <x>503</x>
+                                       <y>832</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Plot</tonode-name>
+                       <toserviceparameter-name>Position</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>854</x>
+                                       <y>228</y>
+                               </coord>
+                               <coord>
+                                       <x>855</x>
+                                       <y>832</y>
+                               </coord>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>InitCL\studyId</fromserviceparameter-name>
+                       <tonode-name>InitCL</tonode-name>
+                       <toserviceparameter-name>studyId</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>InitCL\dataName</fromserviceparameter-name>
+                       <tonode-name>InitCL</tonode-name>
+                       <toserviceparameter-name>dataName</toserviceparameter-name>
+                       <data-value>
+                               <value-type>18</value-type>
+                               <value>BoxData</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>InitCL\source</fromserviceparameter-name>
+                       <tonode-name>InitCL</tonode-name>
+                       <toserviceparameter-name>source</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\x1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\y1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\z1</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\x2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>x2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>100</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\y2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>y2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>500</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox\z2</fromserviceparameter-name>
+                       <tonode-name>MakeBox</tonode-name>
+                       <toserviceparameter-name>z2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MeshGeomShapeSup\studyId</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>studyId</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MeshGeomShapeSup\sizeControl</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>sizeControl</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>999999</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MeshGeomShapeSup\curveControl</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>curveControl</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>0.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MeshGeomShapeSup\tolmesh</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>tolmesh</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>1e-05</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MeshGeomShapeSup\tolskin</fromserviceparameter-name>
+                       <tonode-name>MeshGeomShapeSup</tonode-name>
+                       <toserviceparameter-name>tolskin</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>SolveSup\studyId</fromserviceparameter-name>
+                       <tonode-name>SolveSup</tonode-name>
+                       <toserviceparameter-name>studyId</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL\faceToModify</fromserviceparameter-name>
+                       <tonode-name>ModifyCL</tonode-name>
+                       <toserviceparameter-name>faceToModify</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL\newFaceCLtype</fromserviceparameter-name>
+                       <tonode-name>ModifyCL</tonode-name>
+                       <toserviceparameter-name>newFaceCLtype</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL\newFaceValue</fromserviceparameter-name>
+                       <tonode-name>ModifyCL</tonode-name>
+                       <toserviceparameter-name>newFaceValue</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBoolean\operation</fromserviceparameter-name>
+                       <tonode-name>MakeBoolean</tonode-name>
+                       <toserviceparameter-name>operation</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>2</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\x1</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\y1</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>y1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\z1</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\x2</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>x2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>40</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\y2</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>y2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>40</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeBox_1\z2</fromserviceparameter-name>
+                       <tonode-name>MakeBox_1</tonode-name>
+                       <toserviceparameter-name>z2</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>70</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\x1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>x1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>30</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>MakeTranslation\z1</fromserviceparameter-name>
+                       <tonode-name>MakeTranslation</tonode-name>
+                       <toserviceparameter-name>z1</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>-10</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>FindNode\x</fromserviceparameter-name>
+                       <tonode-name>FindNode</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>50</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>FindNode\z</fromserviceparameter-name>
+                       <tonode-name>FindNode</tonode-name>
+                       <toserviceparameter-name>z</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>25</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL_1\faceToModify</fromserviceparameter-name>
+                       <tonode-name>ModifyCL_1</tonode-name>
+                       <toserviceparameter-name>faceToModify</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL_1\newFaceCLtype</fromserviceparameter-name>
+                       <tonode-name>ModifyCL_1</tonode-name>
+                       <toserviceparameter-name>newFaceCLtype</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>ModifyCL_1\newFaceValue</fromserviceparameter-name>
+                       <tonode-name>ModifyCL_1</tonode-name>
+                       <toserviceparameter-name>newFaceValue</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>1</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>Plot\Filename</fromserviceparameter-name>
+                       <tonode-name>Plot</tonode-name>
+                       <toserviceparameter-name>Filename</toserviceparameter-name>
+                       <data-value>
+                               <value-type>18</value-type>
+                               <value>Result.plt</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>aNewDataFlow</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>10</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/SyrStruct.py b/examples/SyrStruct.py
new file mode 100644 (file)
index 0000000..cf52c77
--- /dev/null
@@ -0,0 +1,354 @@
+
+# Generated python file of Graph SyrStruct
+
+from SuperV import *
+# Graph creation 
+SyrStruct = Graph( 'SyrStruct' )
+SyrStruct.SetName( 'SyrStruct' )
+SyrStruct.SetAuthor( 'JR' )
+SyrStruct.SetComment( 'Syracuse algorithm' )
+SyrStruct.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+m3 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3' )
+m3.SetName( 'm3' )
+m3.SetAuthor( '' )
+m3.SetContainer( 'localhost/FactoryServer' )
+m3.SetComment( '' )
+m3.Coords( 678 , 11 )
+m3incr = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+m3incr.SetName( 'm3incr' )
+m3incr.SetAuthor( '' )
+m3incr.SetContainer( 'localhost/FactoryServer' )
+m3incr.SetComment( '' )
+m3incr.Coords( 896 , 10 )
+incra = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incra.SetName( 'incra' )
+incra.SetAuthor( '' )
+incra.SetContainer( 'localhost/FactoryServer' )
+incra.SetComment( '' )
+incra.Coords( 789 , 201 )
+div2 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+div2.SetName( 'div2' )
+div2.SetAuthor( '' )
+div2.SetContainer( 'localhost/FactoryServer' )
+div2.SetComment( '' )
+div2.Coords( 792 , 387 )
+incrb = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+incrb.SetName( 'incrb' )
+incrb.SetAuthor( '' )
+incrb.SetContainer( 'localhost/FactoryServer' )
+incrb.SetComment( '' )
+incrb.Coords( 796 , 577 )
+
+# Creation of Loop Nodes
+PyforN = []
+PyforN.append( 'def InitN( NN , K , SyrComponent , min , max ) :' )
+PyforN.append( '    N = max' )
+PyforN.append( '    if min > 0 :' )
+PyforN.append( '        if min <= max :' )
+PyforN.append( '            N = min' )
+PyforN.append( '    return N,K,SyrComponent,min,max' )
+PyMoreforN = []
+PyMoreforN.append( 'def MoreN( NN , KK , SyrComponent , min , max ) :' )
+PyMoreforN.append( '    N = 0' )
+PyMoreforN.append( '    OutLoop = 0' )
+PyMoreforN.append( '    if NN < max :' )
+PyMoreforN.append( '        N = NN' )
+PyMoreforN.append( '        OutLoop = 1' )
+PyMoreforN.append( '    return OutLoop,N,0,SyrComponent,min,max' )
+PyNextforN = []
+PyNextforN.append( 'def NextN( NN , KK , SyrComponent , min , max ) :' )
+PyNextforN.append( '    N = NN + 1' )
+PyNextforN.append( '    K = KK' )
+PyNextforN.append( '    return N,K,SyrComponent,min,max' )
+forN,endforN = SyrStruct.LNode( 'InitN' , PyforN , 'MoreN' , PyMoreforN , 'NextN' , PyNextforN )
+endforN.SetName( 'endforN' )
+endforN.SetAuthor( '' )
+endforN.SetComment( '' )
+endforN.Coords( 1530 , 332 )
+forN.InPort( 'N' , 'long' )
+forN.InPort( 'K' , 'long' )
+forN.InPort( 'SyrComponent' , 'objref' )
+forN.InPort( 'min' , 'long' )
+forN.InPort( 'max' , 'long' )
+forN.OutPort( 'N' , 'long' )
+forN.OutPort( 'K' , 'long' )
+forN.OutPort( 'SyrComponent' , 'objref' )
+forN.OutPort( 'min' , 'long' )
+forN.OutPort( 'max' , 'long' )
+forN.SetName( 'forN' )
+forN.SetAuthor( '' )
+forN.SetComment( '' )
+forN.Coords( 21 , 242 )
+PywhileNotOne = []
+PywhileNotOne.append( 'import threading' )
+PywhileNotOne.append( 'import SyrComponent_idl' )
+PywhileNotOne.append( 'def InitNotOne( SyrComponent , N , K ) :' )
+PywhileNotOne.append( '    return SyrComponent,N,K' )
+PyMorewhileNotOne = []
+PyMorewhileNotOne.append( 'import SyrComponent_idl' )
+PyMorewhileNotOne.append( 'def MoreNotOne( SyrComponent , N , K ) :' )
+PyMorewhileNotOne.append( '    OutLoop = 1 - SyrComponent.C_ISONE( N )' )
+PyMorewhileNotOne.append( '    return OutLoop,SyrComponent,N,K ' )
+PyNextwhileNotOne = []
+PyNextwhileNotOne.append( 'import SyrComponent_idl' )
+PyNextwhileNotOne.append( 'def NextNotOne( SyrComponent , N , K ) :' )
+PyNextwhileNotOne.append( '    return SyrComponent,N,K' )
+whileNotOne,endwhileNotOne = SyrStruct.LNode( 'InitNotOne' , PywhileNotOne , 'MoreNotOne' , PyMorewhileNotOne , 'NextNotOne' , PyNextwhileNotOne )
+endwhileNotOne.SetName( 'endwhileNotOne' )
+endwhileNotOne.SetAuthor( '' )
+endwhileNotOne.SetComment( '' )
+endwhileNotOne.Coords( 1340 , 332 )
+whileNotOne.InPort( 'SyrComponent' , 'objref' )
+whileNotOne.InPort( 'N' , 'long' )
+whileNotOne.InPort( 'K' , 'long' )
+whileNotOne.OutPort( 'SyrComponent' , 'objref' )
+whileNotOne.OutPort( 'N' , 'long' )
+whileNotOne.OutPort( 'K' , 'long' )
+whileNotOne.SetName( 'whileNotOne' )
+whileNotOne.SetAuthor( '' )
+whileNotOne.SetComment( '' )
+whileNotOne.Coords( 210 , 297 )
+Pyfori = []
+Pyfori.append( 'def Initfori( ii , K ) :' )
+Pyfori.append( '    return 1,0,K' )
+PyMorefori = []
+PyMorefori.append( 'def Morefori( ii , K ) :' )
+PyMorefori.append( '    OutLoop = 0' )
+PyMorefori.append( '    if ii < 2 :' )
+PyMorefori.append( '        OutLoop = 1' )
+PyMorefori.append( '    return OutLoop,ii,K' )
+PyNextfori = []
+PyNextfori.append( 'def Nextfori( ii , K ) :' )
+PyNextfori.append( '    ii = ii + 1' )
+PyNextfori.append( '    return ii,K' )
+fori,endfori = SyrStruct.LNode( 'Initfori' , Pyfori , 'Morefori' , PyMorefori , 'Nextfori' , PyNextfori )
+endfori.SetName( 'endfori' )
+endfori.SetAuthor( '' )
+endfori.SetComment( '' )
+endfori.Coords( 971 , 202 )
+fori.InPort( 'i' , 'long' )
+fori.InPort( 'K' , 'long' )
+fori.OutPort( 'i' , 'long' )
+fori.OutPort( 'K' , 'long' )
+fori.SetName( 'fori' )
+fori.SetAuthor( '' )
+fori.SetComment( '' )
+fori.Coords( 605 , 202 )
+PywhileEven = []
+PywhileEven.append( 'import SyrComponent_idl' )
+PywhileEven.append( 'def InitEven( SyrComponent , N , K ) :' )
+PywhileEven.append( '    return SyrComponent,N,K' )
+PyMorewhileEven = []
+PyMorewhileEven.append( 'import SyrComponent_idl' )
+PyMorewhileEven.append( 'def MoreEven( SyrComponent , N , K ) :' )
+PyMorewhileEven.append( '    OutLoop = SyrComponent.C_ISEVEN( N )' )
+PyMorewhileEven.append( '    return OutLoop,SyrComponent,N,K ' )
+PyNextwhileEven = []
+PyNextwhileEven.append( 'import SyrComponent_idl' )
+PyNextwhileEven.append( 'def NextEven( SyrComponent , N , K ) :' )
+PyNextwhileEven.append( '    return SyrComponent,N,K' )
+whileEven,endwhileEven = SyrStruct.LNode( 'InitEven' , PywhileEven , 'MoreEven' , PyMorewhileEven , 'NextEven' , PyNextwhileEven )
+endwhileEven.SetName( 'endwhileEven' )
+endwhileEven.SetAuthor( '' )
+endwhileEven.SetComment( '' )
+endwhileEven.Coords( 974 , 450 )
+whileEven.InPort( 'SyrComponent' , 'objref' )
+whileEven.InPort( 'N' , 'long' )
+whileEven.InPort( 'K' , 'long' )
+whileEven.OutPort( 'SyrComponent' , 'objref' )
+whileEven.OutPort( 'N' , 'long' )
+whileEven.OutPort( 'K' , 'long' )
+whileEven.SetName( 'whileEven' )
+whileEven.SetAuthor( '' )
+whileEven.SetComment( '' )
+whileEven.Coords( 605 , 452 )
+
+# Creation of Switch Nodes
+PyifNotEven = []
+PyifNotEven.append( 'import SyrComponent_idl' )
+PyifNotEven.append( 'def ifNotEven( SyrComponent , N , K ) :' )
+PyifNotEven.append( '    Even = SyrComponent.C_ISEVEN( N )' )
+PyifNotEven.append( '    Odd = 1 - Even' )
+PyifNotEven.append( '    return Odd,Even,SyrComponent,N,K' )
+ifNotEven,endifNotEven = SyrStruct.SNode( 'ifNotEven' , PyifNotEven )
+endifNotEven.SetName( 'endifNotEven' )
+endifNotEven.SetAuthor( '' )
+endifNotEven.SetComment( '' )
+endifNotEven.Coords( 1155 , 331 )
+PyendifNotEven = []
+endifNotEven.SetPyFunction( 'EndifNotEven' , PyendifNotEven )
+endifNotEven.InPort( 'N' , 'long' )
+endifNotEven.InPort( 'K' , 'long' )
+endifNotEven.OutPort( 'N' , 'long' )
+endifNotEven.OutPort( 'K' , 'long' )
+ifNotEven.InPort( 'SyrComponent' , 'objref' )
+ifNotEven.InPort( 'N' , 'long' )
+ifNotEven.InPort( 'K' , 'long' )
+ifNotEven.OutPort( 'Odd' , 'long' )
+ifNotEven.OutPort( 'Even' , 'long' )
+ifNotEven.OutPort( 'SyrComponent' , 'objref' )
+ifNotEven.OutPort( 'N' , 'long' )
+ifNotEven.OutPort( 'K' , 'long' )
+ifNotEven.SetName( 'ifNotEven' )
+ifNotEven.SetAuthor( '' )
+ifNotEven.SetComment( '' )
+ifNotEven.Coords( 416 , 286 )
+
+# Creation of intermediate Output variables and of Control Links
+m3anInteger = m3.Port( 'anInteger' )
+m3incraCount = SyrStruct.Link( m3anInteger , m3incr.Port( 'aCount' ) )
+m3incraNewCount = m3incr.Port( 'aNewCount' )
+endifNotEvenN = SyrStruct.Link( m3incraNewCount , endifNotEven.Port( 'N' ) )
+incraaNewCount = incra.Port( 'aNewCount' )
+endforiK = SyrStruct.Link( incraaNewCount , endfori.Port( 'K' ) )
+endforiK.AddCoord( 1 , 953 , 414 )
+endforiK.AddCoord( 2 , 953 , 353 )
+div2anInteger = div2.Port( 'anInteger' )
+endwhileEvenN = SyrStruct.Link( div2anInteger , endwhileEven.Port( 'N' ) )
+endwhileEvenN.AddCoord( 1 , 960 , 632 )
+endwhileEvenN.AddCoord( 2 , 960 , 539 )
+incrbaNewCount = incrb.Port( 'aNewCount' )
+endwhileEvenK = SyrStruct.Link( incrbaNewCount , endwhileEven.Port( 'K' ) )
+endwhileEvenK.AddCoord( 1 , 963 , 662 )
+endwhileEvenK.AddCoord( 2 , 963 , 729 )
+forNDoLoop = forN.Port( 'DoLoop' )
+endforNDoLoop = SyrStruct.Link( forNDoLoop , endforN.Port( 'DoLoop' ) )
+forNN = forN.Port( 'N' )
+endforNN = SyrStruct.Link( forNN , endforN.Port( 'N' ) )
+endforNN.AddCoord( 1 , 1554 , 513 )
+endforNN.AddCoord( 2 , 1523 , 513 )
+endforNN.AddCoord( 3 , 1523 , 806 )
+endforNN.AddCoord( 4 , 202 , 806 )
+endforNN.AddCoord( 5 , 202 , 424 )
+whileNotOneN = SyrStruct.Link( forNN , whileNotOne.Port( 'N' ) )
+whileNotOneN.AddCoord( 1 , 200 , 479 )
+whileNotOneN.AddCoord( 2 , 200 , 424 )
+forNK = forN.Port( 'K' )
+whileNotOneK = SyrStruct.Link( forNK , whileNotOne.Port( 'K' ) )
+whileNotOneK.AddCoord( 1 , 187 , 509 )
+whileNotOneK.AddCoord( 2 , 187 , 454 )
+forNSyrComponent = forN.Port( 'SyrComponent' )
+endforNSyrComponent = SyrStruct.Link( forNSyrComponent , endforN.Port( 'SyrComponent' ) )
+whileNotOneSyrComponent = SyrStruct.Link( forNSyrComponent , whileNotOne.Port( 'SyrComponent' ) )
+forNmin = forN.Port( 'min' )
+endforNmin = SyrStruct.Link( forNmin , endforN.Port( 'min' ) )
+forNmax = forN.Port( 'max' )
+endforNmax = SyrStruct.Link( forNmax , endforN.Port( 'max' ) )
+endforNDoLoop = endforN.Port( 'DoLoop' )
+forNInitLoop = SyrStruct.Link( endforNDoLoop , forN.Port( 'InitLoop' ) )
+whileNotOneDoLoop = whileNotOne.Port( 'DoLoop' )
+endwhileNotOneDoLoop = SyrStruct.Link( whileNotOneDoLoop , endwhileNotOne.Port( 'DoLoop' ) )
+whileNotOneSyrComponent = whileNotOne.Port( 'SyrComponent' )
+endwhileNotOneSyrComponent = SyrStruct.Link( whileNotOneSyrComponent , endwhileNotOne.Port( 'SyrComponent' ) )
+ifNotEvenSyrComponent = SyrStruct.Link( whileNotOneSyrComponent , ifNotEven.Port( 'SyrComponent' ) )
+whileNotOneN = whileNotOne.Port( 'N' )
+ifNotEvenN = SyrStruct.Link( whileNotOneN , ifNotEven.Port( 'N' ) )
+ifNotEvenN.AddCoord( 1 , 378 , 438 )
+ifNotEvenN.AddCoord( 2 , 378 , 479 )
+whileNotOneK = whileNotOne.Port( 'K' )
+ifNotEvenK = SyrStruct.Link( whileNotOneK , ifNotEven.Port( 'K' ) )
+ifNotEvenK.AddCoord( 1 , 395 , 468 )
+ifNotEvenK.AddCoord( 2 , 395 , 509 )
+endwhileNotOneDoLoop = endwhileNotOne.Port( 'DoLoop' )
+whileNotOneInitLoop = SyrStruct.Link( endwhileNotOneDoLoop , whileNotOne.Port( 'InitLoop' ) )
+endwhileNotOneK = endwhileNotOne.Port( 'K' )
+endforNK = SyrStruct.Link( endwhileNotOneK , endforN.Port( 'K' ) )
+foriDoLoop = fori.Port( 'DoLoop' )
+endforiDoLoop = SyrStruct.Link( foriDoLoop , endfori.Port( 'DoLoop' ) )
+forii = fori.Port( 'i' )
+endforii = SyrStruct.Link( forii , endfori.Port( 'i' ) )
+foriK = fori.Port( 'K' )
+incraaCount = SyrStruct.Link( foriK , incra.Port( 'aCount' ) )
+incraaCount.AddCoord( 1 , 783 , 353 )
+incraaCount.AddCoord( 2 , 783 , 414 )
+endforiDoLoop = endfori.Port( 'DoLoop' )
+foriInitLoop = SyrStruct.Link( endforiDoLoop , fori.Port( 'InitLoop' ) )
+endforiK = endfori.Port( 'K' )
+endifNotEvenK = SyrStruct.Link( endforiK , endifNotEven.Port( 'K' ) )
+whileEvenDoLoop = whileEven.Port( 'DoLoop' )
+endwhileEvenDoLoop = SyrStruct.Link( whileEvenDoLoop , endwhileEven.Port( 'DoLoop' ) )
+whileEvenSyrComponent = whileEven.Port( 'SyrComponent' )
+endwhileEvenSyrComponent = SyrStruct.Link( whileEvenSyrComponent , endwhileEven.Port( 'SyrComponent' ) )
+whileEvenN = whileEven.Port( 'N' )
+div2anEvenInteger = SyrStruct.Link( whileEvenN , div2.Port( 'anEvenInteger' ) )
+div2anEvenInteger.AddCoord( 1 , 779 , 539 )
+div2anEvenInteger.AddCoord( 2 , 779 , 634 )
+whileEvenK = whileEven.Port( 'K' )
+incrbaCount = SyrStruct.Link( whileEvenK , incrb.Port( 'aCount' ) )
+incrbaCount.AddCoord( 1 , 777 , 729 )
+incrbaCount.AddCoord( 2 , 777 , 664 )
+endwhileEvenDoLoop = endwhileEven.Port( 'DoLoop' )
+whileEvenInitLoop = SyrStruct.Link( endwhileEvenDoLoop , whileEven.Port( 'InitLoop' ) )
+endwhileEvenN = endwhileEven.Port( 'N' )
+endifNotEvenN = SyrStruct.Link( endwhileEvenN , endifNotEven.Port( 'N' ) )
+endwhileEvenK = endwhileEven.Port( 'K' )
+endifNotEvenK = SyrStruct.Link( endwhileEvenK , endifNotEven.Port( 'K' ) )
+ifNotEvenDefault = ifNotEven.Port( 'Default' )
+endifNotEvenDefault = SyrStruct.Link( ifNotEvenDefault , endifNotEven.Port( 'Default' ) )
+ifNotEvenOdd = ifNotEven.Port( 'Odd' )
+m3InGate = SyrStruct.Link( ifNotEvenOdd , m3.Port( 'InGate' ) )
+m3InGate.AddCoord( 1 , 585 , 133 )
+m3InGate.AddCoord( 2 , 585 , 438 )
+foriInGate = SyrStruct.Link( ifNotEvenOdd , fori.Port( 'InGate' ) )
+foriInGate.AddCoord( 1 , 584 , 324 )
+foriInGate.AddCoord( 2 , 584 , 438 )
+ifNotEvenEven = ifNotEven.Port( 'Even' )
+whileEvenInGate = SyrStruct.Link( ifNotEvenEven , whileEven.Port( 'InGate' ) )
+whileEvenInGate.AddCoord( 1 , 593 , 574 )
+whileEvenInGate.AddCoord( 2 , 593 , 468 )
+ifNotEvenSyrComponent = ifNotEven.Port( 'SyrComponent' )
+whileEvenSyrComponent = SyrStruct.Link( ifNotEvenSyrComponent , whileEven.Port( 'SyrComponent' ) )
+ifNotEvenN = ifNotEven.Port( 'N' )
+whileEvenN = SyrStruct.Link( ifNotEvenN , whileEven.Port( 'N' ) )
+whileEvenN.AddCoord( 1 , 586 , 634 )
+whileEvenN.AddCoord( 2 , 586 , 498 )
+m3anOddInteger = SyrStruct.Link( ifNotEvenN , m3.Port( 'anOddInteger' ) )
+m3anOddInteger.AddCoord( 1 , 579 , 163 )
+m3anOddInteger.AddCoord( 2 , 579 , 498 )
+ifNotEvenK = ifNotEven.Port( 'K' )
+whileEvenK = SyrStruct.Link( ifNotEvenK , whileEven.Port( 'K' ) )
+whileEvenK.AddCoord( 1 , 580 , 664 )
+whileEvenK.AddCoord( 2 , 580 , 528 )
+foriK = SyrStruct.Link( ifNotEvenK , fori.Port( 'K' ) )
+foriK.AddCoord( 1 , 599 , 414 )
+foriK.AddCoord( 2 , 599 , 528 )
+endifNotEvenN = endifNotEven.Port( 'N' )
+endwhileNotOneN = SyrStruct.Link( endifNotEvenN , endwhileNotOne.Port( 'N' ) )
+endwhileNotOneN.AddCoord( 1 , 1324 , 514 )
+endwhileNotOneN.AddCoord( 2 , 1324 , 483 )
+endifNotEvenK = endifNotEven.Port( 'K' )
+endwhileNotOneK = SyrStruct.Link( endifNotEvenK , endwhileNotOne.Port( 'K' ) )
+endwhileNotOneK.AddCoord( 1 , 1318 , 544 )
+endwhileNotOneK.AddCoord( 2 , 1318 , 513 )
+
+# Creation of Input datas
+forNN = forN.Input( 'N' , 0)
+forNK = forN.Input( 'K' , 0)
+FactoryServerSyrComponent = SyrStruct.ComponentRef( 'FactoryServer' , 'SyrComponent' )
+forNSyrComponent.Input( FactoryServerSyrComponent )
+forNmin = forN.Input( 'min' , 5)
+forNmax = forN.Input( 'max' , 9)
+forii = fori.Input( 'i' , 0)
+
+# Creation of Output variables
+endforNN = endforN.Port( 'N' )
+endforNK = endforN.Port( 'K' )
+endforNSyrComponent = endforN.Port( 'SyrComponent' )
+endforNmin = endforN.Port( 'min' )
+endforNmax = endforN.Port( 'max' )
+endwhileNotOneSyrComponent = endwhileNotOne.Port( 'SyrComponent' )
+endwhileNotOneN = endwhileNotOne.Port( 'N' )
+endforii = endfori.Port( 'i' )
+endwhileEvenSyrComponent = endwhileEven.Port( 'SyrComponent' )
+
+
+SyrStruct.Run()
+
+SyrStruct.DoneW()
+
+SyrStruct.State()
+
+SyrStruct.PrintPorts()
+
diff --git a/examples/SyrStruct.xml b/examples/SyrStruct.xml
new file mode 100644 (file)
index 0000000..ffa8982
--- /dev/null
@@ -0,0 +1,1562 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>SyrStruct</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>SyrStruct</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>forN\N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>forN\K</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>forN\min</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>forN\max</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>fori\i</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>SyrComponent\aContainer</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>SyrComponent\aComponent</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endforN\N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endforN\K</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>endforN\SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endforN\min</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endforN\max</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>endwhileNotOne\SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endwhileNotOne\N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>endfori\i</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>endwhileEven\SyrComponent</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:16:1</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>JR</author>
+                       <container>?</container>
+                       <comment>Syracuse algorithm</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>m3</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_M3</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anOddInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>678</x-position>
+                       <y-position>11</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>m3incr</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>896</x-position>
+                       <y-position>10</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>incra</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>789</x-position>
+                       <y-position>201</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>div2</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_DIV2</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>anEvenInteger</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>anInteger</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>792</x-position>
+                       <y-position>387</y-position>
+               </node>
+               <node>
+                       <component-name>SyrComponent</component-name>
+                       <interface-name>SyrComponent</interface-name>
+                       <node-name>incrb</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>C_INCR</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>aCount</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>aNewCount</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>localhost/FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>796</x-position>
+                       <y-position>577</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>forN</node-name>
+                       <kind>4</kind>
+                       <coupled-node>endforN</coupled-node>
+                       <service>
+                               <service-name>InitN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>min</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>max</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>min</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>max</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>InitN</FuncName>
+                                       <PyFunc>def InitN( NN , K , SyrComponent , min , max ) :</PyFunc>
+                                       <PyFunc>    N = max</PyFunc>
+                                       <PyFunc>    if min > 0 :</PyFunc>
+                                       <PyFunc>        if max >= min :</PyFunc>
+                                       <PyFunc>            N = min</PyFunc>
+                                       <PyFunc>    return N,K,SyrComponent,min,max</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>MoreN</FuncName>
+                                       <PyFunc>def MoreN( NN , KK , SyrComponent , min , max ) :</PyFunc>
+                                       <PyFunc>    N = 0</PyFunc>
+                                       <PyFunc>    OutLoop = 0</PyFunc>
+                                       <PyFunc>    if max > NN :</PyFunc>
+                                       <PyFunc>        N = NN</PyFunc>
+                                       <PyFunc>        OutLoop = 1</PyFunc>
+                                       <PyFunc>    return OutLoop,N,0,SyrComponent,min,max</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>NextN</FuncName>
+                                       <PyFunc>def NextN( NN , KK , SyrComponent , min , max ) :</PyFunc>
+                                       <PyFunc>    N = NN + 1</PyFunc>
+                                       <PyFunc>    K = KK</PyFunc>
+                                       <PyFunc>    return N,K,SyrComponent,min,max</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>21</x-position>
+                       <y-position>242</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>endforN</node-name>
+                       <kind>5</kind>
+                       <coupled-node>forN</coupled-node>
+                       <service>
+                               <service-name>EndInitN</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>min</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>max</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>min</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>max</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:16</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:16</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>1530</x-position>
+                       <y-position>332</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>whileNotOne</node-name>
+                       <kind>4</kind>
+                       <coupled-node>endwhileNotOne</coupled-node>
+                       <service>
+                               <service-name>InitNotOne</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>InitNotOne</FuncName>
+                                       <PyFunc>import threading</PyFunc>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def InitNotOne( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    return SyrComponent,N,K</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>MoreNotOne</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def MoreNotOne( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    OutLoop = 1 - SyrComponent.C_ISONE( N )</PyFunc>
+                                       <PyFunc>    return OutLoop,SyrComponent,N,K </PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>NextNotOne</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def NextNotOne( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    return SyrComponent,N,K</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:26</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>210</x-position>
+                       <y-position>297</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>endwhileNotOne</node-name>
+                       <kind>5</kind>
+                       <coupled-node>whileNotOne</coupled-node>
+                       <service>
+                               <service-name>EndInitNotOn\11</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:26</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>1340</x-position>
+                       <y-position>332</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>fori</node-name>
+                       <kind>4</kind>
+                       <coupled-node>endfori</coupled-node>
+                       <service>
+                               <service-name>Initfori</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>i</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>i</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>Initfori</FuncName>
+                                       <PyFunc>def Initfori( ii , K ) :</PyFunc>
+                                       <PyFunc>    return 1,0,K</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>Morefori</FuncName>
+                                       <PyFunc>def Morefori( ii , K ) :</PyFunc>
+                                       <PyFunc>    OutLoop = 0</PyFunc>
+                                       <PyFunc>    if 2 > ii :</PyFunc>
+                                       <PyFunc>        OutLoop = 1</PyFunc>
+                                       <PyFunc>    return OutLoop,ii,K</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>Nextfori</FuncName>
+                                       <PyFunc>def Nextfori( ii , K ) :</PyFunc>
+                                       <PyFunc>    ii = ii + 1</PyFunc>
+                                       <PyFunc>    return ii,K</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:26</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>605</x-position>
+                       <y-position>202</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>endfori</node-name>
+                       <kind>5</kind>
+                       <coupled-node>fori</coupled-node>
+                       <service>
+                               <service-name>EndInitfori</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>i</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>i</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:26</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:26</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>971</x-position>
+                       <y-position>202</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>whileEven</node-name>
+                       <kind>4</kind>
+                       <coupled-node>endwhileEven</coupled-node>
+                       <service>
+                               <service-name>InitEven</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>InitEven</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def InitEven( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    return SyrComponent,N,K</PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>MoreEven</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def MoreEven( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    OutLoop = SyrComponent.C_ISEVEN( N )</PyFunc>
+                                       <PyFunc>    return OutLoop,SyrComponent,N,K </PyFunc>
+                               </PyFunction>
+                               <PyFunction>
+                                       <FuncName>NextEven</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def NextEven( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    return SyrComponent,N,K</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:35</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:35</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>605</x-position>
+                       <y-position>452</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>endwhileEven</node-name>
+                       <kind>5</kind>
+                       <coupled-node>whileEven</coupled-node>
+                       <service>
+                               <service-name>EndInitEven</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:35</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:35</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>974</x-position>
+                       <y-position>450</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>ifNotEven</node-name>
+                       <kind>6</kind>
+                       <coupled-node>endifNotEven</coupled-node>
+                       <service>
+                               <service-name>ifNotEven</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>objref</inParameter-type>
+                                               <inParameter-name>SyrComponent</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>Odd</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>Even</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponent</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>ifNotEven</FuncName>
+                                       <PyFunc>import SyrComponent_idl</PyFunc>
+                                       <PyFunc>def ifNotEven( SyrComponent , N , K ) :</PyFunc>
+                                       <PyFunc>    Even = SyrComponent.C_ISEVEN( N )</PyFunc>
+                                       <PyFunc>    Odd = 1 - Even</PyFunc>
+                                       <PyFunc>    return Odd,Even,SyrComponent,N,K</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:35</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:35</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>416</x-position>
+                       <y-position>286</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>endifNotEven</node-name>
+                       <kind>7</kind>
+                       <coupled-node>ifNotEven</coupled-node>
+                       <service>
+                               <service-name>EndifNotEven</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>N</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>long</inParameter-type>
+                                               <inParameter-name>K</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>N</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>long</outParameter-type>
+                                               <outParameter-name>K</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:15:35</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:15:35</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>1155</x-position>
+                       <y-position>331</y-position>
+               </node>
+               <node>
+                       <component-name>?</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>SyrComponent</node-name>
+                       <kind>3</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>SyrComponent</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>aContainer</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>string</inParameter-type>
+                                               <inParameter-name>aComponent</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>objref</outParameter-type>
+                                               <outParameter-name>SyrComponentobjref</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <PyFunction-list>
+                               <PyFunction>
+                                       <FuncName>SyrComponent</FuncName>
+                                       <PyFunc>from LifeCycleCORBA import *</PyFunc>
+                                       <PyFunc>def SyrComponent( aContainer , aComponent ) :</PyFunc>
+                                       <PyFunc>    orb = CORBA.ORB_init([], CORBA.ORB_ID)</PyFunc>
+                                       <PyFunc>    lcc = LifeCycleCORBA(orb)</PyFunc>
+                                       <PyFunc>    print "SyrComponent(",aContainer,",",aComponent,")"</PyFunc>
+                                       <PyFunc>    ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent )</PyFunc>
+                                       <PyFunc>    print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef</PyFunc>
+                                       <PyFunc>    return ComponentRef</PyFunc>
+                               </PyFunction>
+                       </PyFunction-list>
+                       <creation-date>14/3/2003 - 11:16:1</creation-date>
+                       <lastmodification-date>14/3/2003 - 11:16:1</lastmodification-date>
+                       <editor-release>1.04</editor-release>
+                       <author>?</author>
+                       <container>?</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>m3</fromnode-name>
+                       <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+                       <tonode-name>m3incr</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>m3incr</fromnode-name>
+                       <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+                       <tonode-name>endifNotEven</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>incra</fromnode-name>
+                       <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+                       <tonode-name>endfori</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>953</x>
+                                       <y>414</y>
+                               </coord>
+                               <coord>
+                                       <x>953</x>
+                                       <y>353</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>div2</fromnode-name>
+                       <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+                       <tonode-name>endwhileEven</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>960</x>
+                                       <y>632</y>
+                               </coord>
+                               <coord>
+                                       <x>960</x>
+                                       <y>539</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>incrb</fromnode-name>
+                       <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+                       <tonode-name>endwhileEven</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>963</x>
+                                       <y>662</y>
+                               </coord>
+                               <coord>
+                                       <x>963</x>
+                                       <y>729</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>DoLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>1554</x>
+                                       <y>513</y>
+                               </coord>
+                               <coord>
+                                       <x>1523</x>
+                                       <y>513</y>
+                               </coord>
+                               <coord>
+                                       <x>1523</x>
+                                       <y>806</y>
+                               </coord>
+                               <coord>
+                                       <x>202</x>
+                                       <y>806</y>
+                               </coord>
+                               <coord>
+                                       <x>202</x>
+                                       <y>424</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>whileNotOne</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>200</x>
+                                       <y>479</y>
+                               </coord>
+                               <coord>
+                                       <x>200</x>
+                                       <y>424</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>whileNotOne</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>187</x>
+                                       <y>509</y>
+                               </coord>
+                               <coord>
+                                       <x>187</x>
+                                       <y>454</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>whileNotOne</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>min</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>min</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>forN</fromnode-name>
+                       <fromserviceparameter-name>max</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>max</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endforN</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>InitLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileNotOne</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>endwhileNotOne</tonode-name>
+                       <toserviceparameter-name>DoLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileNotOne</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>endwhileNotOne</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileNotOne</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>ifNotEven</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileNotOne</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>ifNotEven</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>378</x>
+                                       <y>438</y>
+                               </coord>
+                               <coord>
+                                       <x>378</x>
+                                       <y>479</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileNotOne</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>ifNotEven</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>395</x>
+                                       <y>468</y>
+                               </coord>
+                               <coord>
+                                       <x>395</x>
+                                       <y>509</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endwhileNotOne</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>whileNotOne</tonode-name>
+                       <toserviceparameter-name>InitLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endwhileNotOne</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>endforN</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>fori</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>endfori</tonode-name>
+                       <toserviceparameter-name>DoLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>fori</fromnode-name>
+                       <fromserviceparameter-name>i</fromserviceparameter-name>
+                       <tonode-name>endfori</tonode-name>
+                       <toserviceparameter-name>i</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>fori</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>incra</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>783</x>
+                                       <y>353</y>
+                               </coord>
+                               <coord>
+                                       <x>783</x>
+                                       <y>414</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endfori</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>fori</tonode-name>
+                       <toserviceparameter-name>InitLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endfori</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>endifNotEven</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileEven</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>endwhileEven</tonode-name>
+                       <toserviceparameter-name>DoLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileEven</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>endwhileEven</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileEven</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>div2</tonode-name>
+                       <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>779</x>
+                                       <y>539</y>
+                               </coord>
+                               <coord>
+                                       <x>779</x>
+                                       <y>634</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>whileEven</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>incrb</tonode-name>
+                       <toserviceparameter-name>aCount</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>777</x>
+                                       <y>729</y>
+                               </coord>
+                               <coord>
+                                       <x>777</x>
+                                       <y>664</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endwhileEven</fromnode-name>
+                       <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+                       <tonode-name>whileEven</tonode-name>
+                       <toserviceparameter-name>InitLoop</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endwhileEven</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>endifNotEven</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endwhileEven</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>endifNotEven</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>Default</fromserviceparameter-name>
+                       <tonode-name>endifNotEven</tonode-name>
+                       <toserviceparameter-name>Default</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>Odd</fromserviceparameter-name>
+                       <tonode-name>m3</tonode-name>
+                       <toserviceparameter-name>InGate</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>585</x>
+                                       <y>133</y>
+                               </coord>
+                               <coord>
+                                       <x>585</x>
+                                       <y>438</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>Odd</fromserviceparameter-name>
+                       <tonode-name>fori</tonode-name>
+                       <toserviceparameter-name>InGate</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>584</x>
+                                       <y>324</y>
+                               </coord>
+                               <coord>
+                                       <x>584</x>
+                                       <y>438</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>Even</fromserviceparameter-name>
+                       <tonode-name>whileEven</tonode-name>
+                       <toserviceparameter-name>InGate</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>593</x>
+                                       <y>574</y>
+                               </coord>
+                               <coord>
+                                       <x>593</x>
+                                       <y>468</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+                       <tonode-name>whileEven</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>whileEven</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>586</x>
+                                       <y>634</y>
+                               </coord>
+                               <coord>
+                                       <x>586</x>
+                                       <y>498</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>m3</tonode-name>
+                       <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>579</x>
+                                       <y>163</y>
+                               </coord>
+                               <coord>
+                                       <x>579</x>
+                                       <y>498</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>whileEven</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>580</x>
+                                       <y>664</y>
+                               </coord>
+                               <coord>
+                                       <x>580</x>
+                                       <y>528</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>ifNotEven</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>fori</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>599</x>
+                                       <y>414</y>
+                               </coord>
+                               <coord>
+                                       <x>599</x>
+                                       <y>528</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endifNotEven</fromnode-name>
+                       <fromserviceparameter-name>N</fromserviceparameter-name>
+                       <tonode-name>endwhileNotOne</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>1324</x>
+                                       <y>514</y>
+                               </coord>
+                               <coord>
+                                       <x>1324</x>
+                                       <y>483</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>endifNotEven</fromnode-name>
+                       <fromserviceparameter-name>K</fromserviceparameter-name>
+                       <tonode-name>endwhileNotOne</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <coord-list>
+                               <coord>
+                                       <x>1318</x>
+                                       <y>544</y>
+                               </coord>
+                               <coord>
+                                       <x>1318</x>
+                                       <y>513</y>
+                               </coord>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>SyrComponent</fromnode-name>
+                       <fromserviceparameter-name>SyrComponentobjref</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>forN\N</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>N</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>forN\K</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>K</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>forN\min</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>min</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>forN\max</fromserviceparameter-name>
+                       <tonode-name>forN</tonode-name>
+                       <toserviceparameter-name>max</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>9</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>fori\i</fromserviceparameter-name>
+                       <tonode-name>fori</tonode-name>
+                       <toserviceparameter-name>i</toserviceparameter-name>
+                       <data-value>
+                               <value-type>3</value-type>
+                               <value>0</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent\aContainer</fromserviceparameter-name>
+                       <tonode-name>SyrComponent</tonode-name>
+                       <toserviceparameter-name>aContainer</toserviceparameter-name>
+                       <data-value>
+                               <value-type>18</value-type>
+                               <value>FactoryServer</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>SyrStruct</fromnode-name>
+                       <fromserviceparameter-name>SyrComponent\aComponent</fromserviceparameter-name>
+                       <tonode-name>SyrComponent</tonode-name>
+                       <toserviceparameter-name>aComponent</toserviceparameter-name>
+                       <data-value>
+                               <value-type>18</value-type>
+                               <value>SyrComponent</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>
diff --git a/examples/myFactorialPy.py b/examples/myFactorialPy.py
new file mode 100644 (file)
index 0000000..e91a577
--- /dev/null
@@ -0,0 +1,19 @@
+
+from SuperV import *
+
+myPy = Graph('myPy')
+
+eval = myPy.Node('FactorialComponent','FactorialComponent','eval')
+eval.SetContainer('FactoryServerPy')
+
+myPy.IsValid()
+
+myPy.PrintPorts()
+
+myPy.Run( 3 )
+
+myPy.DoneW()
+
+myPy.State()
+
+myPy.PrintPorts()
diff --git a/examples/newsupervisionexample.py b/examples/newsupervisionexample.py
new file mode 100644 (file)
index 0000000..79a2986
--- /dev/null
@@ -0,0 +1,55 @@
+
+# Generated python file of Graph GraphEssai
+
+from SuperV import *
+# Graph creation 
+GraphEssai = Graph( 'GraphEssai' )
+GraphEssai.SetName( 'GraphEssai' )
+GraphEssai.SetAuthor( '' )
+GraphEssai.SetComment( '' )
+GraphEssai.Coords( 0 , 0 )
+
+# Creation of Computing Nodes
+Add = GraphEssai.Node( 'AddComponent' , 'AddComponent' , 'Add' )
+Add.SetName( 'Add' )
+Add.SetAuthor( '' )
+Add.SetContainer( 'FactoryServer' )
+Add.SetComment( '' )
+Add.Coords( 15 , 241 )
+Sub = GraphEssai.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
+Sub.SetName( 'Sub' )
+Sub.SetAuthor( '' )
+Sub.SetContainer( 'FactoryServer' )
+Sub.SetComment( '' )
+Sub.Coords( 227 , 99 )
+Mul = GraphEssai.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
+Mul.SetName( 'Mul' )
+Mul.SetAuthor( '' )
+Mul.SetContainer( 'FactoryServer' )
+Mul.SetComment( '' )
+Mul.Coords( 443 , 278 )
+Div = GraphEssai.Node( 'DivComponent' , 'DivComponent' , 'Div' )
+Div.SetName( 'Div' )
+Div.SetAuthor( '' )
+Div.SetContainer( 'FactoryServer' )
+Div.SetComment( '' )
+Div.Coords( 634 , 97 )
+
+# Creation of intermediate Output variables and of Computing Links
+Addz = Add.Port( 'z' )
+Suby = GraphEssai.Link( Addz , Sub.Port( 'y' ) )
+Muly = GraphEssai.Link( Addz , Mul.Port( 'y' ) )
+Subz = Sub.Port( 'z' )
+Mulx = GraphEssai.Link( Subz , Mul.Port( 'x' ) )
+Divx = GraphEssai.Link( Subz , Div.Port( 'x' ) )
+Mulz = Mul.Port( 'z' )
+Divy = GraphEssai.Link( Mulz , Div.Port( 'y' ) )
+
+# Creation of Input datas
+Addx = Add.Input( 'x' , 3)
+Addy = Add.Input( 'y' , 4.5)
+Subx = Sub.Input( 'x' , 1.5)
+
+# Creation of Output variables
+AddFuncValue = Add.Port( 'FuncValue' )
+Divz = Div.Port( 'z' )
diff --git a/examples/newsupervisionexample.xml b/examples/newsupervisionexample.xml
new file mode 100644 (file)
index 0000000..9e3ec06
--- /dev/null
@@ -0,0 +1,287 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!-- XML Dataflow -->
+
+<!-- Dataflow information -->
+<dataflow>
+       <info-list>
+               <node>
+                       <component-name>GraphEssai</component-name>
+                       <interface-name>?</interface-name>
+                       <node-name>GraphEssai</node-name>
+                       <kind>1</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>GraphEssai</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Add\y</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>Sub\x</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Add\FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>Div\z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <creation-date>21/11/2001 - 17:17:23</creation-date>
+                       <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>0</x-position>
+                       <y-position>0</y-position>
+               </node>
+       </info-list>
+
+       <node-list>
+               <node>
+                       <component-name>AddComponent</component-name>
+                       <interface-name>AddComponent</interface-name>
+                       <node-name>Add</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Add</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>FuncValue</outParameter-name>
+                                       </outParameter>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <creation-date>31/7/2002 - 16:43:19</creation-date>
+                       <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>15</x-position>
+                       <y-position>241</y-position>
+               </node>
+               <node>
+                       <component-name>SubComponent</component-name>
+                       <interface-name>SubComponent</interface-name>
+                       <node-name>Sub</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Sub</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <creation-date>31/7/2002 - 16:43:19</creation-date>
+                       <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>227</x-position>
+                       <y-position>99</y-position>
+               </node>
+               <node>
+                       <component-name>MulComponent</component-name>
+                       <interface-name>MulComponent</interface-name>
+                       <node-name>Mul</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Mul</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <creation-date>31/7/2002 - 16:43:19</creation-date>
+                       <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>443</x-position>
+                       <y-position>278</y-position>
+               </node>
+               <node>
+                       <component-name>DivComponent</component-name>
+                       <interface-name>DivComponent</interface-name>
+                       <node-name>Div</node-name>
+                       <kind>0</kind>
+                       <coupled-node>?</coupled-node>
+                       <service>
+                               <service-name>Div</service-name>
+                               <inParameter-list>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>x</inParameter-name>
+                                       </inParameter>
+                                       <inParameter>
+                                               <inParameter-type>double</inParameter-type>
+                                               <inParameter-name>y</inParameter-name>
+                                       </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                       <outParameter>
+                                               <outParameter-type>double</outParameter-type>
+                                               <outParameter-name>z</outParameter-name>
+                                       </outParameter>
+                               </outParameter-list>
+                       </service>
+                       <Parameter-list>
+                       </Parameter-list>
+                       <creation-date>31/7/2002 - 16:43:19</creation-date>
+                       <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
+                       <editor-release>1.00</editor-release>
+                       <author>?</author>
+                       <container>FactoryServer</container>
+                       <comment>?</comment>
+                       <x-position>634</x-position>
+                       <y-position>97</y-position>
+               </node>
+       </node-list>
+
+       <link-list>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Add</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Mul</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Sub</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+               <link>
+                       <fromnode-name>Mul</fromnode-name>
+                       <fromserviceparameter-name>z</fromserviceparameter-name>
+                       <tonode-name>Div</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <coord-list>
+                       </coord-list>
+               </link>
+       </link-list>
+
+       <data-list>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\x</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>3</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Add\y</fromserviceparameter-name>
+                       <tonode-name>Add</tonode-name>
+                       <toserviceparameter-name>y</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>4.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+               <data>
+                       <fromnode-name>GraphEssai</fromnode-name>
+                       <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
+                       <tonode-name>Sub</tonode-name>
+                       <toserviceparameter-name>x</toserviceparameter-name>
+                       <data-value>
+                               <value-type>7</value-type>
+                               <value>1.5</value>
+                       </data-value>
+                       <coord-list>
+                       </coord-list>
+               </data>
+       </data-list>
+
+</dataflow>