2 # Generated python file of Graph aNewDataFlow
6 # Graph creation of aNewDataFlow
7 def DefaNewDataFlow() :
8 aNewDataFlow = Graph( 'aNewDataFlow' )
9 aNewDataFlow.SetName( 'aNewDataFlow' )
10 aNewDataFlow.SetAuthor( '' )
11 aNewDataFlow.SetComment( '' )
12 aNewDataFlow.Coords( 0 , 0 )
14 # Creation of Factory Nodes
16 # Creation of InLine Nodes
18 PyPAL8512.append( ' ' )
19 PAL8512 = aNewDataFlow.INode( '' , PyPAL8512 )
20 PAL8512.SetName( 'PAL8512' )
21 PAL8512.SetAuthor( '' )
22 PAL8512.SetComment( 'Compute Node' )
23 PAL8512.Coords( 264 , 123 )
24 IPAL8512a = PAL8512.InPort( 'a' , 'string' )
25 IPAL8512b = PAL8512.InPort( 'b' , 'string' )
26 IPAL8512Gate = PAL8512.GetInPort( 'Gate' )
27 OPAL8512a = PAL8512.OutPort( 'a' , 'string' )
28 OPAL8512Gate = PAL8512.GetOutPort( 'Gate' )
31 IPAL8512a.Input( '1' )
32 IPAL8512b.Input( '2' )
34 # Output Ports of the graph
35 #OPAL8512a = PAL8512.GetOutPort( 'a' )
39 aNewDataFlow = DefaNewDataFlow()