Salome HOME
New test of MacroNodes
[samples/datafiles.git] / Superv / Python / GraphAdd.py
diff --git a/Superv/Python/GraphAdd.py b/Superv/Python/GraphAdd.py
new file mode 100644 (file)
index 0000000..98fd731
--- /dev/null
@@ -0,0 +1,39 @@
+
+# Generated python file of Graph GraphAdd
+
+from SuperV import *
+
+# Graph creation of GraphAdd
+def DefGraphAdd() :
+    GraphAdd = Graph( 'GraphAdd' )
+    GraphAdd.SetName( 'GraphAdd' )
+    GraphAdd.SetAuthor( '' )
+    GraphAdd.SetComment( '' )
+    GraphAdd.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    Add = GraphAdd.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
+    Add.SetName( 'Add' )
+    Add.SetAuthor( '' )
+    Add.SetContainer( 'localhost/FactoryServer' )
+    Add.SetComment( 'Add from AddComponent' )
+    Add.Coords( 55 , 61 )
+    IAddx = Add.GetInPort( 'x' )
+    IAddy = Add.GetInPort( 'y' )
+    IAddGate = Add.GetInPort( 'Gate' )
+    OAddFuncValue = Add.GetOutPort( 'FuncValue' )
+    OAddz = Add.GetOutPort( 'z' )
+    OAddGate = Add.GetOutPort( 'Gate' )
+    
+    # Input Ports of the graph
+    #IAddx = Add.GetInPort( 'x' )
+    #IAddy = Add.GetInPort( 'y' )
+    
+    # Output Ports of the graph
+    #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
+    #OAddz = Add.GetOutPort( 'z' )
+    return GraphAdd
+
+
+GraphAdd = DefGraphAdd()