2 # Generated python file of Graph GraphSub
6 # Graph creation of GraphSub
8 GraphSub = Graph( 'GraphSub' )
9 GraphSub.SetName( 'GraphSub' )
10 GraphSub.SetAuthor( '' )
11 GraphSub.SetComment( '' )
12 GraphSub.Coords( 0 , 0 )
14 # Creation of Factory Nodes
16 Sub = GraphSub.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
19 Sub.SetContainer( 'localhost/FactoryServer' )
20 Sub.SetComment( 'Sub from SubComponent' )
22 ISubx = Sub.GetInPort( 'x' )
23 ISuby = Sub.GetInPort( 'y' )
24 ISubGate = Sub.GetInPort( 'Gate' )
25 OSubz = Sub.GetOutPort( 'z' )
26 OSubGate = Sub.GetOutPort( 'Gate' )
28 # Input Ports of the graph
29 #ISubx = Sub.GetInPort( 'x' )
30 #ISuby = Sub.GetInPort( 'y' )
32 # Output Ports of the graph
33 #OSubz = Sub.GetOutPort( 'z' )
37 GraphSub = DefGraphSub()