Salome HOME
Fix for improvement IPAL9815 : Remove "Add Port" functionality as duplicate of "Edit...
[modules/superv.git] / examples / GraphSIGSEGVPython.py
1
2 # Generated python file of Graph GraphSIGSEGVPython
3
4 from SuperV import *
5
6 # Graph creation of GraphSIGSEGVPython
7 def DefGraphSIGSEGVPython() :
8     GraphSIGSEGVPython = Graph( 'GraphSIGSEGVPython' )
9     GraphSIGSEGVPython.SetName( 'GraphSIGSEGVPython' )
10     GraphSIGSEGVPython.SetAuthor( 'JR' )
11     GraphSIGSEGVPython.SetComment( '' )
12     GraphSIGSEGVPython.Coords( 0 , 0 )
13     
14     # Creation of Factory Nodes
15     
16     # Creation of InLine Nodes
17     PySIGSEGVPython = []
18     PySIGSEGVPython.append( 'def SIGSEGVPython() :   ' )
19     PySIGSEGVPython.append( '   import libSIGNALSComponent_Swig  ' )
20     PySIGSEGVPython.append( '   s = libSIGNALSComponent_Swig.SIGNALSComponentEngine()    ' )
21     PySIGSEGVPython.append( '   s.SIGSEGVfunc()    ' )
22     PySIGSEGVPython.append( ' ' )
23     SIGSEGVPython = GraphSIGSEGVPython.INode( 'SIGSEGVPython' , PySIGSEGVPython )
24     SIGSEGVPython.SetName( 'SIGSEGVPython' )
25     SIGSEGVPython.SetAuthor( '' )
26     SIGSEGVPython.SetComment( 'Compute Node' )
27     SIGSEGVPython.Coords( 105 , 143 )
28     ISIGSEGVPythonGate = SIGSEGVPython.GetInPort( 'Gate' )
29     OSIGSEGVPythonGate = SIGSEGVPython.GetOutPort( 'Gate' )
30     
31     # Output Ports of the graph
32     return GraphSIGSEGVPython
33
34
35 GraphSIGSEGVPython = DefGraphSIGSEGVPython()