from GraphGrammarEdit import *
from GGruleEdit import *

def savedTrans(self):
   self.EditingGraphGrammar= GraphGrammarEdit(None, self)
   self.EditingGraphGrammar.Name=ATOM3String('all', 20)
   self.EditingGraphGrammar.Rules=ATOM3List([ 1, 1, 1, 0],GGruleEdit,None, self)
   lcobj0=[]
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('moveComponent', 20)
   cobj0.Order=ATOM3Integer(1)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj202=Basic(self)
   self.obj202.preAction( cobj0.LHS.CREATE )
   self.obj202.isGraphObjectVisual = True

   if(hasattr(self.obj202, '_setHierarchicalLink')):
     self.obj202._setHierarchicalLink(False)

   # is_default
   self.obj202.is_default.setValue((None, 1))
   self.obj202.is_default.config = 0

   # name
   self.obj202.name.setValue('init')

   # exit_action
   self.obj202.exit_action.setValue('\n')
   self.obj202.exit_action.setHeight(15)
   self.obj202.exit_action.setNone()

   # enter_action
   self.obj202.enter_action.setValue('counter = 0\nmax = 160\nballs = {}\n')
   self.obj202.enter_action.setHeight(15)

   self.obj202.GGLabel.setValue(1)
   self.obj202.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(80.0,80.0,self.obj202)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj202.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj202)
   self.obj202.postAction( cobj0.LHS.CREATE )

   self.obj203=Basic(self)
   self.obj203.preAction( cobj0.LHS.CREATE )
   self.obj203.isGraphObjectVisual = True

   if(hasattr(self.obj203, '_setHierarchicalLink')):
     self.obj203._setHierarchicalLink(False)

   # is_default
   self.obj203.is_default.setValue((None, 0))
   self.obj203.is_default.config = 0

   # name
   self.obj203.name.setValue('moving')

   # exit_action
   self.obj203.exit_action.setValue('\n')
   self.obj203.exit_action.setHeight(15)
   self.obj203.exit_action.setNone()

   # enter_action
   self.obj203.enter_action.setValue('\n')
   self.obj203.enter_action.setHeight(15)
   self.obj203.enter_action.setNone()

   self.obj203.GGLabel.setValue(2)
   self.obj203.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(220.0,200.0,self.obj203)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj203.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj203)
   self.obj203.postAction( cobj0.LHS.CREATE )

   self.obj204=Hyperedge(self)
   self.obj204.preAction( cobj0.LHS.CREATE )
   self.obj204.isGraphObjectVisual = True

   if(hasattr(self.obj204, '_setHierarchicalLink')):
     self.obj204._setHierarchicalLink(False)

   # name
   self.obj204.name.setValue('')
   self.obj204.name.setNone()

   # broadcast
   self.obj204.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj204.broadcast.setHeight(15)
   self.obj204.broadcast.setNone()

   # guard
   self.obj204.guard.setValue('')
   self.obj204.guard.setNone()

   # trigger
   self.obj204.trigger.setValue('start')

   # action
   self.obj204.action.setValue('ctl = [PARAMS]\nbid = counter\ncounter += 1\ngid, pos, speed = ctl.init(bid)\nballs[bid] = {\'pos\': pos, \'speed\': speed, \'gid\':gid}\nwidth = ctl.getWidth()\nheight = ctl.getHeight()\n')
   self.obj204.action.setHeight(15)

   # broadcast_to
   self.obj204.broadcast_to.setValue('')
   self.obj204.broadcast_to.setNone()

   # display
   self.obj204.display.setValue('')
   self.obj204.display.setNone()

   self.obj204.GGLabel.setValue(3)
   self.obj204.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(171.074772771,152.027520373,self.obj204)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj204.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj204)
   self.obj204.postAction( cobj0.LHS.CREATE )

   self.obj205=Hyperedge(self)
   self.obj205.preAction( cobj0.LHS.CREATE )
   self.obj205.isGraphObjectVisual = True

   if(hasattr(self.obj205, '_setHierarchicalLink')):
     self.obj205._setHierarchicalLink(False)

   # name
   self.obj205.name.setValue('')
   self.obj205.name.setNone()

   # broadcast
   self.obj205.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj205.broadcast.setHeight(15)

   # guard
   self.obj205.guard.setValue('')
   self.obj205.guard.setNone()

   # trigger
   self.obj205.trigger.setValue('')
   self.obj205.trigger.setNone()

   # action
   self.obj205.action.setValue('for b in balls: ctl.bounce(b, 0.01)\n')
   self.obj205.action.setHeight(15)

   # broadcast_to
   self.obj205.broadcast_to.setValue('')
   self.obj205.broadcast_to.setNone()

   # display
   self.obj205.display.setValue('')
   self.obj205.display.setNone()

   self.obj205.GGLabel.setValue(4)
   self.obj205.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(356.75,85.5,self.obj205)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj205.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj205)
   self.obj205.postAction( cobj0.LHS.CREATE )

   self.obj202.out_connections_.append(self.obj204)
   self.obj204.in_connections_.append(self.obj202)
   self.obj202.graphObject_.pendingConnections.append((self.obj202.graphObject_.tag, self.obj204.graphObject_.tag, [108.80634552792415, 96.435249079915835, 171.07477277111889, 152.02752037329125], 0, True))
   self.obj203.out_connections_.append(self.obj205)
   self.obj205.in_connections_.append(self.obj203)
   self.obj203.graphObject_.pendingConnections.append((self.obj203.graphObject_.tag, self.obj205.graphObject_.tag, [241.17749951769298, 203.02456296004206, 325.00000000000006, 56.499999999999993, 262.99999999999994, 53.999999999999993, 356.74999999999994, 85.5], 4, True))
   self.obj204.out_connections_.append(self.obj203)
   self.obj203.in_connections_.append(self.obj204)
   self.obj204.graphObject_.pendingConnections.append((self.obj204.graphObject_.tag, self.obj203.graphObject_.tag, [233.34320001431365, 207.61979166666666, 171.07477277111889, 152.02752037329125], 0, True))
   self.obj205.out_connections_.append(self.obj203)
   self.obj203.in_connections_.append(self.obj205)
   self.obj205.graphObject_.pendingConnections.append((self.obj205.graphObject_.tag, self.obj203.graphObject_.tag, [248.92020890121097, 207.49479166666663, 388.5, 114.49999999999999, 390.0, 170.0, 356.74999999999994, 85.5], 4, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj207=Composite(self)
   self.obj207.preAction( cobj0.RHS.CREATE )
   self.obj207.isGraphObjectVisual = True

   if(hasattr(self.obj207, '_setHierarchicalLink')):
     self.obj207._setHierarchicalLink(False)

   # auto_adjust
   self.obj207.auto_adjust.setValue((None, 1))
   self.obj207.auto_adjust.config = 0

   # name
   self.obj207.name.setValue('')
   self.obj207.name.setNone()

   # is_default
   self.obj207.is_default.setValue((None, 0))
   self.obj207.is_default.config = 0

   # visible
   self.obj207.visible.setValue((None, 1))
   self.obj207.visible.config = 0

   # exit_action
   self.obj207.exit_action.setValue('\n')
   self.obj207.exit_action.setHeight(15)

   # enter_action
   self.obj207.enter_action.setValue('\n')
   self.obj207.enter_action.setHeight(15)

   self.obj207.GGLabel.setValue(6)
   self.obj207.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(40.0,120.0,self.obj207)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj207.graphObject_ = new_obj
   self.obj2070= AttrCalc()
   self.obj2070.Copy=ATOM3Boolean()
   self.obj2070.Copy.setValue(('Copy from LHS', 0))
   self.obj2070.Copy.config = 0
   self.obj2070.Specify=ATOM3Constraint()
   self.obj2070.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# Template for typical GG specify code (specified field is a string)\n# See atom3\\Kernel\\ATOM3Types directory for info on specific types\n\n# return self.getMatched(graphID, self.LHS.nodeWithLabel(1)).Name.getValue()\n\n# "self.LHS.nodeWithLabel(1)" gets the node with GG label 1 in the LHS of the GG\n# "self.getMatched(graphID, self.LHS.nodeWithLabel(1))" gets node in host graph\n# ".Name" will access that node\'s Name attribute, an ATOM3 string object\n# ".getValue()" will return the ATOM3 string as a regular Python string\n# Finally, a Python string is returned, and becomes the value of the specified\n# field\n\n# A more complicated template (specified field is an integer)\n\n# # Source loses one car\n# sourceNode = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n# currentNumCars = sourceNode.num_vehicles.getValue()\n# # If source has an infinite supply (infinite_supply = ATOM3 boolean value)\n# if(source.infinite_supply.getValueBoolean()): \n#     return currentNumCars\n# return currentNumCars - 1\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nname = \'compo_\' + str(ball.components)\nball.components += 1\nreturn name\n\n'))
   self.obj207.GGset2Any['name']= self.obj2070
   self.obj2071= AttrCalc()
   self.obj2071.Copy=ATOM3Boolean()
   self.obj2071.Copy.setValue(('Copy from LHS', 0))
   self.obj2071.Copy.config = 0
   self.obj2071.Specify=ATOM3Constraint()
   self.obj2071.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj207.GGset2Any['is_default']= self.obj2071
   self.obj2072= AttrCalc()
   self.obj2072.Copy=ATOM3Boolean()
   self.obj2072.Copy.setValue(('Copy from LHS', 0))
   self.obj2072.Copy.config = 0
   self.obj2072.Specify=ATOM3Constraint()
   self.obj2072.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj207.GGset2Any['visible']= self.obj2072
   self.obj2073= AttrCalc()
   self.obj2073.Copy=ATOM3Boolean()
   self.obj2073.Copy.setValue(('Copy from LHS', 0))
   self.obj2073.Copy.config = 0
   self.obj2073.Specify=ATOM3Constraint()
   self.obj2073.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj207.GGset2Any['auto_adjust']= self.obj2073
   self.obj2074= AttrCalc()
   self.obj2074.Copy=ATOM3Boolean()
   self.obj2074.Copy.setValue(('Copy from LHS', 0))
   self.obj2074.Copy.config = 0
   self.obj2074.Specify=ATOM3Constraint()
   self.obj2074.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj207.GGset2Any['exit_action']= self.obj2074
   self.obj2075= AttrCalc()
   self.obj2075.Copy=ATOM3Boolean()
   self.obj2075.Copy.setValue(('Copy from LHS', 0))
   self.obj2075.Copy.config = 0
   self.obj2075.Specify=ATOM3Constraint()
   self.obj2075.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj207.GGset2Any['enter_action']= self.obj2075

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj207)
   self.obj207.postAction( cobj0.RHS.CREATE )

   self.obj208=Basic(self)
   self.obj208.preAction( cobj0.RHS.CREATE )
   self.obj208.isGraphObjectVisual = True

   if(hasattr(self.obj208, '_setHierarchicalLink')):
     self.obj208._setHierarchicalLink(False)

   # is_default
   self.obj208.is_default.setValue((None, 1))
   self.obj208.is_default.config = 0

   # name
   self.obj208.name.setValue('init')

   # exit_action
   self.obj208.exit_action.setValue('\n')
   self.obj208.exit_action.setHeight(15)

   # enter_action
   self.obj208.enter_action.setValue('\n')
   self.obj208.enter_action.setHeight(15)

   self.obj208.GGLabel.setValue(1)
   self.obj208.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(80.0,60.0,self.obj208)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj208.graphObject_ = new_obj
   self.obj2080= AttrCalc()
   self.obj2080.Copy=ATOM3Boolean()
   self.obj2080.Copy.setValue(('Copy from LHS', 1))
   self.obj2080.Copy.config = 0
   self.obj2080.Specify=ATOM3Constraint()
   self.obj2080.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj208.GGset2Any['is_default']= self.obj2080
   self.obj2081= AttrCalc()
   self.obj2081.Copy=ATOM3Boolean()
   self.obj2081.Copy.setValue(('Copy from LHS', 1))
   self.obj2081.Copy.config = 0
   self.obj2081.Specify=ATOM3Constraint()
   self.obj2081.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj208.GGset2Any['name']= self.obj2081
   self.obj2082= AttrCalc()
   self.obj2082.Copy=ATOM3Boolean()
   self.obj2082.Copy.setValue(('Copy from LHS', 1))
   self.obj2082.Copy.config = 0
   self.obj2082.Specify=ATOM3Constraint()
   self.obj2082.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj208.GGset2Any['exit_action']= self.obj2082
   self.obj2083= AttrCalc()
   self.obj2083.Copy=ATOM3Boolean()
   self.obj2083.Copy.setValue(('Copy from LHS', 1))
   self.obj2083.Copy.config = 0
   self.obj2083.Specify=ATOM3Constraint()
   self.obj2083.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj208.GGset2Any['enter_action']= self.obj2083

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj208)
   self.obj208.postAction( cobj0.RHS.CREATE )

   self.obj209=Basic(self)
   self.obj209.preAction( cobj0.RHS.CREATE )
   self.obj209.isGraphObjectVisual = True

   if(hasattr(self.obj209, '_setHierarchicalLink')):
     self.obj209._setHierarchicalLink(False)

   # is_default
   self.obj209.is_default.setNone()
   self.obj209.is_default.config = 0

   # name
   self.obj209.name.setValue('moving')

   # exit_action
   self.obj209.exit_action.setValue('\n')
   self.obj209.exit_action.setHeight(15)

   # enter_action
   self.obj209.enter_action.setValue('\n')
   self.obj209.enter_action.setHeight(15)

   self.obj209.GGLabel.setValue(2)
   self.obj209.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(220.0,140.0,self.obj209)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj209.graphObject_ = new_obj
   self.obj2090= AttrCalc()
   self.obj2090.Copy=ATOM3Boolean()
   self.obj2090.Copy.setValue(('Copy from LHS', 0))
   self.obj2090.Copy.config = 0
   self.obj2090.Specify=ATOM3Constraint()
   self.obj2090.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj209.GGset2Any['is_default']= self.obj2090
   self.obj2091= AttrCalc()
   self.obj2091.Copy=ATOM3Boolean()
   self.obj2091.Copy.setValue(('Copy from LHS', 0))
   self.obj2091.Copy.config = 0
   self.obj2091.Specify=ATOM3Constraint()
   self.obj2091.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj209.GGset2Any['name']= self.obj2091
   self.obj2092= AttrCalc()
   self.obj2092.Copy=ATOM3Boolean()
   self.obj2092.Copy.setValue(('Copy from LHS', 0))
   self.obj2092.Copy.config = 0
   self.obj2092.Specify=ATOM3Constraint()
   self.obj2092.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj209.GGset2Any['exit_action']= self.obj2092
   self.obj2093= AttrCalc()
   self.obj2093.Copy=ATOM3Boolean()
   self.obj2093.Copy.setValue(('Copy from LHS', 0))
   self.obj2093.Copy.config = 0
   self.obj2093.Specify=ATOM3Constraint()
   self.obj2093.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj209.GGset2Any['enter_action']= self.obj2093

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj209)
   self.obj209.postAction( cobj0.RHS.CREATE )

   self.obj210=Orthogonal(self)
   self.obj210.preAction( cobj0.RHS.CREATE )
   self.obj210.isGraphObjectVisual = True

   if(hasattr(self.obj210, '_setHierarchicalLink')):
     self.obj210._setHierarchicalLink(False)

   # visible
   self.obj210.visible.setValue((None, 1))
   self.obj210.visible.config = 0

   # name
   self.obj210.name.setValue('move_comp')

   # auto_adjust
   self.obj210.auto_adjust.setValue((None, 1))
   self.obj210.auto_adjust.config = 0

   self.obj210.GGLabel.setValue(7)
   self.obj210.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(140.0,200.0,self.obj210)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj210.graphObject_ = new_obj
   self.obj2100= AttrCalc()
   self.obj2100.Copy=ATOM3Boolean()
   self.obj2100.Copy.setValue(('Copy from LHS', 0))
   self.obj2100.Copy.config = 0
   self.obj2100.Specify=ATOM3Constraint()
   self.obj2100.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj210.GGset2Any['visible']= self.obj2100
   self.obj2101= AttrCalc()
   self.obj2101.Copy=ATOM3Boolean()
   self.obj2101.Copy.setValue(('Copy from LHS', 0))
   self.obj2101.Copy.config = 0
   self.obj2101.Specify=ATOM3Constraint()
   self.obj2101.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj210.GGset2Any['name']= self.obj2101
   self.obj2102= AttrCalc()
   self.obj2102.Copy=ATOM3Boolean()
   self.obj2102.Copy.setValue(('Copy from LHS', 0))
   self.obj2102.Copy.config = 0
   self.obj2102.Specify=ATOM3Constraint()
   self.obj2102.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj210.GGset2Any['auto_adjust']= self.obj2102

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj210)
   self.obj210.postAction( cobj0.RHS.CREATE )

   self.obj211=contains(self)
   self.obj211.preAction( cobj0.RHS.CREATE )
   self.obj211.isGraphObjectVisual = True

   if(hasattr(self.obj211, '_setHierarchicalLink')):
     self.obj211._setHierarchicalLink(False)

   self.obj211.GGLabel.setValue(8)
   self.obj211.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(279.308517466,175.368690852,self.obj211)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj211.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj211)
   self.obj211.postAction( cobj0.RHS.CREATE )

   self.obj212=Hyperedge(self)
   self.obj212.preAction( cobj0.RHS.CREATE )
   self.obj212.isGraphObjectVisual = True

   if(hasattr(self.obj212, '_setHierarchicalLink')):
     self.obj212._setHierarchicalLink(False)

   # name
   self.obj212.name.setValue('')
   self.obj212.name.setNone()

   # broadcast
   self.obj212.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj212.broadcast.setHeight(15)

   # guard
   self.obj212.guard.setValue('')
   self.obj212.guard.setNone()

   # trigger
   self.obj212.trigger.setValue('')
   self.obj212.trigger.setNone()

   # action
   self.obj212.action.setValue('for b in balls: ctl.bounce(b, 0.01)\n')
   self.obj212.action.setHeight(15)

   # broadcast_to
   self.obj212.broadcast_to.setValue('')
   self.obj212.broadcast_to.setNone()

   # display
   self.obj212.display.setValue('')
   self.obj212.display.setNone()

   self.obj212.GGLabel.setValue(4)
   self.obj212.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(356.75,25.5,self.obj212)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj212.graphObject_ = new_obj
   self.obj2120= AttrCalc()
   self.obj2120.Copy=ATOM3Boolean()
   self.obj2120.Copy.setValue(('Copy from LHS', 1))
   self.obj2120.Copy.config = 0
   self.obj2120.Specify=ATOM3Constraint()
   self.obj2120.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['name']= self.obj2120
   self.obj2121= AttrCalc()
   self.obj2121.Copy=ATOM3Boolean()
   self.obj2121.Copy.setValue(('Copy from LHS', 1))
   self.obj2121.Copy.config = 0
   self.obj2121.Specify=ATOM3Constraint()
   self.obj2121.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['broadcast']= self.obj2121
   self.obj2122= AttrCalc()
   self.obj2122.Copy=ATOM3Boolean()
   self.obj2122.Copy.setValue(('Copy from LHS', 1))
   self.obj2122.Copy.config = 0
   self.obj2122.Specify=ATOM3Constraint()
   self.obj2122.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['guard']= self.obj2122
   self.obj2123= AttrCalc()
   self.obj2123.Copy=ATOM3Boolean()
   self.obj2123.Copy.setValue(('Copy from LHS', 1))
   self.obj2123.Copy.config = 0
   self.obj2123.Specify=ATOM3Constraint()
   self.obj2123.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['trigger']= self.obj2123
   self.obj2124= AttrCalc()
   self.obj2124.Copy=ATOM3Boolean()
   self.obj2124.Copy.setValue(('Copy from LHS', 0))
   self.obj2124.Copy.config = 0
   self.obj2124.Specify=ATOM3Constraint()
   self.obj2124.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['action']= self.obj2124
   self.obj2125= AttrCalc()
   self.obj2125.Copy=ATOM3Boolean()
   self.obj2125.Copy.setValue(('Copy from LHS', 1))
   self.obj2125.Copy.config = 0
   self.obj2125.Specify=ATOM3Constraint()
   self.obj2125.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['broadcast_to']= self.obj2125
   self.obj2126= AttrCalc()
   self.obj2126.Copy=ATOM3Boolean()
   self.obj2126.Copy.setValue(('Copy from LHS', 1))
   self.obj2126.Copy.config = 0
   self.obj2126.Specify=ATOM3Constraint()
   self.obj2126.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj212.GGset2Any['display']= self.obj2126

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj212)
   self.obj212.postAction( cobj0.RHS.CREATE )

   self.obj213=Hyperedge(self)
   self.obj213.preAction( cobj0.RHS.CREATE )
   self.obj213.isGraphObjectVisual = True

   if(hasattr(self.obj213, '_setHierarchicalLink')):
     self.obj213._setHierarchicalLink(False)

   # name
   self.obj213.name.setValue('')
   self.obj213.name.setNone()

   # broadcast
   self.obj213.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj213.broadcast.setHeight(15)

   # guard
   self.obj213.guard.setValue('1')

   # trigger
   self.obj213.trigger.setValue('')
   self.obj213.trigger.setNone()

   # action
   self.obj213.action.setValue('\n')
   self.obj213.action.setHeight(15)

   # broadcast_to
   self.obj213.broadcast_to.setValue('')
   self.obj213.broadcast_to.setNone()

   # display
   self.obj213.display.setValue('')
   self.obj213.display.setNone()

   self.obj213.GGLabel.setValue(3)
   self.obj213.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(95.4434557149,125.90625,self.obj213)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj213.graphObject_ = new_obj
   self.obj2130= AttrCalc()
   self.obj2130.Copy=ATOM3Boolean()
   self.obj2130.Copy.setValue(('Copy from LHS', 1))
   self.obj2130.Copy.config = 0
   self.obj2130.Specify=ATOM3Constraint()
   self.obj2130.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['name']= self.obj2130
   self.obj2131= AttrCalc()
   self.obj2131.Copy=ATOM3Boolean()
   self.obj2131.Copy.setValue(('Copy from LHS', 1))
   self.obj2131.Copy.config = 0
   self.obj2131.Specify=ATOM3Constraint()
   self.obj2131.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['broadcast']= self.obj2131
   self.obj2132= AttrCalc()
   self.obj2132.Copy=ATOM3Boolean()
   self.obj2132.Copy.setValue(('Copy from LHS', 1))
   self.obj2132.Copy.config = 0
   self.obj2132.Specify=ATOM3Constraint()
   self.obj2132.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['guard']= self.obj2132
   self.obj2133= AttrCalc()
   self.obj2133.Copy=ATOM3Boolean()
   self.obj2133.Copy.setValue(('Copy from LHS', 1))
   self.obj2133.Copy.config = 0
   self.obj2133.Specify=ATOM3Constraint()
   self.obj2133.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['trigger']= self.obj2133
   self.obj2134= AttrCalc()
   self.obj2134.Copy=ATOM3Boolean()
   self.obj2134.Copy.setValue(('Copy from LHS', 1))
   self.obj2134.Copy.config = 0
   self.obj2134.Specify=ATOM3Constraint()
   self.obj2134.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['action']= self.obj2134
   self.obj2135= AttrCalc()
   self.obj2135.Copy=ATOM3Boolean()
   self.obj2135.Copy.setValue(('Copy from LHS', 1))
   self.obj2135.Copy.config = 0
   self.obj2135.Specify=ATOM3Constraint()
   self.obj2135.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['broadcast_to']= self.obj2135
   self.obj2136= AttrCalc()
   self.obj2136.Copy=ATOM3Boolean()
   self.obj2136.Copy.setValue(('Copy from LHS', 1))
   self.obj2136.Copy.config = 0
   self.obj2136.Specify=ATOM3Constraint()
   self.obj2136.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj213.GGset2Any['display']= self.obj2136

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj213)
   self.obj213.postAction( cobj0.RHS.CREATE )

   self.obj214=orthogonality(self)
   self.obj214.preAction( cobj0.RHS.CREATE )
   self.obj214.isGraphObjectVisual = True

   if(hasattr(self.obj214, '_setHierarchicalLink')):
     self.obj214._setHierarchicalLink(False)

   self.obj214.GGLabel.setValue(9)
   self.obj214.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(164.5,261.0,self.obj214)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj214.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj214)
   self.obj214.postAction( cobj0.RHS.CREATE )

   self.obj207.out_connections_.append(self.obj214)
   self.obj214.in_connections_.append(self.obj207)
   self.obj207.graphObject_.pendingConnections.append((self.obj207.graphObject_.tag, self.obj214.graphObject_.tag, [97.0, 160.99999999999994, 164.5, 261.0], 0, True))
   self.obj208.out_connections_.append(self.obj213)
   self.obj213.in_connections_.append(self.obj208)
   self.obj208.graphObject_.pendingConnections.append((self.obj208.graphObject_.tag, self.obj213.graphObject_.tag, [100.88691142974493, 80.812500000000014, 95.443455714872471, 125.90624999999999], 0, True))
   self.obj209.out_connections_.append(self.obj212)
   self.obj212.in_connections_.append(self.obj209)
   self.obj209.graphObject_.pendingConnections.append((self.obj209.graphObject_.tag, self.obj212.graphObject_.tag, [245.38451467458253, 143.89353312302833, 356.74999999999994, 25.5], 2, 0))
   self.obj210.out_connections_.append(self.obj211)
   self.obj211.in_connections_.append(self.obj210)
   self.obj210.graphObject_.pendingConnections.append((self.obj210.graphObject_.tag, self.obj211.graphObject_.tag, [181.99999999999994, 210.99999999999989, 279.30851746574047, 175.36869085173504], 0, True))
   self.obj211.out_connections_.append(self.obj209)
   self.obj209.in_connections_.append(self.obj211)
   self.obj211.graphObject_.pendingConnections.append((self.obj211.graphObject_.tag, self.obj209.graphObject_.tag, [236.6170349314811, 159.73738170347008, 239.30851746574052, 195.36869085173504], 0, True))
   self.obj212.out_connections_.append(self.obj209)
   self.obj209.in_connections_.append(self.obj212)
   self.obj212.graphObject_.pendingConnections.append((self.obj212.graphObject_.tag, self.obj209.graphObject_.tag, [248.97121093312424, 147.34522870662454, 356.74999999999994, 85.5], 2, 0))
   self.obj213.out_connections_.append(self.obj207)
   self.obj207.in_connections_.append(self.obj213)
   self.obj213.graphObject_.pendingConnections.append((self.obj213.graphObject_.tag, self.obj207.graphObject_.tag, [70.0, 130.99999999999994, 95.443455714872471, 125.90624999999999], 0, True))
   self.obj214.out_connections_.append(self.obj210)
   self.obj210.in_connections_.append(self.obj214)
   self.obj214.graphObject_.pendingConnections.append((self.obj214.graphObject_.tag, self.obj210.graphObject_.tag, [152.00000000000003, 241.0, 164.5, 240.99999999999997], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 'return 1\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('colorComponent', 20)
   cobj0.Order=ATOM3Integer(2)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj219=Composite(self)
   self.obj219.preAction( cobj0.LHS.CREATE )
   self.obj219.isGraphObjectVisual = True

   if(hasattr(self.obj219, '_setHierarchicalLink')):
     self.obj219._setHierarchicalLink(False)

   # auto_adjust
   self.obj219.auto_adjust.setNone()
   self.obj219.auto_adjust.config = 0

   # name
   self.obj219.name.setValue('')
   self.obj219.name.setNone()

   # is_default
   self.obj219.is_default.setNone()
   self.obj219.is_default.config = 0

   # visible
   self.obj219.visible.setNone()
   self.obj219.visible.config = 0

   # exit_action
   self.obj219.exit_action.setValue('\n')
   self.obj219.exit_action.setHeight(15)
   self.obj219.exit_action.setNone()

   # enter_action
   self.obj219.enter_action.setValue('\n')
   self.obj219.enter_action.setHeight(15)
   self.obj219.enter_action.setNone()

   self.obj219.GGLabel.setValue(4)
   self.obj219.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(80.0,200.0,self.obj219)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj219.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj219)
   self.obj219.postAction( cobj0.LHS.CREATE )

   self.obj220=Basic(self)
   self.obj220.preAction( cobj0.LHS.CREATE )
   self.obj220.isGraphObjectVisual = True

   if(hasattr(self.obj220, '_setHierarchicalLink')):
     self.obj220._setHierarchicalLink(False)

   # is_default
   self.obj220.is_default.setNone()
   self.obj220.is_default.config = 0

   # name
   self.obj220.name.setValue('moving')

   # exit_action
   self.obj220.exit_action.setValue('\n')
   self.obj220.exit_action.setHeight(15)
   self.obj220.exit_action.setNone()

   # enter_action
   self.obj220.enter_action.setValue('\n')
   self.obj220.enter_action.setHeight(15)
   self.obj220.enter_action.setNone()

   self.obj220.GGLabel.setValue(1)
   self.obj220.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(200.0,220.0,self.obj220)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['Text Scale'] = 1.04
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj220.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj220)
   self.obj220.postAction( cobj0.LHS.CREATE )

   self.obj221=Orthogonal(self)
   self.obj221.preAction( cobj0.LHS.CREATE )
   self.obj221.isGraphObjectVisual = True

   if(hasattr(self.obj221, '_setHierarchicalLink')):
     self.obj221._setHierarchicalLink(False)

   # visible
   self.obj221.visible.setNone()
   self.obj221.visible.config = 0

   # name
   self.obj221.name.setValue('')
   self.obj221.name.setNone()

   # auto_adjust
   self.obj221.auto_adjust.setNone()
   self.obj221.auto_adjust.config = 0

   self.obj221.GGLabel.setValue(3)
   self.obj221.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(100.0,60.0,self.obj221)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj221.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj221)
   self.obj221.postAction( cobj0.LHS.CREATE )

   self.obj222=contains(self)
   self.obj222.preAction( cobj0.LHS.CREATE )
   self.obj222.isGraphObjectVisual = True

   if(hasattr(self.obj222, '_setHierarchicalLink')):
     self.obj222._setHierarchicalLink(False)

   self.obj222.GGLabel.setValue(5)
   self.obj222.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(204.373982293,92.5840480415,self.obj222)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj222.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj222)
   self.obj222.postAction( cobj0.LHS.CREATE )

   self.obj223=Hyperedge(self)
   self.obj223.preAction( cobj0.LHS.CREATE )
   self.obj223.isGraphObjectVisual = True

   if(hasattr(self.obj223, '_setHierarchicalLink')):
     self.obj223._setHierarchicalLink(False)

   # name
   self.obj223.name.setValue('')
   self.obj223.name.setNone()

   # broadcast
   self.obj223.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj223.broadcast.setHeight(15)
   self.obj223.broadcast.setNone()

   # guard
   self.obj223.guard.setValue('')
   self.obj223.guard.setNone()

   # trigger
   self.obj223.trigger.setValue('')
   self.obj223.trigger.setNone()

   # action
   self.obj223.action.setValue('\n')
   self.obj223.action.setHeight(15)
   self.obj223.action.setNone()

   # broadcast_to
   self.obj223.broadcast_to.setValue('')
   self.obj223.broadcast_to.setNone()

   # display
   self.obj223.display.setValue('')
   self.obj223.display.setNone()

   self.obj223.GGLabel.setValue(2)
   self.obj223.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(363.0,92.5,self.obj223)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj223.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj223)
   self.obj223.postAction( cobj0.LHS.CREATE )

   self.obj224=orthogonality(self)
   self.obj224.preAction( cobj0.LHS.CREATE )
   self.obj224.isGraphObjectVisual = True

   if(hasattr(self.obj224, '_setHierarchicalLink')):
     self.obj224._setHierarchicalLink(False)

   self.obj224.GGLabel.setValue(6)
   self.obj224.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(134.25,181.25,self.obj224)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj224.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj224)
   self.obj224.postAction( cobj0.LHS.CREATE )

   self.obj219.out_connections_.append(self.obj224)
   self.obj224.in_connections_.append(self.obj219)
   self.obj219.graphObject_.pendingConnections.append((self.obj219.graphObject_.tag, self.obj224.graphObject_.tag, [131.0, 215.99999999999997, 131.49999999999997, 192.49999999999997, 154.25, 141.25], 2, True))
   self.obj220.out_connections_.append(self.obj223)
   self.obj223.in_connections_.append(self.obj220)
   self.obj220.graphObject_.pendingConnections.append((self.obj220.graphObject_.tag, self.obj223.graphObject_.tag, [301.17749951769304, 223.02456296004209, 313.99999999999989, 76.0, 323.0, 32.5], 2, True))
   self.obj221.out_connections_.append(self.obj222)
   self.obj222.in_connections_.append(self.obj221)
   self.obj221.graphObject_.pendingConnections.append((self.obj221.graphObject_.tag, self.obj222.graphObject_.tag, [211.99999999999997, 101.0, 204.37398229310574, 92.584048041535269], 0, True))
   self.obj222.out_connections_.append(self.obj220)
   self.obj220.in_connections_.append(self.obj222)
   self.obj222.graphObject_.pendingConnections.append((self.obj222.graphObject_.tag, self.obj220.graphObject_.tag, [296.74796458621142, 224.16809608307057, 224.37398229310574, 132.58404804153525], 0, True))
   self.obj223.out_connections_.append(self.obj220)
   self.obj220.in_connections_.append(self.obj223)
   self.obj223.graphObject_.pendingConnections.append((self.obj223.graphObject_.tag, self.obj220.graphObject_.tag, [305.33351264266952, 224.04309608307048, 372.0, 49.0, 323.0, 32.5], 2, True))
   self.obj224.out_connections_.append(self.obj221)
   self.obj221.in_connections_.append(self.obj224)
   self.obj224.graphObject_.pendingConnections.append((self.obj224.graphObject_.tag, self.obj221.graphObject_.tag, [182.0, 131.0, 157.0, 130.0, 154.25, 141.25], 2, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj226=Composite(self)
   self.obj226.preAction( cobj0.RHS.CREATE )
   self.obj226.isGraphObjectVisual = True

   if(hasattr(self.obj226, '_setHierarchicalLink')):
     self.obj226._setHierarchicalLink(False)

   # auto_adjust
   self.obj226.auto_adjust.setValue((None, 1))
   self.obj226.auto_adjust.config = 0

   # name
   self.obj226.name.setValue('')
   self.obj226.name.setNone()

   # is_default
   self.obj226.is_default.setValue((None, 0))
   self.obj226.is_default.config = 0

   # visible
   self.obj226.visible.setValue((None, 1))
   self.obj226.visible.config = 0

   # exit_action
   self.obj226.exit_action.setValue('\n')
   self.obj226.exit_action.setHeight(15)

   # enter_action
   self.obj226.enter_action.setValue('\n')
   self.obj226.enter_action.setHeight(15)

   self.obj226.GGLabel.setValue(4)
   self.obj226.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(80.0,160.0,self.obj226)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj226.graphObject_ = new_obj
   self.obj2260= AttrCalc()
   self.obj2260.Copy=ATOM3Boolean()
   self.obj2260.Copy.setValue(('Copy from LHS', 1))
   self.obj2260.Copy.config = 0
   self.obj2260.Specify=ATOM3Constraint()
   self.obj2260.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['name']= self.obj2260
   self.obj2261= AttrCalc()
   self.obj2261.Copy=ATOM3Boolean()
   self.obj2261.Copy.setValue(('Copy from LHS', 1))
   self.obj2261.Copy.config = 0
   self.obj2261.Specify=ATOM3Constraint()
   self.obj2261.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['is_default']= self.obj2261
   self.obj2262= AttrCalc()
   self.obj2262.Copy=ATOM3Boolean()
   self.obj2262.Copy.setValue(('Copy from LHS', 1))
   self.obj2262.Copy.config = 0
   self.obj2262.Specify=ATOM3Constraint()
   self.obj2262.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['visible']= self.obj2262
   self.obj2263= AttrCalc()
   self.obj2263.Copy=ATOM3Boolean()
   self.obj2263.Copy.setValue(('Copy from LHS', 1))
   self.obj2263.Copy.config = 0
   self.obj2263.Specify=ATOM3Constraint()
   self.obj2263.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['auto_adjust']= self.obj2263
   self.obj2264= AttrCalc()
   self.obj2264.Copy=ATOM3Boolean()
   self.obj2264.Copy.setValue(('Copy from LHS', 1))
   self.obj2264.Copy.config = 0
   self.obj2264.Specify=ATOM3Constraint()
   self.obj2264.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['exit_action']= self.obj2264
   self.obj2265= AttrCalc()
   self.obj2265.Copy=ATOM3Boolean()
   self.obj2265.Copy.setValue(('Copy from LHS', 1))
   self.obj2265.Copy.config = 0
   self.obj2265.Specify=ATOM3Constraint()
   self.obj2265.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj226.GGset2Any['enter_action']= self.obj2265

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj226)
   self.obj226.postAction( cobj0.RHS.CREATE )

   self.obj227=Basic(self)
   self.obj227.preAction( cobj0.RHS.CREATE )
   self.obj227.isGraphObjectVisual = True

   if(hasattr(self.obj227, '_setHierarchicalLink')):
     self.obj227._setHierarchicalLink(False)

   # is_default
   self.obj227.is_default.setValue((None, 1))
   self.obj227.is_default.config = 0

   # name
   self.obj227.name.setValue('moving')

   # exit_action
   self.obj227.exit_action.setValue('\n')
   self.obj227.exit_action.setHeight(15)

   # enter_action
   self.obj227.enter_action.setValue('\n')
   self.obj227.enter_action.setHeight(15)

   self.obj227.GGLabel.setValue(1)
   self.obj227.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(220.0,160.0,self.obj227)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj227.graphObject_ = new_obj
   self.obj2270= AttrCalc()
   self.obj2270.Copy=ATOM3Boolean()
   self.obj2270.Copy.setValue(('Copy from LHS', 1))
   self.obj2270.Copy.config = 0
   self.obj2270.Specify=ATOM3Constraint()
   self.obj2270.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj227.GGset2Any['is_default']= self.obj2270
   self.obj2271= AttrCalc()
   self.obj2271.Copy=ATOM3Boolean()
   self.obj2271.Copy.setValue(('Copy from LHS', 1))
   self.obj2271.Copy.config = 0
   self.obj2271.Specify=ATOM3Constraint()
   self.obj2271.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj227.GGset2Any['name']= self.obj2271
   self.obj2272= AttrCalc()
   self.obj2272.Copy=ATOM3Boolean()
   self.obj2272.Copy.setValue(('Copy from LHS', 1))
   self.obj2272.Copy.config = 0
   self.obj2272.Specify=ATOM3Constraint()
   self.obj2272.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj227.GGset2Any['exit_action']= self.obj2272
   self.obj2273= AttrCalc()
   self.obj2273.Copy=ATOM3Boolean()
   self.obj2273.Copy.setValue(('Copy from LHS', 1))
   self.obj2273.Copy.config = 0
   self.obj2273.Specify=ATOM3Constraint()
   self.obj2273.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj227.GGset2Any['enter_action']= self.obj2273

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj227)
   self.obj227.postAction( cobj0.RHS.CREATE )

   self.obj228=Basic(self)
   self.obj228.preAction( cobj0.RHS.CREATE )
   self.obj228.isGraphObjectVisual = True

   if(hasattr(self.obj228, '_setHierarchicalLink')):
     self.obj228._setHierarchicalLink(False)

   # is_default
   self.obj228.is_default.setValue((None, 1))
   self.obj228.is_default.config = 0

   # name
   self.obj228.name.setValue('color')

   # exit_action
   self.obj228.exit_action.setValue('\n')
   self.obj228.exit_action.setHeight(15)

   # enter_action
   self.obj228.enter_action.setValue('\n')
   self.obj228.enter_action.setHeight(15)

   self.obj228.GGLabel.setValue(8)
   self.obj228.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(320.0,240.0,self.obj228)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj228.graphObject_ = new_obj
   self.obj2280= AttrCalc()
   self.obj2280.Copy=ATOM3Boolean()
   self.obj2280.Copy.setValue(('Copy from LHS', 0))
   self.obj2280.Copy.config = 0
   self.obj2280.Specify=ATOM3Constraint()
   self.obj2280.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj228.GGset2Any['is_default']= self.obj2280
   self.obj2281= AttrCalc()
   self.obj2281.Copy=ATOM3Boolean()
   self.obj2281.Copy.setValue(('Copy from LHS', 0))
   self.obj2281.Copy.config = 0
   self.obj2281.Specify=ATOM3Constraint()
   self.obj2281.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj228.GGset2Any['name']= self.obj2281
   self.obj2282= AttrCalc()
   self.obj2282.Copy=ATOM3Boolean()
   self.obj2282.Copy.setValue(('Copy from LHS', 0))
   self.obj2282.Copy.config = 0
   self.obj2282.Specify=ATOM3Constraint()
   self.obj2282.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj228.GGset2Any['exit_action']= self.obj2282
   self.obj2283= AttrCalc()
   self.obj2283.Copy=ATOM3Boolean()
   self.obj2283.Copy.setValue(('Copy from LHS', 0))
   self.obj2283.Copy.config = 0
   self.obj2283.Specify=ATOM3Constraint()
   self.obj2283.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj228.GGset2Any['enter_action']= self.obj2283

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj228)
   self.obj228.postAction( cobj0.RHS.CREATE )

   self.obj229=Orthogonal(self)
   self.obj229.preAction( cobj0.RHS.CREATE )
   self.obj229.isGraphObjectVisual = True

   if(hasattr(self.obj229, '_setHierarchicalLink')):
     self.obj229._setHierarchicalLink(False)

   # visible
   self.obj229.visible.setValue((None, 1))
   self.obj229.visible.config = 0

   # name
   self.obj229.name.setValue('Orthogonal0')

   # auto_adjust
   self.obj229.auto_adjust.setValue((None, 1))
   self.obj229.auto_adjust.config = 0

   self.obj229.GGLabel.setValue(3)
   self.obj229.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(100.0,40.0,self.obj229)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj229.graphObject_ = new_obj
   self.obj2290= AttrCalc()
   self.obj2290.Copy=ATOM3Boolean()
   self.obj2290.Copy.setValue(('Copy from LHS', 1))
   self.obj2290.Copy.config = 0
   self.obj2290.Specify=ATOM3Constraint()
   self.obj2290.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj229.GGset2Any['visible']= self.obj2290
   self.obj2291= AttrCalc()
   self.obj2291.Copy=ATOM3Boolean()
   self.obj2291.Copy.setValue(('Copy from LHS', 1))
   self.obj2291.Copy.config = 0
   self.obj2291.Specify=ATOM3Constraint()
   self.obj2291.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj229.GGset2Any['name']= self.obj2291
   self.obj2292= AttrCalc()
   self.obj2292.Copy=ATOM3Boolean()
   self.obj2292.Copy.setValue(('Copy from LHS', 1))
   self.obj2292.Copy.config = 0
   self.obj2292.Specify=ATOM3Constraint()
   self.obj2292.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj229.GGset2Any['auto_adjust']= self.obj2292

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj229)
   self.obj229.postAction( cobj0.RHS.CREATE )

   self.obj230=Orthogonal(self)
   self.obj230.preAction( cobj0.RHS.CREATE )
   self.obj230.isGraphObjectVisual = True

   if(hasattr(self.obj230, '_setHierarchicalLink')):
     self.obj230._setHierarchicalLink(False)

   # visible
   self.obj230.visible.setValue((None, 1))
   self.obj230.visible.config = 0

   # name
   self.obj230.name.setValue('color_comp')

   # auto_adjust
   self.obj230.auto_adjust.setValue((None, 1))
   self.obj230.auto_adjust.config = 0

   self.obj230.GGLabel.setValue(10)
   self.obj230.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(200.0,220.0,self.obj230)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj230.graphObject_ = new_obj
   self.obj2300= AttrCalc()
   self.obj2300.Copy=ATOM3Boolean()
   self.obj2300.Copy.setValue(('Copy from LHS', 0))
   self.obj2300.Copy.config = 0
   self.obj2300.Specify=ATOM3Constraint()
   self.obj2300.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj230.GGset2Any['visible']= self.obj2300
   self.obj2301= AttrCalc()
   self.obj2301.Copy=ATOM3Boolean()
   self.obj2301.Copy.setValue(('Copy from LHS', 0))
   self.obj2301.Copy.config = 0
   self.obj2301.Specify=ATOM3Constraint()
   self.obj2301.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj230.GGset2Any['name']= self.obj2301
   self.obj2302= AttrCalc()
   self.obj2302.Copy=ATOM3Boolean()
   self.obj2302.Copy.setValue(('Copy from LHS', 0))
   self.obj2302.Copy.config = 0
   self.obj2302.Specify=ATOM3Constraint()
   self.obj2302.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj230.GGset2Any['auto_adjust']= self.obj2302

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj230)
   self.obj230.postAction( cobj0.RHS.CREATE )

   self.obj231=contains(self)
   self.obj231.preAction( cobj0.RHS.CREATE )
   self.obj231.isGraphObjectVisual = True

   if(hasattr(self.obj231, '_setHierarchicalLink')):
     self.obj231._setHierarchicalLink(False)

   self.obj231.GGLabel.setValue(5)
   self.obj231.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(204.373982293,92.5840480415,self.obj231)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj231.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj231)
   self.obj231.postAction( cobj0.RHS.CREATE )

   self.obj232=contains(self)
   self.obj232.preAction( cobj0.RHS.CREATE )
   self.obj232.isGraphObjectVisual = True

   if(hasattr(self.obj232, '_setHierarchicalLink')):
     self.obj232._setHierarchicalLink(False)

   self.obj232.GGLabel.setValue(11)
   self.obj232.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(302.489668321,248.71762454,self.obj232)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj232.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj232)
   self.obj232.postAction( cobj0.RHS.CREATE )

   self.obj233=Hyperedge(self)
   self.obj233.preAction( cobj0.RHS.CREATE )
   self.obj233.isGraphObjectVisual = True

   if(hasattr(self.obj233, '_setHierarchicalLink')):
     self.obj233._setHierarchicalLink(False)

   # name
   self.obj233.name.setValue('')
   self.obj233.name.setNone()

   # broadcast
   self.obj233.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj233.broadcast.setHeight(15)

   # guard
   self.obj233.guard.setValue('')
   self.obj233.guard.setNone()

   # trigger
   self.obj233.trigger.setValue('')
   self.obj233.trigger.setNone()

   # action
   self.obj233.action.setValue('for b in balls: ctl.bounce(b)\n')
   self.obj233.action.setHeight(15)

   # broadcast_to
   self.obj233.broadcast_to.setValue('')
   self.obj233.broadcast_to.setNone()

   # display
   self.obj233.display.setValue('')
   self.obj233.display.setNone()

   self.obj233.GGLabel.setValue(2)
   self.obj233.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(343.0,32.5,self.obj233)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj233.graphObject_ = new_obj
   self.obj2330= AttrCalc()
   self.obj2330.Copy=ATOM3Boolean()
   self.obj2330.Copy.setValue(('Copy from LHS', 1))
   self.obj2330.Copy.config = 0
   self.obj2330.Specify=ATOM3Constraint()
   self.obj2330.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['name']= self.obj2330
   self.obj2331= AttrCalc()
   self.obj2331.Copy=ATOM3Boolean()
   self.obj2331.Copy.setValue(('Copy from LHS', 1))
   self.obj2331.Copy.config = 0
   self.obj2331.Specify=ATOM3Constraint()
   self.obj2331.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['broadcast']= self.obj2331
   self.obj2332= AttrCalc()
   self.obj2332.Copy=ATOM3Boolean()
   self.obj2332.Copy.setValue(('Copy from LHS', 1))
   self.obj2332.Copy.config = 0
   self.obj2332.Specify=ATOM3Constraint()
   self.obj2332.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['guard']= self.obj2332
   self.obj2333= AttrCalc()
   self.obj2333.Copy=ATOM3Boolean()
   self.obj2333.Copy.setValue(('Copy from LHS', 1))
   self.obj2333.Copy.config = 0
   self.obj2333.Specify=ATOM3Constraint()
   self.obj2333.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['trigger']= self.obj2333
   self.obj2334= AttrCalc()
   self.obj2334.Copy=ATOM3Boolean()
   self.obj2334.Copy.setValue(('Copy from LHS', 1))
   self.obj2334.Copy.config = 0
   self.obj2334.Specify=ATOM3Constraint()
   self.obj2334.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['action']= self.obj2334
   self.obj2335= AttrCalc()
   self.obj2335.Copy=ATOM3Boolean()
   self.obj2335.Copy.setValue(('Copy from LHS', 1))
   self.obj2335.Copy.config = 0
   self.obj2335.Specify=ATOM3Constraint()
   self.obj2335.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['broadcast_to']= self.obj2335
   self.obj2336= AttrCalc()
   self.obj2336.Copy=ATOM3Boolean()
   self.obj2336.Copy.setValue(('Copy from LHS', 1))
   self.obj2336.Copy.config = 0
   self.obj2336.Specify=ATOM3Constraint()
   self.obj2336.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj233.GGset2Any['display']= self.obj2336

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj233)
   self.obj233.postAction( cobj0.RHS.CREATE )

   self.obj234=Hyperedge(self)
   self.obj234.preAction( cobj0.RHS.CREATE )
   self.obj234.isGraphObjectVisual = True

   if(hasattr(self.obj234, '_setHierarchicalLink')):
     self.obj234._setHierarchicalLink(False)

   # name
   self.obj234.name.setValue('')
   self.obj234.name.setNone()

   # broadcast
   self.obj234.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj234.broadcast.setHeight(15)

   # guard
   self.obj234.guard.setValue('1')

   # trigger
   self.obj234.trigger.setValue('AFTER(0.03)')

   # action
   self.obj234.action.setValue('for b in balls: ctl.changeColor(b)\n')
   self.obj234.action.setHeight(15)

   # broadcast_to
   self.obj234.broadcast_to.setValue('')
   self.obj234.broadcast_to.setNone()

   # display
   self.obj234.display.setValue('AFTER(0.03)')

   self.obj234.GGLabel.setValue(9)
   self.obj234.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(397.5,152.0,self.obj234)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj234.graphObject_ = new_obj
   self.obj2340= AttrCalc()
   self.obj2340.Copy=ATOM3Boolean()
   self.obj2340.Copy.setValue(('Copy from LHS', 0))
   self.obj2340.Copy.config = 0
   self.obj2340.Specify=ATOM3Constraint()
   self.obj2340.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['name']= self.obj2340
   self.obj2341= AttrCalc()
   self.obj2341.Copy=ATOM3Boolean()
   self.obj2341.Copy.setValue(('Copy from LHS', 0))
   self.obj2341.Copy.config = 0
   self.obj2341.Specify=ATOM3Constraint()
   self.obj2341.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['broadcast']= self.obj2341
   self.obj2342= AttrCalc()
   self.obj2342.Copy=ATOM3Boolean()
   self.obj2342.Copy.setValue(('Copy from LHS', 0))
   self.obj2342.Copy.config = 0
   self.obj2342.Specify=ATOM3Constraint()
   self.obj2342.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['guard']= self.obj2342
   self.obj2343= AttrCalc()
   self.obj2343.Copy=ATOM3Boolean()
   self.obj2343.Copy.setValue(('Copy from LHS', 0))
   self.obj2343.Copy.config = 0
   self.obj2343.Specify=ATOM3Constraint()
   self.obj2343.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['trigger']= self.obj2343
   self.obj2344= AttrCalc()
   self.obj2344.Copy=ATOM3Boolean()
   self.obj2344.Copy.setValue(('Copy from LHS', 0))
   self.obj2344.Copy.config = 0
   self.obj2344.Specify=ATOM3Constraint()
   self.obj2344.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['action']= self.obj2344
   self.obj2345= AttrCalc()
   self.obj2345.Copy=ATOM3Boolean()
   self.obj2345.Copy.setValue(('Copy from LHS', 0))
   self.obj2345.Copy.config = 0
   self.obj2345.Specify=ATOM3Constraint()
   self.obj2345.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['broadcast_to']= self.obj2345
   self.obj2346= AttrCalc()
   self.obj2346.Copy=ATOM3Boolean()
   self.obj2346.Copy.setValue(('Copy from LHS', 0))
   self.obj2346.Copy.config = 0
   self.obj2346.Specify=ATOM3Constraint()
   self.obj2346.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj234.GGset2Any['display']= self.obj2346

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj234)
   self.obj234.postAction( cobj0.RHS.CREATE )

   self.obj235=orthogonality(self)
   self.obj235.preAction( cobj0.RHS.CREATE )
   self.obj235.isGraphObjectVisual = True

   if(hasattr(self.obj235, '_setHierarchicalLink')):
     self.obj235._setHierarchicalLink(False)

   self.obj235.GGLabel.setValue(6)
   self.obj235.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(134.25,181.25,self.obj235)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj235.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj235)
   self.obj235.postAction( cobj0.RHS.CREATE )

   self.obj236=orthogonality(self)
   self.obj236.preAction( cobj0.RHS.CREATE )
   self.obj236.isGraphObjectVisual = True

   if(hasattr(self.obj236, '_setHierarchicalLink')):
     self.obj236._setHierarchicalLink(False)

   self.obj236.GGLabel.setValue(12)
   self.obj236.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(178.5,251.0,self.obj236)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj236.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj236)
   self.obj236.postAction( cobj0.RHS.CREATE )

   self.obj226.out_connections_.append(self.obj235)
   self.obj235.in_connections_.append(self.obj226)
   self.obj226.graphObject_.pendingConnections.append((self.obj226.graphObject_.tag, self.obj235.graphObject_.tag, [58.999999999999986, 176.0, 134.24999999999991, 181.25000000000003], 2, 0))
   self.obj226.out_connections_.append(self.obj236)
   self.obj236.in_connections_.append(self.obj226)
   self.obj226.graphObject_.pendingConnections.append((self.obj226.graphObject_.tag, self.obj236.graphObject_.tag, [84.999999999999957, 200.99999999999994, 178.5, 250.99999999999997], 0, True))
   self.obj227.out_connections_.append(self.obj233)
   self.obj233.in_connections_.append(self.obj227)
   self.obj227.graphObject_.pendingConnections.append((self.obj227.graphObject_.tag, self.obj233.graphObject_.tag, [285.38451467458259, 163.89353312302833, 343.0, 32.5], 2, 0))
   self.obj228.out_connections_.append(self.obj234)
   self.obj234.in_connections_.append(self.obj228)
   self.obj228.graphObject_.pendingConnections.append((self.obj228.graphObject_.tag, self.obj234.graphObject_.tag, [285.33351264266952, 244.0430960830704, 386.0, 106.99999999999999, 397.5, 172.0], 2, True))
   self.obj229.out_connections_.append(self.obj231)
   self.obj231.in_connections_.append(self.obj229)
   self.obj229.graphObject_.pendingConnections.append((self.obj229.graphObject_.tag, self.obj231.graphObject_.tag, [122.0, 84.0, 204.37398229310574, 92.584048041535226], 2, 0))
   self.obj230.out_connections_.append(self.obj232)
   self.obj232.in_connections_.append(self.obj230)
   self.obj230.graphObject_.pendingConnections.append((self.obj230.graphObject_.tag, self.obj232.graphObject_.tag, [271.99999999999989, 261.0, 302.48966832051326, 248.71762453995791], 0, True))
   self.obj231.out_connections_.append(self.obj227)
   self.obj227.in_connections_.append(self.obj231)
   self.obj231.graphObject_.pendingConnections.append((self.obj231.graphObject_.tag, self.obj227.graphObject_.tag, [276.79896661812461, 164.01853312302839, 204.37398229310574, 92.584048041535226], 2, 0))
   self.obj232.out_connections_.append(self.obj228)
   self.obj228.in_connections_.append(self.obj232)
   self.obj232.graphObject_.pendingConnections.append((self.obj232.graphObject_.tag, self.obj228.graphObject_.tag, [272.97933664102646, 256.43524907991582, 302.48966832051326, 248.71762453995791], 0, True))
   self.obj233.out_connections_.append(self.obj227)
   self.obj227.in_connections_.append(self.obj233)
   self.obj233.graphObject_.pendingConnections.append((self.obj233.graphObject_.tag, self.obj227.graphObject_.tag, [288.97121093312421, 167.34522870662457, 323.0, 32.5], 2, 0))
   self.obj234.out_connections_.append(self.obj228)
   self.obj228.in_connections_.append(self.obj234)
   self.obj234.graphObject_.pendingConnections.append((self.obj234.graphObject_.tag, self.obj228.graphObject_.tag, [288.92020890121108, 247.4947916666666, 409.0, 217.00000000000003, 397.5, 172.0], 2, True))
   self.obj235.out_connections_.append(self.obj229)
   self.obj229.in_connections_.append(self.obj235)
   self.obj235.graphObject_.pendingConnections.append((self.obj235.graphObject_.tag, self.obj229.graphObject_.tag, [94.0, 111.99999999999997, 134.24999999999991, 181.25000000000003], 2, 0))
   self.obj236.out_connections_.append(self.obj230)
   self.obj230.in_connections_.append(self.obj236)
   self.obj236.graphObject_.pendingConnections.append((self.obj236.graphObject_.tag, self.obj230.graphObject_.tag, [211.99999999999997, 261.0, 178.5, 250.99999999999997], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName7 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#return not hasattr(node, "_uniqueName7")\n\n#return 1\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.color == True:\n    print \'************ball.color == True\'\n    return False\nelse:\n    print \'************ball.color == False\'\n    return True\n\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName7 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#node._uniqueName7 = True\n\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.color = True\n\n'))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('shapeComponent', 20)
   cobj0.Order=ATOM3Integer(3)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj241=Composite(self)
   self.obj241.preAction( cobj0.LHS.CREATE )
   self.obj241.isGraphObjectVisual = True

   if(hasattr(self.obj241, '_setHierarchicalLink')):
     self.obj241._setHierarchicalLink(False)

   # auto_adjust
   self.obj241.auto_adjust.setNone()
   self.obj241.auto_adjust.config = 0

   # name
   self.obj241.name.setValue('')
   self.obj241.name.setNone()

   # is_default
   self.obj241.is_default.setNone()
   self.obj241.is_default.config = 0

   # visible
   self.obj241.visible.setNone()
   self.obj241.visible.config = 0

   # exit_action
   self.obj241.exit_action.setValue('\n')
   self.obj241.exit_action.setHeight(15)
   self.obj241.exit_action.setNone()

   # enter_action
   self.obj241.enter_action.setValue('\n')
   self.obj241.enter_action.setHeight(15)
   self.obj241.enter_action.setNone()

   self.obj241.GGLabel.setValue(3)
   self.obj241.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,60.0,self.obj241)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj241.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj241)
   self.obj241.postAction( cobj0.LHS.CREATE )

   self.obj242=Basic(self)
   self.obj242.preAction( cobj0.LHS.CREATE )
   self.obj242.isGraphObjectVisual = True

   if(hasattr(self.obj242, '_setHierarchicalLink')):
     self.obj242._setHierarchicalLink(False)

   # is_default
   self.obj242.is_default.setNone()
   self.obj242.is_default.config = 0

   # name
   self.obj242.name.setValue('moving')

   # exit_action
   self.obj242.exit_action.setValue('\n')
   self.obj242.exit_action.setHeight(15)
   self.obj242.exit_action.setNone()

   # enter_action
   self.obj242.enter_action.setValue('\n')
   self.obj242.enter_action.setHeight(15)
   self.obj242.enter_action.setNone()

   self.obj242.GGLabel.setValue(1)
   self.obj242.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(240.0,200.0,self.obj242)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj242.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj242)
   self.obj242.postAction( cobj0.LHS.CREATE )

   self.obj243=Orthogonal(self)
   self.obj243.preAction( cobj0.LHS.CREATE )
   self.obj243.isGraphObjectVisual = True

   if(hasattr(self.obj243, '_setHierarchicalLink')):
     self.obj243._setHierarchicalLink(False)

   # visible
   self.obj243.visible.setNone()
   self.obj243.visible.config = 0

   # name
   self.obj243.name.setValue('')
   self.obj243.name.setNone()

   # auto_adjust
   self.obj243.auto_adjust.setNone()
   self.obj243.auto_adjust.config = 0

   self.obj243.GGLabel.setValue(2)
   self.obj243.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,180.0,self.obj243)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj243.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj243)
   self.obj243.postAction( cobj0.LHS.CREATE )

   self.obj244=contains(self)
   self.obj244.preAction( cobj0.LHS.CREATE )
   self.obj244.isGraphObjectVisual = True

   if(hasattr(self.obj244, '_setHierarchicalLink')):
     self.obj244._setHierarchicalLink(False)

   self.obj244.GGLabel.setValue(5)
   self.obj244.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(182.005748984,226.53909536,self.obj244)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj244.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj244)
   self.obj244.postAction( cobj0.LHS.CREATE )

   self.obj245=Hyperedge(self)
   self.obj245.preAction( cobj0.LHS.CREATE )
   self.obj245.isGraphObjectVisual = True

   if(hasattr(self.obj245, '_setHierarchicalLink')):
     self.obj245._setHierarchicalLink(False)

   # name
   self.obj245.name.setValue('')
   self.obj245.name.setNone()

   # broadcast
   self.obj245.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj245.broadcast.setHeight(15)
   self.obj245.broadcast.setNone()

   # guard
   self.obj245.guard.setValue('')
   self.obj245.guard.setNone()

   # trigger
   self.obj245.trigger.setValue('')
   self.obj245.trigger.setNone()

   # action
   self.obj245.action.setValue('\n')
   self.obj245.action.setHeight(15)
   self.obj245.action.setNone()

   # broadcast_to
   self.obj245.broadcast_to.setValue('')
   self.obj245.broadcast_to.setNone()

   # display
   self.obj245.display.setValue('')
   self.obj245.display.setNone()

   self.obj245.GGLabel.setValue(6)
   self.obj245.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(371.0,98.5,self.obj245)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj245.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj245)
   self.obj245.postAction( cobj0.LHS.CREATE )

   self.obj246=orthogonality(self)
   self.obj246.preAction( cobj0.LHS.CREATE )
   self.obj246.isGraphObjectVisual = True

   if(hasattr(self.obj246, '_setHierarchicalLink')):
     self.obj246._setHierarchicalLink(False)

   self.obj246.GGLabel.setValue(4)
   self.obj246.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(136.5,129.0,self.obj246)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj246.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj246)
   self.obj246.postAction( cobj0.LHS.CREATE )

   self.obj241.out_connections_.append(self.obj246)
   self.obj246.in_connections_.append(self.obj241)
   self.obj241.graphObject_.pendingConnections.append((self.obj241.graphObject_.tag, self.obj246.graphObject_.tag, [111.0, 127.0, 136.5, 129.0], 0, True))
   self.obj242.out_connections_.append(self.obj245)
   self.obj245.in_connections_.append(self.obj242)
   self.obj242.graphObject_.pendingConnections.append((self.obj242.graphObject_.tag, self.obj245.graphObject_.tag, [265.33351264266946, 204.04309608307045, 328.0, 52.999999999999993, 371.0, 78.5], 2, True))
   self.obj243.out_connections_.append(self.obj244)
   self.obj244.in_connections_.append(self.obj243)
   self.obj243.graphObject_.pendingConnections.append((self.obj243.graphObject_.tag, self.obj244.graphObject_.tag, [152.0, 221.0, 182.00574898404344, 226.53909536014717], 0, True))
   self.obj244.out_connections_.append(self.obj242)
   self.obj242.in_connections_.append(self.obj244)
   self.obj244.graphObject_.pendingConnections.append((self.obj244.graphObject_.tag, self.obj242.graphObject_.tag, [252.01149796808687, 212.07819072029437, 222.00574898404341, 186.5390953601472], 0, True))
   self.obj245.out_connections_.append(self.obj242)
   self.obj242.in_connections_.append(self.obj245)
   self.obj245.graphObject_.pendingConnections.append((self.obj245.graphObject_.tag, self.obj242.graphObject_.tag, [268.92020890121091, 207.49479166666666, 414.0, 124.00000000000001, 371.0, 78.5], 2, True))
   self.obj246.out_connections_.append(self.obj243)
   self.obj243.in_connections_.append(self.obj246)
   self.obj246.graphObject_.pendingConnections.append((self.obj246.graphObject_.tag, self.obj243.graphObject_.tag, [122.00000000000003, 190.99999999999997, 136.5, 129.0], 0, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj248=Composite(self)
   self.obj248.preAction( cobj0.RHS.CREATE )
   self.obj248.isGraphObjectVisual = True

   if(hasattr(self.obj248, '_setHierarchicalLink')):
     self.obj248._setHierarchicalLink(False)

   # auto_adjust
   self.obj248.auto_adjust.setNone()
   self.obj248.auto_adjust.config = 0

   # name
   self.obj248.name.setValue('')
   self.obj248.name.setNone()

   # is_default
   self.obj248.is_default.setNone()
   self.obj248.is_default.config = 0

   # visible
   self.obj248.visible.setNone()
   self.obj248.visible.config = 0

   # exit_action
   self.obj248.exit_action.setValue('\n')
   self.obj248.exit_action.setHeight(15)

   # enter_action
   self.obj248.enter_action.setValue('\n')
   self.obj248.enter_action.setHeight(15)

   self.obj248.GGLabel.setValue(3)
   self.obj248.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(0.0,100.0,self.obj248)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj248.graphObject_ = new_obj
   self.obj2480= AttrCalc()
   self.obj2480.Copy=ATOM3Boolean()
   self.obj2480.Copy.setValue(('Copy from LHS', 1))
   self.obj2480.Copy.config = 0
   self.obj2480.Specify=ATOM3Constraint()
   self.obj2480.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['name']= self.obj2480
   self.obj2481= AttrCalc()
   self.obj2481.Copy=ATOM3Boolean()
   self.obj2481.Copy.setValue(('Copy from LHS', 1))
   self.obj2481.Copy.config = 0
   self.obj2481.Specify=ATOM3Constraint()
   self.obj2481.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['is_default']= self.obj2481
   self.obj2482= AttrCalc()
   self.obj2482.Copy=ATOM3Boolean()
   self.obj2482.Copy.setValue(('Copy from LHS', 1))
   self.obj2482.Copy.config = 0
   self.obj2482.Specify=ATOM3Constraint()
   self.obj2482.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['visible']= self.obj2482
   self.obj2483= AttrCalc()
   self.obj2483.Copy=ATOM3Boolean()
   self.obj2483.Copy.setValue(('Copy from LHS', 1))
   self.obj2483.Copy.config = 0
   self.obj2483.Specify=ATOM3Constraint()
   self.obj2483.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['auto_adjust']= self.obj2483
   self.obj2484= AttrCalc()
   self.obj2484.Copy=ATOM3Boolean()
   self.obj2484.Copy.setValue(('Copy from LHS', 1))
   self.obj2484.Copy.config = 0
   self.obj2484.Specify=ATOM3Constraint()
   self.obj2484.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['exit_action']= self.obj2484
   self.obj2485= AttrCalc()
   self.obj2485.Copy=ATOM3Boolean()
   self.obj2485.Copy.setValue(('Copy from LHS', 1))
   self.obj2485.Copy.config = 0
   self.obj2485.Specify=ATOM3Constraint()
   self.obj2485.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj248.GGset2Any['enter_action']= self.obj2485

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj248)
   self.obj248.postAction( cobj0.RHS.CREATE )

   self.obj249=Basic(self)
   self.obj249.preAction( cobj0.RHS.CREATE )
   self.obj249.isGraphObjectVisual = True

   if(hasattr(self.obj249, '_setHierarchicalLink')):
     self.obj249._setHierarchicalLink(False)

   # is_default
   self.obj249.is_default.setValue((None, 1))
   self.obj249.is_default.config = 0

   # name
   self.obj249.name.setValue('moving')

   # exit_action
   self.obj249.exit_action.setValue('\n')
   self.obj249.exit_action.setHeight(15)

   # enter_action
   self.obj249.enter_action.setValue('\n')
   self.obj249.enter_action.setHeight(15)

   self.obj249.GGLabel.setValue(1)
   self.obj249.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(220.0,200.0,self.obj249)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj249.graphObject_ = new_obj
   self.obj2490= AttrCalc()
   self.obj2490.Copy=ATOM3Boolean()
   self.obj2490.Copy.setValue(('Copy from LHS', 1))
   self.obj2490.Copy.config = 0
   self.obj2490.Specify=ATOM3Constraint()
   self.obj2490.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj249.GGset2Any['is_default']= self.obj2490
   self.obj2491= AttrCalc()
   self.obj2491.Copy=ATOM3Boolean()
   self.obj2491.Copy.setValue(('Copy from LHS', 1))
   self.obj2491.Copy.config = 0
   self.obj2491.Specify=ATOM3Constraint()
   self.obj2491.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj249.GGset2Any['name']= self.obj2491
   self.obj2492= AttrCalc()
   self.obj2492.Copy=ATOM3Boolean()
   self.obj2492.Copy.setValue(('Copy from LHS', 1))
   self.obj2492.Copy.config = 0
   self.obj2492.Specify=ATOM3Constraint()
   self.obj2492.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj249.GGset2Any['exit_action']= self.obj2492
   self.obj2493= AttrCalc()
   self.obj2493.Copy=ATOM3Boolean()
   self.obj2493.Copy.setValue(('Copy from LHS', 1))
   self.obj2493.Copy.config = 0
   self.obj2493.Specify=ATOM3Constraint()
   self.obj2493.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj249.GGset2Any['enter_action']= self.obj2493

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj249)
   self.obj249.postAction( cobj0.RHS.CREATE )

   self.obj250=Basic(self)
   self.obj250.preAction( cobj0.RHS.CREATE )
   self.obj250.isGraphObjectVisual = True

   if(hasattr(self.obj250, '_setHierarchicalLink')):
     self.obj250._setHierarchicalLink(False)

   # is_default
   self.obj250.is_default.setValue((None, 1))
   self.obj250.is_default.config = 0

   # name
   self.obj250.name.setValue('shape')

   # exit_action
   self.obj250.exit_action.setValue('\n')
   self.obj250.exit_action.setHeight(15)

   # enter_action
   self.obj250.enter_action.setValue('\n')
   self.obj250.enter_action.setHeight(15)

   self.obj250.GGLabel.setValue(8)
   self.obj250.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(180.0,300.0,self.obj250)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj250.graphObject_ = new_obj
   self.obj2500= AttrCalc()
   self.obj2500.Copy=ATOM3Boolean()
   self.obj2500.Copy.setValue(('Copy from LHS', 0))
   self.obj2500.Copy.config = 0
   self.obj2500.Specify=ATOM3Constraint()
   self.obj2500.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj250.GGset2Any['is_default']= self.obj2500
   self.obj2501= AttrCalc()
   self.obj2501.Copy=ATOM3Boolean()
   self.obj2501.Copy.setValue(('Copy from LHS', 0))
   self.obj2501.Copy.config = 0
   self.obj2501.Specify=ATOM3Constraint()
   self.obj2501.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj250.GGset2Any['name']= self.obj2501
   self.obj2502= AttrCalc()
   self.obj2502.Copy=ATOM3Boolean()
   self.obj2502.Copy.setValue(('Copy from LHS', 0))
   self.obj2502.Copy.config = 0
   self.obj2502.Specify=ATOM3Constraint()
   self.obj2502.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj250.GGset2Any['exit_action']= self.obj2502
   self.obj2503= AttrCalc()
   self.obj2503.Copy=ATOM3Boolean()
   self.obj2503.Copy.setValue(('Copy from LHS', 0))
   self.obj2503.Copy.config = 0
   self.obj2503.Specify=ATOM3Constraint()
   self.obj2503.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj250.GGset2Any['enter_action']= self.obj2503

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj250)
   self.obj250.postAction( cobj0.RHS.CREATE )

   self.obj251=Orthogonal(self)
   self.obj251.preAction( cobj0.RHS.CREATE )
   self.obj251.isGraphObjectVisual = True

   if(hasattr(self.obj251, '_setHierarchicalLink')):
     self.obj251._setHierarchicalLink(False)

   # visible
   self.obj251.visible.setNone()
   self.obj251.visible.config = 0

   # name
   self.obj251.name.setValue('')
   self.obj251.name.setNone()

   # auto_adjust
   self.obj251.auto_adjust.setNone()
   self.obj251.auto_adjust.config = 0

   self.obj251.GGLabel.setValue(2)
   self.obj251.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,120.0,self.obj251)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj251.graphObject_ = new_obj
   self.obj2510= AttrCalc()
   self.obj2510.Copy=ATOM3Boolean()
   self.obj2510.Copy.setValue(('Copy from LHS', 1))
   self.obj2510.Copy.config = 0
   self.obj2510.Specify=ATOM3Constraint()
   self.obj2510.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj251.GGset2Any['visible']= self.obj2510
   self.obj2511= AttrCalc()
   self.obj2511.Copy=ATOM3Boolean()
   self.obj2511.Copy.setValue(('Copy from LHS', 1))
   self.obj2511.Copy.config = 0
   self.obj2511.Specify=ATOM3Constraint()
   self.obj2511.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj251.GGset2Any['name']= self.obj2511
   self.obj2512= AttrCalc()
   self.obj2512.Copy=ATOM3Boolean()
   self.obj2512.Copy.setValue(('Copy from LHS', 1))
   self.obj2512.Copy.config = 0
   self.obj2512.Specify=ATOM3Constraint()
   self.obj2512.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj251.GGset2Any['auto_adjust']= self.obj2512

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj251)
   self.obj251.postAction( cobj0.RHS.CREATE )

   self.obj252=Orthogonal(self)
   self.obj252.preAction( cobj0.RHS.CREATE )
   self.obj252.isGraphObjectVisual = True

   if(hasattr(self.obj252, '_setHierarchicalLink')):
     self.obj252._setHierarchicalLink(False)

   # visible
   self.obj252.visible.setValue((None, 1))
   self.obj252.visible.config = 0

   # name
   self.obj252.name.setValue('shape_comp')

   # auto_adjust
   self.obj252.auto_adjust.setValue((None, 1))
   self.obj252.auto_adjust.config = 0

   self.obj252.GGLabel.setValue(10)
   self.obj252.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(0.0,280.0,self.obj252)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj252.graphObject_ = new_obj
   self.obj2520= AttrCalc()
   self.obj2520.Copy=ATOM3Boolean()
   self.obj2520.Copy.setValue(('Copy from LHS', 0))
   self.obj2520.Copy.config = 0
   self.obj2520.Specify=ATOM3Constraint()
   self.obj2520.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj252.GGset2Any['visible']= self.obj2520
   self.obj2521= AttrCalc()
   self.obj2521.Copy=ATOM3Boolean()
   self.obj2521.Copy.setValue(('Copy from LHS', 0))
   self.obj2521.Copy.config = 0
   self.obj2521.Specify=ATOM3Constraint()
   self.obj2521.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj252.GGset2Any['name']= self.obj2521
   self.obj2522= AttrCalc()
   self.obj2522.Copy=ATOM3Boolean()
   self.obj2522.Copy.setValue(('Copy from LHS', 0))
   self.obj2522.Copy.config = 0
   self.obj2522.Specify=ATOM3Constraint()
   self.obj2522.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj252.GGset2Any['auto_adjust']= self.obj2522

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj252)
   self.obj252.postAction( cobj0.RHS.CREATE )

   self.obj253=contains(self)
   self.obj253.preAction( cobj0.RHS.CREATE )
   self.obj253.isGraphObjectVisual = True

   if(hasattr(self.obj253, '_setHierarchicalLink')):
     self.obj253._setHierarchicalLink(False)

   self.obj253.GGLabel.setValue(5)
   self.obj253.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(182.005748984,226.53909536,self.obj253)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj253.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj253)
   self.obj253.postAction( cobj0.RHS.CREATE )

   self.obj254=contains(self)
   self.obj254.preAction( cobj0.RHS.CREATE )
   self.obj254.isGraphObjectVisual = True

   if(hasattr(self.obj254, '_setHierarchicalLink')):
     self.obj254._setHierarchicalLink(False)

   self.obj254.GGLabel.setValue(11)
   self.obj254.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(122.005748984,326.53909536,self.obj254)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj254.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj254)
   self.obj254.postAction( cobj0.RHS.CREATE )

   self.obj255=Hyperedge(self)
   self.obj255.preAction( cobj0.RHS.CREATE )
   self.obj255.isGraphObjectVisual = True

   if(hasattr(self.obj255, '_setHierarchicalLink')):
     self.obj255._setHierarchicalLink(False)

   # name
   self.obj255.name.setValue('')
   self.obj255.name.setNone()

   # broadcast
   self.obj255.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj255.broadcast.setHeight(15)

   # guard
   self.obj255.guard.setValue('')
   self.obj255.guard.setNone()

   # trigger
   self.obj255.trigger.setValue('')
   self.obj255.trigger.setNone()

   # action
   self.obj255.action.setValue('\n')
   self.obj255.action.setHeight(15)

   # broadcast_to
   self.obj255.broadcast_to.setValue('')
   self.obj255.broadcast_to.setNone()

   # display
   self.obj255.display.setValue('')
   self.obj255.display.setNone()

   self.obj255.GGLabel.setValue(6)
   self.obj255.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(371.0,98.5,self.obj255)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj255.graphObject_ = new_obj
   self.obj2550= AttrCalc()
   self.obj2550.Copy=ATOM3Boolean()
   self.obj2550.Copy.setValue(('Copy from LHS', 1))
   self.obj2550.Copy.config = 0
   self.obj2550.Specify=ATOM3Constraint()
   self.obj2550.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['name']= self.obj2550
   self.obj2551= AttrCalc()
   self.obj2551.Copy=ATOM3Boolean()
   self.obj2551.Copy.setValue(('Copy from LHS', 1))
   self.obj2551.Copy.config = 0
   self.obj2551.Specify=ATOM3Constraint()
   self.obj2551.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['broadcast']= self.obj2551
   self.obj2552= AttrCalc()
   self.obj2552.Copy=ATOM3Boolean()
   self.obj2552.Copy.setValue(('Copy from LHS', 1))
   self.obj2552.Copy.config = 0
   self.obj2552.Specify=ATOM3Constraint()
   self.obj2552.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['guard']= self.obj2552
   self.obj2553= AttrCalc()
   self.obj2553.Copy=ATOM3Boolean()
   self.obj2553.Copy.setValue(('Copy from LHS', 1))
   self.obj2553.Copy.config = 0
   self.obj2553.Specify=ATOM3Constraint()
   self.obj2553.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['trigger']= self.obj2553
   self.obj2554= AttrCalc()
   self.obj2554.Copy=ATOM3Boolean()
   self.obj2554.Copy.setValue(('Copy from LHS', 1))
   self.obj2554.Copy.config = 0
   self.obj2554.Specify=ATOM3Constraint()
   self.obj2554.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['action']= self.obj2554
   self.obj2555= AttrCalc()
   self.obj2555.Copy=ATOM3Boolean()
   self.obj2555.Copy.setValue(('Copy from LHS', 1))
   self.obj2555.Copy.config = 0
   self.obj2555.Specify=ATOM3Constraint()
   self.obj2555.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['broadcast_to']= self.obj2555
   self.obj2556= AttrCalc()
   self.obj2556.Copy=ATOM3Boolean()
   self.obj2556.Copy.setValue(('Copy from LHS', 1))
   self.obj2556.Copy.config = 0
   self.obj2556.Specify=ATOM3Constraint()
   self.obj2556.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj255.GGset2Any['display']= self.obj2556

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj255)
   self.obj255.postAction( cobj0.RHS.CREATE )

   self.obj256=Hyperedge(self)
   self.obj256.preAction( cobj0.RHS.CREATE )
   self.obj256.isGraphObjectVisual = True

   if(hasattr(self.obj256, '_setHierarchicalLink')):
     self.obj256._setHierarchicalLink(False)

   # name
   self.obj256.name.setValue('')
   self.obj256.name.setNone()

   # broadcast
   self.obj256.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj256.broadcast.setHeight(15)

   # guard
   self.obj256.guard.setValue('1')

   # trigger
   self.obj256.trigger.setValue('AFTER(0.01)')

   # action
   self.obj256.action.setValue('for b in balls: ctl.changeShape(b)\n')
   self.obj256.action.setHeight(15)

   # broadcast_to
   self.obj256.broadcast_to.setValue('')
   self.obj256.broadcast_to.setNone()

   # display
   self.obj256.display.setValue('AFTER(0.01)')

   self.obj256.GGLabel.setValue(9)
   self.obj256.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(370.75,300.25,self.obj256)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj256.graphObject_ = new_obj
   self.obj2560= AttrCalc()
   self.obj2560.Copy=ATOM3Boolean()
   self.obj2560.Copy.setValue(('Copy from LHS', 0))
   self.obj2560.Copy.config = 0
   self.obj2560.Specify=ATOM3Constraint()
   self.obj2560.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['name']= self.obj2560
   self.obj2561= AttrCalc()
   self.obj2561.Copy=ATOM3Boolean()
   self.obj2561.Copy.setValue(('Copy from LHS', 0))
   self.obj2561.Copy.config = 0
   self.obj2561.Specify=ATOM3Constraint()
   self.obj2561.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['broadcast']= self.obj2561
   self.obj2562= AttrCalc()
   self.obj2562.Copy=ATOM3Boolean()
   self.obj2562.Copy.setValue(('Copy from LHS', 0))
   self.obj2562.Copy.config = 0
   self.obj2562.Specify=ATOM3Constraint()
   self.obj2562.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['guard']= self.obj2562
   self.obj2563= AttrCalc()
   self.obj2563.Copy=ATOM3Boolean()
   self.obj2563.Copy.setValue(('Copy from LHS', 0))
   self.obj2563.Copy.config = 0
   self.obj2563.Specify=ATOM3Constraint()
   self.obj2563.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['trigger']= self.obj2563
   self.obj2564= AttrCalc()
   self.obj2564.Copy=ATOM3Boolean()
   self.obj2564.Copy.setValue(('Copy from LHS', 0))
   self.obj2564.Copy.config = 0
   self.obj2564.Specify=ATOM3Constraint()
   self.obj2564.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['action']= self.obj2564
   self.obj2565= AttrCalc()
   self.obj2565.Copy=ATOM3Boolean()
   self.obj2565.Copy.setValue(('Copy from LHS', 0))
   self.obj2565.Copy.config = 0
   self.obj2565.Specify=ATOM3Constraint()
   self.obj2565.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['broadcast_to']= self.obj2565
   self.obj2566= AttrCalc()
   self.obj2566.Copy=ATOM3Boolean()
   self.obj2566.Copy.setValue(('Copy from LHS', 0))
   self.obj2566.Copy.config = 0
   self.obj2566.Specify=ATOM3Constraint()
   self.obj2566.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj256.GGset2Any['display']= self.obj2566

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj256)
   self.obj256.postAction( cobj0.RHS.CREATE )

   self.obj257=orthogonality(self)
   self.obj257.preAction( cobj0.RHS.CREATE )
   self.obj257.isGraphObjectVisual = True

   if(hasattr(self.obj257, '_setHierarchicalLink')):
     self.obj257._setHierarchicalLink(False)

   self.obj257.GGLabel.setValue(4)
   self.obj257.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(136.5,129.0,self.obj257)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj257.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj257)
   self.obj257.postAction( cobj0.RHS.CREATE )

   self.obj258=orthogonality(self)
   self.obj258.preAction( cobj0.RHS.CREATE )
   self.obj258.isGraphObjectVisual = True

   if(hasattr(self.obj258, '_setHierarchicalLink')):
     self.obj258._setHierarchicalLink(False)

   self.obj258.GGLabel.setValue(12)
   self.obj258.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(80.5,199.0,self.obj258)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj258.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj258)
   self.obj258.postAction( cobj0.RHS.CREATE )

   self.obj248.out_connections_.append(self.obj257)
   self.obj257.in_connections_.append(self.obj248)
   self.obj248.graphObject_.pendingConnections.append((self.obj248.graphObject_.tag, self.obj257.graphObject_.tag, [38.999999999999986, 166.99999999999994, 136.5, 129.0], 2, 0))
   self.obj248.out_connections_.append(self.obj258)
   self.obj258.in_connections_.append(self.obj248)
   self.obj248.graphObject_.pendingConnections.append((self.obj248.graphObject_.tag, self.obj258.graphObject_.tag, [38.999999999999986, 166.99999999999994, 80.5, 199.00000000000003], 0, True))
   self.obj249.out_connections_.append(self.obj255)
   self.obj255.in_connections_.append(self.obj249)
   self.obj249.graphObject_.pendingConnections.append((self.obj249.graphObject_.tag, self.obj255.graphObject_.tag, [268.97121093312421, 207.34522870662454, 371.0, 98.5], 2, 0))
   self.obj250.out_connections_.append(self.obj256)
   self.obj256.in_connections_.append(self.obj250)
   self.obj250.graphObject_.pendingConnections.append((self.obj250.graphObject_.tag, self.obj256.graphObject_.tag, [208.92020890121105, 307.49479166666663, 392.0, 272.50000000000006, 381.99999999999994, 248.99999999999997, 370.74999999999989, 320.25], 4, True))
   self.obj251.out_connections_.append(self.obj253)
   self.obj253.in_connections_.append(self.obj251)
   self.obj251.graphObject_.pendingConnections.append((self.obj251.graphObject_.tag, self.obj253.graphObject_.tag, [241.99999999999994, 164.0, 182.00574898404344, 226.53909536014717], 2, 0))
   self.obj252.out_connections_.append(self.obj254)
   self.obj254.in_connections_.append(self.obj252)
   self.obj252.graphObject_.pendingConnections.append((self.obj252.graphObject_.tag, self.obj254.graphObject_.tag, [272.0, 340.99999999999983, 122.00574898404338, 326.53909536014714], 0, True))
   self.obj253.out_connections_.append(self.obj249)
   self.obj249.in_connections_.append(self.obj253)
   self.obj253.graphObject_.pendingConnections.append((self.obj253.graphObject_.tag, self.obj249.graphObject_.tag, [253.03033867293948, 216.28568611987379, 182.00574898404344, 226.53909536014717], 2, 0))
   self.obj254.out_connections_.append(self.obj250)
   self.obj250.in_connections_.append(self.obj254)
   self.obj254.graphObject_.pendingConnections.append((self.obj254.graphObject_.tag, self.obj250.graphObject_.tag, [192.01149796808684, 312.07819072029434, 142.00574898404338, 326.53909536014714], 0, True))
   self.obj255.out_connections_.append(self.obj249)
   self.obj249.in_connections_.append(self.obj255)
   self.obj255.graphObject_.pendingConnections.append((self.obj255.graphObject_.tag, self.obj249.graphObject_.tag, [268.97121093312421, 207.34522870662454, 371.0, 78.5], 2, 0))
   self.obj256.out_connections_.append(self.obj250)
   self.obj250.in_connections_.append(self.obj256)
   self.obj256.graphObject_.pendingConnections.append((self.obj256.graphObject_.tag, self.obj250.graphObject_.tag, [208.80634552792415, 316.43524907991576, 349.50000000000006, 348.0, 297.00000000000006, 360.0, 370.74999999999989, 320.25], 4, True))
   self.obj257.out_connections_.append(self.obj251)
   self.obj251.in_connections_.append(self.obj257)
   self.obj257.graphObject_.pendingConnections.append((self.obj257.graphObject_.tag, self.obj251.graphObject_.tag, [211.99999999999997, 136.0, 136.5, 129.0], 2, 0))
   self.obj258.out_connections_.append(self.obj252)
   self.obj252.in_connections_.append(self.obj258)
   self.obj258.graphObject_.pendingConnections.append((self.obj258.graphObject_.tag, self.obj252.graphObject_.tag, [241.99999999999994, 310.99999999999994, 80.5, 199.00000000000003], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName9 is not guaranteed to be unique (so change it, be safe!)\n\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.shape == True:\n    print \'********ball.shape == True\'\n    return False\nelse:\n    print \'********ball.shape == False\'\n    return True\n#return not hasattr(node, "_uniqueName9")\n\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName9 is not guaranteed to be unique (so change it, be safe!)\n\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.shape = True\n#node._uniqueName9 = True\n\n'))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('blowUpComponent', 20)
   cobj0.Order=ATOM3Integer(4)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj263=Composite(self)
   self.obj263.preAction( cobj0.LHS.CREATE )
   self.obj263.isGraphObjectVisual = True

   if(hasattr(self.obj263, '_setHierarchicalLink')):
     self.obj263._setHierarchicalLink(False)

   # auto_adjust
   self.obj263.auto_adjust.setNone()
   self.obj263.auto_adjust.config = 0

   # name
   self.obj263.name.setValue('')
   self.obj263.name.setNone()

   # is_default
   self.obj263.is_default.setNone()
   self.obj263.is_default.config = 0

   # visible
   self.obj263.visible.setNone()
   self.obj263.visible.config = 0

   # exit_action
   self.obj263.exit_action.setValue('\n')
   self.obj263.exit_action.setHeight(15)
   self.obj263.exit_action.setNone()

   # enter_action
   self.obj263.enter_action.setValue('\n')
   self.obj263.enter_action.setHeight(15)
   self.obj263.enter_action.setNone()

   self.obj263.GGLabel.setValue(2)
   self.obj263.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,60.0,self.obj263)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj263.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj263)
   self.obj263.postAction( cobj0.LHS.CREATE )

   self.obj264=Basic(self)
   self.obj264.preAction( cobj0.LHS.CREATE )
   self.obj264.isGraphObjectVisual = True

   if(hasattr(self.obj264, '_setHierarchicalLink')):
     self.obj264._setHierarchicalLink(False)

   # is_default
   self.obj264.is_default.setNone()
   self.obj264.is_default.config = 0

   # name
   self.obj264.name.setValue('moving')

   # exit_action
   self.obj264.exit_action.setValue('\n')
   self.obj264.exit_action.setHeight(15)

   # enter_action
   self.obj264.enter_action.setValue('\n')
   self.obj264.enter_action.setHeight(15)

   self.obj264.GGLabel.setValue(1)
   self.obj264.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(260.0,180.0,self.obj264)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj264.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj264)
   self.obj264.postAction( cobj0.LHS.CREATE )

   self.obj265=Orthogonal(self)
   self.obj265.preAction( cobj0.LHS.CREATE )
   self.obj265.isGraphObjectVisual = True

   if(hasattr(self.obj265, '_setHierarchicalLink')):
     self.obj265._setHierarchicalLink(False)

   # visible
   self.obj265.visible.setNone()
   self.obj265.visible.config = 0

   # name
   self.obj265.name.setValue('')
   self.obj265.name.setNone()

   # auto_adjust
   self.obj265.auto_adjust.setNone()
   self.obj265.auto_adjust.config = 0

   self.obj265.GGLabel.setValue(3)
   self.obj265.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,200.0,self.obj265)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj265.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj265)
   self.obj265.postAction( cobj0.LHS.CREATE )

   self.obj266=contains(self)
   self.obj266.preAction( cobj0.LHS.CREATE )
   self.obj266.isGraphObjectVisual = True

   if(hasattr(self.obj266, '_setHierarchicalLink')):
     self.obj266._setHierarchicalLink(False)

   self.obj266.GGLabel.setValue(5)
   self.obj266.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(172.005748984,236.53909536,self.obj266)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj266.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj266)
   self.obj266.postAction( cobj0.LHS.CREATE )

   self.obj267=Hyperedge(self)
   self.obj267.preAction( cobj0.LHS.CREATE )
   self.obj267.isGraphObjectVisual = True

   if(hasattr(self.obj267, '_setHierarchicalLink')):
     self.obj267._setHierarchicalLink(False)

   # name
   self.obj267.name.setValue('')
   self.obj267.name.setNone()

   # broadcast
   self.obj267.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj267.broadcast.setHeight(15)
   self.obj267.broadcast.setNone()

   # guard
   self.obj267.guard.setValue('')
   self.obj267.guard.setNone()

   # trigger
   self.obj267.trigger.setValue('')
   self.obj267.trigger.setNone()

   # action
   self.obj267.action.setValue('\n')
   self.obj267.action.setHeight(15)
   self.obj267.action.setNone()

   # broadcast_to
   self.obj267.broadcast_to.setValue('')
   self.obj267.broadcast_to.setNone()

   # display
   self.obj267.display.setValue('')
   self.obj267.display.setNone()

   self.obj267.GGLabel.setValue(4)
   self.obj267.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(377.0,25.0,self.obj267)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj267.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj267)
   self.obj267.postAction( cobj0.LHS.CREATE )

   self.obj268=orthogonality(self)
   self.obj268.preAction( cobj0.LHS.CREATE )
   self.obj268.isGraphObjectVisual = True

   if(hasattr(self.obj268, '_setHierarchicalLink')):
     self.obj268._setHierarchicalLink(False)

   self.obj268.GGLabel.setValue(6)
   self.obj268.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(126.5,159.0,self.obj268)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj268.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj268)
   self.obj268.postAction( cobj0.LHS.CREATE )

   self.obj263.out_connections_.append(self.obj268)
   self.obj268.in_connections_.append(self.obj263)
   self.obj263.graphObject_.pendingConnections.append((self.obj263.graphObject_.tag, self.obj268.graphObject_.tag, [111.0, 127.00000000000003, 126.5, 159.0], 0, True))
   self.obj264.out_connections_.append(self.obj267)
   self.obj267.in_connections_.append(self.obj264)
   self.obj264.graphObject_.pendingConnections.append((self.obj264.graphObject_.tag, self.obj267.graphObject_.tag, [281.17749951769292, 183.02456296004209, 314.0, 4.0, 317.0, 45.0], 2, True))
   self.obj265.out_connections_.append(self.obj266)
   self.obj266.in_connections_.append(self.obj265)
   self.obj265.graphObject_.pendingConnections.append((self.obj265.graphObject_.tag, self.obj266.graphObject_.tag, [152.0, 240.99999999999997, 172.00574898404338, 236.53909536014723], 0, True))
   self.obj266.out_connections_.append(self.obj264)
   self.obj264.in_connections_.append(self.obj266)
   self.obj266.graphObject_.pendingConnections.append((self.obj266.graphObject_.tag, self.obj264.graphObject_.tag, [272.01149796808693, 192.0781907202944, 192.00574898404341, 216.53909536014723], 0, True))
   self.obj267.out_connections_.append(self.obj264)
   self.obj264.in_connections_.append(self.obj267)
   self.obj267.graphObject_.pendingConnections.append((self.obj267.graphObject_.tag, self.obj264.graphObject_.tag, [288.92020890121103, 187.49479166666669, 380.0, 66.0, 317.0, 45.0], 2, True))
   self.obj268.out_connections_.append(self.obj265)
   self.obj265.in_connections_.append(self.obj268)
   self.obj268.graphObject_.pendingConnections.append((self.obj268.graphObject_.tag, self.obj265.graphObject_.tag, [122.0, 210.99999999999994, 126.5, 159.0], 0, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj270=Composite(self)
   self.obj270.preAction( cobj0.RHS.CREATE )
   self.obj270.isGraphObjectVisual = True

   if(hasattr(self.obj270, '_setHierarchicalLink')):
     self.obj270._setHierarchicalLink(False)

   # auto_adjust
   self.obj270.auto_adjust.setNone()
   self.obj270.auto_adjust.config = 0

   # name
   self.obj270.name.setValue('')
   self.obj270.name.setNone()

   # is_default
   self.obj270.is_default.setNone()
   self.obj270.is_default.config = 0

   # visible
   self.obj270.visible.setNone()
   self.obj270.visible.config = 0

   # exit_action
   self.obj270.exit_action.setValue('\n')
   self.obj270.exit_action.setHeight(15)

   # enter_action
   self.obj270.enter_action.setValue('\n')
   self.obj270.enter_action.setHeight(15)

   self.obj270.GGLabel.setValue(2)
   self.obj270.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(120.0,20.0,self.obj270)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj270.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj270)
   self.obj270.postAction( cobj0.RHS.CREATE )

   self.obj271=Basic(self)
   self.obj271.preAction( cobj0.RHS.CREATE )
   self.obj271.isGraphObjectVisual = True

   if(hasattr(self.obj271, '_setHierarchicalLink')):
     self.obj271._setHierarchicalLink(False)

   # is_default
   self.obj271.is_default.setValue((None, 1))
   self.obj271.is_default.config = 0

   # name
   self.obj271.name.setValue('moving')

   # exit_action
   self.obj271.exit_action.setValue('\n')
   self.obj271.exit_action.setHeight(15)

   # enter_action
   self.obj271.enter_action.setValue('\n')
   self.obj271.enter_action.setHeight(15)

   self.obj271.GGLabel.setValue(1)
   self.obj271.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(300.0,180.0,self.obj271)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj271.graphObject_ = new_obj
   self.obj2710= AttrCalc()
   self.obj2710.Copy=ATOM3Boolean()
   self.obj2710.Copy.setValue(('Copy from LHS', 1))
   self.obj2710.Copy.config = 0
   self.obj2710.Specify=ATOM3Constraint()
   self.obj2710.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj271.GGset2Any['is_default']= self.obj2710
   self.obj2711= AttrCalc()
   self.obj2711.Copy=ATOM3Boolean()
   self.obj2711.Copy.setValue(('Copy from LHS', 1))
   self.obj2711.Copy.config = 0
   self.obj2711.Specify=ATOM3Constraint()
   self.obj2711.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj271.GGset2Any['name']= self.obj2711
   self.obj2712= AttrCalc()
   self.obj2712.Copy=ATOM3Boolean()
   self.obj2712.Copy.setValue(('Copy from LHS', 1))
   self.obj2712.Copy.config = 0
   self.obj2712.Specify=ATOM3Constraint()
   self.obj2712.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj271.GGset2Any['exit_action']= self.obj2712
   self.obj2713= AttrCalc()
   self.obj2713.Copy=ATOM3Boolean()
   self.obj2713.Copy.setValue(('Copy from LHS', 1))
   self.obj2713.Copy.config = 0
   self.obj2713.Specify=ATOM3Constraint()
   self.obj2713.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj271.GGset2Any['enter_action']= self.obj2713

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj271)
   self.obj271.postAction( cobj0.RHS.CREATE )

   self.obj272=Basic(self)
   self.obj272.preAction( cobj0.RHS.CREATE )
   self.obj272.isGraphObjectVisual = True

   if(hasattr(self.obj272, '_setHierarchicalLink')):
     self.obj272._setHierarchicalLink(False)

   # is_default
   self.obj272.is_default.setValue((None, 1))
   self.obj272.is_default.config = 0

   # name
   self.obj272.name.setValue('blowUp')

   # exit_action
   self.obj272.exit_action.setValue('\n')
   self.obj272.exit_action.setHeight(15)

   # enter_action
   self.obj272.enter_action.setValue('\n')
   self.obj272.enter_action.setHeight(15)

   self.obj272.GGLabel.setValue(8)
   self.obj272.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(260.0,340.0,self.obj272)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj272.graphObject_ = new_obj
   self.obj2720= AttrCalc()
   self.obj2720.Copy=ATOM3Boolean()
   self.obj2720.Copy.setValue(('Copy from LHS', 0))
   self.obj2720.Copy.config = 0
   self.obj2720.Specify=ATOM3Constraint()
   self.obj2720.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj272.GGset2Any['is_default']= self.obj2720
   self.obj2721= AttrCalc()
   self.obj2721.Copy=ATOM3Boolean()
   self.obj2721.Copy.setValue(('Copy from LHS', 0))
   self.obj2721.Copy.config = 0
   self.obj2721.Specify=ATOM3Constraint()
   self.obj2721.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj272.GGset2Any['name']= self.obj2721
   self.obj2722= AttrCalc()
   self.obj2722.Copy=ATOM3Boolean()
   self.obj2722.Copy.setValue(('Copy from LHS', 0))
   self.obj2722.Copy.config = 0
   self.obj2722.Specify=ATOM3Constraint()
   self.obj2722.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj272.GGset2Any['exit_action']= self.obj2722
   self.obj2723= AttrCalc()
   self.obj2723.Copy=ATOM3Boolean()
   self.obj2723.Copy.setValue(('Copy from LHS', 0))
   self.obj2723.Copy.config = 0
   self.obj2723.Specify=ATOM3Constraint()
   self.obj2723.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj272.GGset2Any['enter_action']= self.obj2723

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj272)
   self.obj272.postAction( cobj0.RHS.CREATE )

   self.obj273=Orthogonal(self)
   self.obj273.preAction( cobj0.RHS.CREATE )
   self.obj273.isGraphObjectVisual = True

   if(hasattr(self.obj273, '_setHierarchicalLink')):
     self.obj273._setHierarchicalLink(False)

   # visible
   self.obj273.visible.setNone()
   self.obj273.visible.config = 0

   # name
   self.obj273.name.setValue('')
   self.obj273.name.setNone()

   # auto_adjust
   self.obj273.auto_adjust.setNone()
   self.obj273.auto_adjust.config = 0

   self.obj273.GGLabel.setValue(3)
   self.obj273.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(160.0,20.0,self.obj273)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj273.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj273)
   self.obj273.postAction( cobj0.RHS.CREATE )

   self.obj274=Orthogonal(self)
   self.obj274.preAction( cobj0.RHS.CREATE )
   self.obj274.isGraphObjectVisual = True

   if(hasattr(self.obj274, '_setHierarchicalLink')):
     self.obj274._setHierarchicalLink(False)

   # visible
   self.obj274.visible.setValue((None, 1))
   self.obj274.visible.config = 0

   # name
   self.obj274.name.setValue('up_comp')

   # auto_adjust
   self.obj274.auto_adjust.setValue((None, 1))
   self.obj274.auto_adjust.config = 0

   self.obj274.GGLabel.setValue(9)
   self.obj274.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(40.0,300.0,self.obj274)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj274.graphObject_ = new_obj
   self.obj2740= AttrCalc()
   self.obj2740.Copy=ATOM3Boolean()
   self.obj2740.Copy.setValue(('Copy from LHS', 0))
   self.obj2740.Copy.config = 0
   self.obj2740.Specify=ATOM3Constraint()
   self.obj2740.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj274.GGset2Any['visible']= self.obj2740
   self.obj2741= AttrCalc()
   self.obj2741.Copy=ATOM3Boolean()
   self.obj2741.Copy.setValue(('Copy from LHS', 0))
   self.obj2741.Copy.config = 0
   self.obj2741.Specify=ATOM3Constraint()
   self.obj2741.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj274.GGset2Any['name']= self.obj2741
   self.obj2742= AttrCalc()
   self.obj2742.Copy=ATOM3Boolean()
   self.obj2742.Copy.setValue(('Copy from LHS', 0))
   self.obj2742.Copy.config = 0
   self.obj2742.Specify=ATOM3Constraint()
   self.obj2742.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj274.GGset2Any['auto_adjust']= self.obj2742

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj274)
   self.obj274.postAction( cobj0.RHS.CREATE )

   self.obj275=contains(self)
   self.obj275.preAction( cobj0.RHS.CREATE )
   self.obj275.isGraphObjectVisual = True

   if(hasattr(self.obj275, '_setHierarchicalLink')):
     self.obj275._setHierarchicalLink(False)

   self.obj275.GGLabel.setValue(5)
   self.obj275.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(172.005748984,236.53909536,self.obj275)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj275.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj275)
   self.obj275.postAction( cobj0.RHS.CREATE )

   self.obj276=contains(self)
   self.obj276.preAction( cobj0.RHS.CREATE )
   self.obj276.isGraphObjectVisual = True

   if(hasattr(self.obj276, '_setHierarchicalLink')):
     self.obj276._setHierarchicalLink(False)

   self.obj276.GGLabel.setValue(11)
   self.obj276.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(192.671600007,324.309895833,self.obj276)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj276.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj276)
   self.obj276.postAction( cobj0.RHS.CREATE )

   self.obj277=Hyperedge(self)
   self.obj277.preAction( cobj0.RHS.CREATE )
   self.obj277.isGraphObjectVisual = True

   if(hasattr(self.obj277, '_setHierarchicalLink')):
     self.obj277._setHierarchicalLink(False)

   # name
   self.obj277.name.setValue('')
   self.obj277.name.setNone()

   # broadcast
   self.obj277.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj277.broadcast.setHeight(15)

   # guard
   self.obj277.guard.setValue('')
   self.obj277.guard.setNone()

   # trigger
   self.obj277.trigger.setValue('')
   self.obj277.trigger.setNone()

   # action
   self.obj277.action.setValue('\n')
   self.obj277.action.setHeight(15)

   # broadcast_to
   self.obj277.broadcast_to.setValue('')
   self.obj277.broadcast_to.setNone()

   # display
   self.obj277.display.setValue('')
   self.obj277.display.setNone()

   self.obj277.GGLabel.setValue(4)
   self.obj277.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(317.0,25.0,self.obj277)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj277.graphObject_ = new_obj
   self.obj2770= AttrCalc()
   self.obj2770.Copy=ATOM3Boolean()
   self.obj2770.Copy.setValue(('Copy from LHS', 1))
   self.obj2770.Copy.config = 0
   self.obj2770.Specify=ATOM3Constraint()
   self.obj2770.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['name']= self.obj2770
   self.obj2771= AttrCalc()
   self.obj2771.Copy=ATOM3Boolean()
   self.obj2771.Copy.setValue(('Copy from LHS', 1))
   self.obj2771.Copy.config = 0
   self.obj2771.Specify=ATOM3Constraint()
   self.obj2771.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['broadcast']= self.obj2771
   self.obj2772= AttrCalc()
   self.obj2772.Copy=ATOM3Boolean()
   self.obj2772.Copy.setValue(('Copy from LHS', 1))
   self.obj2772.Copy.config = 0
   self.obj2772.Specify=ATOM3Constraint()
   self.obj2772.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['guard']= self.obj2772
   self.obj2773= AttrCalc()
   self.obj2773.Copy=ATOM3Boolean()
   self.obj2773.Copy.setValue(('Copy from LHS', 1))
   self.obj2773.Copy.config = 0
   self.obj2773.Specify=ATOM3Constraint()
   self.obj2773.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['trigger']= self.obj2773
   self.obj2774= AttrCalc()
   self.obj2774.Copy=ATOM3Boolean()
   self.obj2774.Copy.setValue(('Copy from LHS', 1))
   self.obj2774.Copy.config = 0
   self.obj2774.Specify=ATOM3Constraint()
   self.obj2774.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['action']= self.obj2774
   self.obj2775= AttrCalc()
   self.obj2775.Copy=ATOM3Boolean()
   self.obj2775.Copy.setValue(('Copy from LHS', 1))
   self.obj2775.Copy.config = 0
   self.obj2775.Specify=ATOM3Constraint()
   self.obj2775.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['broadcast_to']= self.obj2775
   self.obj2776= AttrCalc()
   self.obj2776.Copy=ATOM3Boolean()
   self.obj2776.Copy.setValue(('Copy from LHS', 1))
   self.obj2776.Copy.config = 0
   self.obj2776.Specify=ATOM3Constraint()
   self.obj2776.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj277.GGset2Any['display']= self.obj2776

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj277)
   self.obj277.postAction( cobj0.RHS.CREATE )

   self.obj278=Hyperedge(self)
   self.obj278.preAction( cobj0.RHS.CREATE )
   self.obj278.isGraphObjectVisual = True

   if(hasattr(self.obj278, '_setHierarchicalLink')):
     self.obj278._setHierarchicalLink(False)

   # name
   self.obj278.name.setValue('')
   self.obj278.name.setNone()

   # broadcast
   self.obj278.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj278.broadcast.setHeight(15)

   # guard
   self.obj278.guard.setValue('1')

   # trigger
   self.obj278.trigger.setValue('AFTER(10)')

   # action
   self.obj278.action.setValue('for b in balls: ctl.blowUp(b)\n')
   self.obj278.action.setHeight(15)

   # broadcast_to
   self.obj278.broadcast_to.setValue('')
   self.obj278.broadcast_to.setNone()

   # display
   self.obj278.display.setValue('AFTER(5)')

   self.obj278.GGLabel.setValue(10)
   self.obj278.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(368.0,243.25,self.obj278)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj278.graphObject_ = new_obj
   self.obj2780= AttrCalc()
   self.obj2780.Copy=ATOM3Boolean()
   self.obj2780.Copy.setValue(('Copy from LHS', 0))
   self.obj2780.Copy.config = 0
   self.obj2780.Specify=ATOM3Constraint()
   self.obj2780.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['name']= self.obj2780
   self.obj2781= AttrCalc()
   self.obj2781.Copy=ATOM3Boolean()
   self.obj2781.Copy.setValue(('Copy from LHS', 0))
   self.obj2781.Copy.config = 0
   self.obj2781.Specify=ATOM3Constraint()
   self.obj2781.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['broadcast']= self.obj2781
   self.obj2782= AttrCalc()
   self.obj2782.Copy=ATOM3Boolean()
   self.obj2782.Copy.setValue(('Copy from LHS', 0))
   self.obj2782.Copy.config = 0
   self.obj2782.Specify=ATOM3Constraint()
   self.obj2782.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['guard']= self.obj2782
   self.obj2783= AttrCalc()
   self.obj2783.Copy=ATOM3Boolean()
   self.obj2783.Copy.setValue(('Copy from LHS', 0))
   self.obj2783.Copy.config = 0
   self.obj2783.Specify=ATOM3Constraint()
   self.obj2783.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['trigger']= self.obj2783
   self.obj2784= AttrCalc()
   self.obj2784.Copy=ATOM3Boolean()
   self.obj2784.Copy.setValue(('Copy from LHS', 0))
   self.obj2784.Copy.config = 0
   self.obj2784.Specify=ATOM3Constraint()
   self.obj2784.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['action']= self.obj2784
   self.obj2785= AttrCalc()
   self.obj2785.Copy=ATOM3Boolean()
   self.obj2785.Copy.setValue(('Copy from LHS', 0))
   self.obj2785.Copy.config = 0
   self.obj2785.Specify=ATOM3Constraint()
   self.obj2785.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['broadcast_to']= self.obj2785
   self.obj2786= AttrCalc()
   self.obj2786.Copy=ATOM3Boolean()
   self.obj2786.Copy.setValue(('Copy from LHS', 0))
   self.obj2786.Copy.config = 0
   self.obj2786.Specify=ATOM3Constraint()
   self.obj2786.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj278.GGset2Any['display']= self.obj2786

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj278)
   self.obj278.postAction( cobj0.RHS.CREATE )

   self.obj279=orthogonality(self)
   self.obj279.preAction( cobj0.RHS.CREATE )
   self.obj279.isGraphObjectVisual = True

   if(hasattr(self.obj279, '_setHierarchicalLink')):
     self.obj279._setHierarchicalLink(False)

   self.obj279.GGLabel.setValue(6)
   self.obj279.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(126.5,159.0,self.obj279)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj279.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj279)
   self.obj279.postAction( cobj0.RHS.CREATE )

   self.obj280=orthogonality(self)
   self.obj280.preAction( cobj0.RHS.CREATE )
   self.obj280.isGraphObjectVisual = True

   if(hasattr(self.obj280, '_setHierarchicalLink')):
     self.obj280._setHierarchicalLink(False)

   self.obj280.GGLabel.setValue(12)
   self.obj280.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(90.5,199.0,self.obj280)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj280.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj280)
   self.obj280.postAction( cobj0.RHS.CREATE )

   self.obj270.out_connections_.append(self.obj279)
   self.obj279.in_connections_.append(self.obj270)
   self.obj270.graphObject_.pendingConnections.append((self.obj270.graphObject_.tag, self.obj279.graphObject_.tag, [98.999999999999986, 87.0, 126.5, 159.0], 2, 0))
   self.obj270.out_connections_.append(self.obj280)
   self.obj280.in_connections_.append(self.obj270)
   self.obj270.graphObject_.pendingConnections.append((self.obj270.graphObject_.tag, self.obj280.graphObject_.tag, [98.999999999999986, 87.0, 90.5, 198.99999999999997], 0, True))
   self.obj271.out_connections_.append(self.obj277)
   self.obj277.in_connections_.append(self.obj271)
   self.obj271.graphObject_.pendingConnections.append((self.obj271.graphObject_.tag, self.obj277.graphObject_.tag, [225.38451467458259, 183.89353312302839, 316.99999999999989, 25.0], 2, 0))
   self.obj272.out_connections_.append(self.obj278)
   self.obj278.in_connections_.append(self.obj272)
   self.obj272.graphObject_.pendingConnections.append((self.obj272.graphObject_.tag, self.obj278.graphObject_.tag, [265.33351264266952, 344.04309608307045, 361.0, 207.0, 358.0, 185.0, 388.00000000000006, 243.25000000000003], 4, True))
   self.obj273.out_connections_.append(self.obj275)
   self.obj275.in_connections_.append(self.obj273)
   self.obj273.graphObject_.pendingConnections.append((self.obj273.graphObject_.tag, self.obj275.graphObject_.tag, [362.0, 63.999999999999972, 172.00574898404338, 236.53909536014717], 2, 0))
   self.obj274.out_connections_.append(self.obj276)
   self.obj276.in_connections_.append(self.obj274)
   self.obj274.graphObject_.pendingConnections.append((self.obj274.graphObject_.tag, self.obj276.graphObject_.tag, [132.0, 340.99999999999994, 192.67160000715685, 324.30989583333326], 0, True))
   self.obj275.out_connections_.append(self.obj271)
   self.obj271.in_connections_.append(self.obj275)
   self.obj275.graphObject_.pendingConnections.append((self.obj275.graphObject_.tag, self.obj271.graphObject_.tag, [213.03033867293962, 196.28568611987379, 172.00574898404338, 236.53909536014717], 2, 0))
   self.obj276.out_connections_.append(self.obj272)
   self.obj272.in_connections_.append(self.obj276)
   self.obj276.graphObject_.pendingConnections.append((self.obj276.graphObject_.tag, self.obj272.graphObject_.tag, [253.34320001431365, 347.61979166666663, 192.67160000715685, 324.30989583333326], 0, True))
   self.obj277.out_connections_.append(self.obj271)
   self.obj271.in_connections_.append(self.obj277)
   self.obj277.graphObject_.pendingConnections.append((self.obj277.graphObject_.tag, self.obj271.graphObject_.tag, [228.97121093312415, 187.34522870662454, 317.0, 45.0], 2, 0))
   self.obj278.out_connections_.append(self.obj272)
   self.obj272.in_connections_.append(self.obj278)
   self.obj278.graphObject_.pendingConnections.append((self.obj278.graphObject_.tag, self.obj272.graphObject_.tag, [270.00191094743781, 351.96502037329122, 395.0, 279.5, 386.0, 330.0, 388.00000000000006, 243.25000000000003], 4, True))
   self.obj279.out_connections_.append(self.obj273)
   self.obj273.in_connections_.append(self.obj279)
   self.obj279.graphObject_.pendingConnections.append((self.obj279.graphObject_.tag, self.obj273.graphObject_.tag, [332.0, 36.0, 126.5, 159.0], 2, 0))
   self.obj280.out_connections_.append(self.obj274)
   self.obj274.in_connections_.append(self.obj280)
   self.obj280.graphObject_.pendingConnections.append((self.obj280.graphObject_.tag, self.obj274.graphObject_.tag, [102.0, 310.99999999999994, 90.5, 198.99999999999997], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName12 is not guaranteed to be unique (so change it, be safe!)\n\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.up == False:\n    print \'********ball.up == False\'\n    return True\nelse:\n    print \'********ball.up == True\'\n    return False\n#return not hasattr(node, "_uniqueName12")\n#return 1\n\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName12 is not guaranteed to be unique (so change it, be safe!)\n\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.up = True\n#node._uniqueName12 = True\n#pass\n\n'))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('blowRightComponent', 20)
   cobj0.Order=ATOM3Integer(5)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj285=Composite(self)
   self.obj285.preAction( cobj0.LHS.CREATE )
   self.obj285.isGraphObjectVisual = True

   if(hasattr(self.obj285, '_setHierarchicalLink')):
     self.obj285._setHierarchicalLink(False)

   # auto_adjust
   self.obj285.auto_adjust.setNone()
   self.obj285.auto_adjust.config = 0

   # name
   self.obj285.name.setValue('')
   self.obj285.name.setNone()

   # is_default
   self.obj285.is_default.setNone()
   self.obj285.is_default.config = 0

   # visible
   self.obj285.visible.setNone()
   self.obj285.visible.config = 0

   # exit_action
   self.obj285.exit_action.setValue('\n')
   self.obj285.exit_action.setHeight(15)
   self.obj285.exit_action.setNone()

   # enter_action
   self.obj285.enter_action.setValue('\n')
   self.obj285.enter_action.setHeight(15)
   self.obj285.enter_action.setNone()

   self.obj285.GGLabel.setValue(3)
   self.obj285.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,60.0,self.obj285)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj285.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj285)
   self.obj285.postAction( cobj0.LHS.CREATE )

   self.obj286=Basic(self)
   self.obj286.preAction( cobj0.LHS.CREATE )
   self.obj286.isGraphObjectVisual = True

   if(hasattr(self.obj286, '_setHierarchicalLink')):
     self.obj286._setHierarchicalLink(False)

   # is_default
   self.obj286.is_default.setNone()
   self.obj286.is_default.config = 0

   # name
   self.obj286.name.setValue('moving')

   # exit_action
   self.obj286.exit_action.setValue('\n')
   self.obj286.exit_action.setHeight(15)
   self.obj286.exit_action.setNone()

   # enter_action
   self.obj286.enter_action.setValue('\n')
   self.obj286.enter_action.setHeight(15)
   self.obj286.enter_action.setNone()

   self.obj286.GGLabel.setValue(1)
   self.obj286.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(300.0,240.0,self.obj286)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj286.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj286)
   self.obj286.postAction( cobj0.LHS.CREATE )

   self.obj287=Orthogonal(self)
   self.obj287.preAction( cobj0.LHS.CREATE )
   self.obj287.isGraphObjectVisual = True

   if(hasattr(self.obj287, '_setHierarchicalLink')):
     self.obj287._setHierarchicalLink(False)

   # visible
   self.obj287.visible.setNone()
   self.obj287.visible.config = 0

   # name
   self.obj287.name.setValue('')
   self.obj287.name.setNone()

   # auto_adjust
   self.obj287.auto_adjust.setNone()
   self.obj287.auto_adjust.config = 0

   self.obj287.GGLabel.setValue(2)
   self.obj287.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,200.0,self.obj287)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj287.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj287)
   self.obj287.postAction( cobj0.LHS.CREATE )

   self.obj288=contains(self)
   self.obj288.preAction( cobj0.LHS.CREATE )
   self.obj288.isGraphObjectVisual = True

   if(hasattr(self.obj288, '_setHierarchicalLink')):
     self.obj288._setHierarchicalLink(False)

   self.obj288.GGLabel.setValue(5)
   self.obj288.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(192.671600007,254.309895833,self.obj288)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj288.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj288)
   self.obj288.postAction( cobj0.LHS.CREATE )

   self.obj289=Hyperedge(self)
   self.obj289.preAction( cobj0.LHS.CREATE )
   self.obj289.isGraphObjectVisual = True

   if(hasattr(self.obj289, '_setHierarchicalLink')):
     self.obj289._setHierarchicalLink(False)

   # name
   self.obj289.name.setValue('')
   self.obj289.name.setNone()

   # broadcast
   self.obj289.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj289.broadcast.setHeight(15)
   self.obj289.broadcast.setNone()

   # guard
   self.obj289.guard.setValue('')
   self.obj289.guard.setNone()

   # trigger
   self.obj289.trigger.setValue('')
   self.obj289.trigger.setNone()

   # action
   self.obj289.action.setValue('\n')
   self.obj289.action.setHeight(15)
   self.obj289.action.setNone()

   # broadcast_to
   self.obj289.broadcast_to.setValue('')
   self.obj289.broadcast_to.setNone()

   # display
   self.obj289.display.setValue('')
   self.obj289.display.setNone()

   self.obj289.GGLabel.setValue(4)
   self.obj289.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(375.5,80.5,self.obj289)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj289.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj289)
   self.obj289.postAction( cobj0.LHS.CREATE )

   self.obj290=orthogonality(self)
   self.obj290.preAction( cobj0.LHS.CREATE )
   self.obj290.isGraphObjectVisual = True

   if(hasattr(self.obj290, '_setHierarchicalLink')):
     self.obj290._setHierarchicalLink(False)

   self.obj290.GGLabel.setValue(6)
   self.obj290.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(177.25,186.0,self.obj290)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj290.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj290)
   self.obj290.postAction( cobj0.LHS.CREATE )

   self.obj285.out_connections_.append(self.obj290)
   self.obj290.in_connections_.append(self.obj285)
   self.obj285.graphObject_.pendingConnections.append((self.obj285.graphObject_.tag, self.obj290.graphObject_.tag, [111.0, 127.0, 154.5, 170.0, 177.24999999999997, 186.0], 2, True))
   self.obj286.out_connections_.append(self.obj289)
   self.obj289.in_connections_.append(self.obj286)
   self.obj286.graphObject_.pendingConnections.append((self.obj286.graphObject_.tag, self.obj289.graphObject_.tag, [321.17749951769304, 243.02456296004203, 349.0, 47.0, 375.5, 80.5], 2, True))
   self.obj287.out_connections_.append(self.obj288)
   self.obj288.in_connections_.append(self.obj287)
   self.obj287.graphObject_.pendingConnections.append((self.obj287.graphObject_.tag, self.obj288.graphObject_.tag, [152.0, 240.99999999999994, 192.67160000715685, 254.30989583333329], 0, True))
   self.obj288.out_connections_.append(self.obj286)
   self.obj286.in_connections_.append(self.obj288)
   self.obj288.graphObject_.pendingConnections.append((self.obj288.graphObject_.tag, self.obj286.graphObject_.tag, [313.34320001431377, 247.6197916666666, 272.67160000715688, 234.30989583333329], 0, True))
   self.obj289.out_connections_.append(self.obj286)
   self.obj286.in_connections_.append(self.obj289)
   self.obj289.graphObject_.pendingConnections.append((self.obj289.graphObject_.tag, self.obj286.graphObject_.tag, [325.33351264266946, 244.04309608307045, 402.00000000000006, 113.99999999999999, 375.5, 80.5], 2, True))
   self.obj290.out_connections_.append(self.obj287)
   self.obj287.in_connections_.append(self.obj290)
   self.obj290.graphObject_.pendingConnections.append((self.obj290.graphObject_.tag, self.obj287.graphObject_.tag, [121.99999999999993, 210.99999999999994, 199.99999999999994, 201.99999999999997, 177.24999999999997, 186.0], 2, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj292=Composite(self)
   self.obj292.preAction( cobj0.RHS.CREATE )
   self.obj292.isGraphObjectVisual = True

   if(hasattr(self.obj292, '_setHierarchicalLink')):
     self.obj292._setHierarchicalLink(False)

   # auto_adjust
   self.obj292.auto_adjust.setNone()
   self.obj292.auto_adjust.config = 0

   # name
   self.obj292.name.setValue('')
   self.obj292.name.setNone()

   # is_default
   self.obj292.is_default.setNone()
   self.obj292.is_default.config = 0

   # visible
   self.obj292.visible.setNone()
   self.obj292.visible.config = 0

   # exit_action
   self.obj292.exit_action.setValue('\n')
   self.obj292.exit_action.setHeight(15)

   # enter_action
   self.obj292.enter_action.setValue('\n')
   self.obj292.enter_action.setHeight(15)

   self.obj292.GGLabel.setValue(3)
   self.obj292.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,60.0,self.obj292)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj292.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj292)
   self.obj292.postAction( cobj0.RHS.CREATE )

   self.obj293=Basic(self)
   self.obj293.preAction( cobj0.RHS.CREATE )
   self.obj293.isGraphObjectVisual = True

   if(hasattr(self.obj293, '_setHierarchicalLink')):
     self.obj293._setHierarchicalLink(False)

   # is_default
   self.obj293.is_default.setNone()
   self.obj293.is_default.config = 0

   # name
   self.obj293.name.setValue('moving')

   # exit_action
   self.obj293.exit_action.setValue('\n')
   self.obj293.exit_action.setHeight(15)

   # enter_action
   self.obj293.enter_action.setValue('\n')
   self.obj293.enter_action.setHeight(15)

   self.obj293.GGLabel.setValue(1)
   self.obj293.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(300.0,180.0,self.obj293)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj293.graphObject_ = new_obj
   self.obj2930= AttrCalc()
   self.obj2930.Copy=ATOM3Boolean()
   self.obj2930.Copy.setValue(('Copy from LHS', 1))
   self.obj2930.Copy.config = 0
   self.obj2930.Specify=ATOM3Constraint()
   self.obj2930.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj293.GGset2Any['is_default']= self.obj2930
   self.obj2931= AttrCalc()
   self.obj2931.Copy=ATOM3Boolean()
   self.obj2931.Copy.setValue(('Copy from LHS', 1))
   self.obj2931.Copy.config = 0
   self.obj2931.Specify=ATOM3Constraint()
   self.obj2931.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj293.GGset2Any['name']= self.obj2931
   self.obj2932= AttrCalc()
   self.obj2932.Copy=ATOM3Boolean()
   self.obj2932.Copy.setValue(('Copy from LHS', 1))
   self.obj2932.Copy.config = 0
   self.obj2932.Specify=ATOM3Constraint()
   self.obj2932.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj293.GGset2Any['exit_action']= self.obj2932
   self.obj2933= AttrCalc()
   self.obj2933.Copy=ATOM3Boolean()
   self.obj2933.Copy.setValue(('Copy from LHS', 1))
   self.obj2933.Copy.config = 0
   self.obj2933.Specify=ATOM3Constraint()
   self.obj2933.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj293.GGset2Any['enter_action']= self.obj2933

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj293)
   self.obj293.postAction( cobj0.RHS.CREATE )

   self.obj294=Basic(self)
   self.obj294.preAction( cobj0.RHS.CREATE )
   self.obj294.isGraphObjectVisual = True

   if(hasattr(self.obj294, '_setHierarchicalLink')):
     self.obj294._setHierarchicalLink(False)

   # is_default
   self.obj294.is_default.setValue((None, 1))
   self.obj294.is_default.config = 0

   # name
   self.obj294.name.setValue('blowRight')

   # exit_action
   self.obj294.exit_action.setValue('\n')
   self.obj294.exit_action.setHeight(15)

   # enter_action
   self.obj294.enter_action.setValue('\n')
   self.obj294.enter_action.setHeight(15)

   self.obj294.GGLabel.setValue(8)
   self.obj294.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(180.0,300.0,self.obj294)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj294.graphObject_ = new_obj
   self.obj2940= AttrCalc()
   self.obj2940.Copy=ATOM3Boolean()
   self.obj2940.Copy.setValue(('Copy from LHS', 0))
   self.obj2940.Copy.config = 0
   self.obj2940.Specify=ATOM3Constraint()
   self.obj2940.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj294.GGset2Any['is_default']= self.obj2940
   self.obj2941= AttrCalc()
   self.obj2941.Copy=ATOM3Boolean()
   self.obj2941.Copy.setValue(('Copy from LHS', 0))
   self.obj2941.Copy.config = 0
   self.obj2941.Specify=ATOM3Constraint()
   self.obj2941.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj294.GGset2Any['name']= self.obj2941
   self.obj2942= AttrCalc()
   self.obj2942.Copy=ATOM3Boolean()
   self.obj2942.Copy.setValue(('Copy from LHS', 0))
   self.obj2942.Copy.config = 0
   self.obj2942.Specify=ATOM3Constraint()
   self.obj2942.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj294.GGset2Any['exit_action']= self.obj2942
   self.obj2943= AttrCalc()
   self.obj2943.Copy=ATOM3Boolean()
   self.obj2943.Copy.setValue(('Copy from LHS', 0))
   self.obj2943.Copy.config = 0
   self.obj2943.Specify=ATOM3Constraint()
   self.obj2943.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj294.GGset2Any['enter_action']= self.obj2943

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj294)
   self.obj294.postAction( cobj0.RHS.CREATE )

   self.obj295=Orthogonal(self)
   self.obj295.preAction( cobj0.RHS.CREATE )
   self.obj295.isGraphObjectVisual = True

   if(hasattr(self.obj295, '_setHierarchicalLink')):
     self.obj295._setHierarchicalLink(False)

   # visible
   self.obj295.visible.setNone()
   self.obj295.visible.config = 0

   # name
   self.obj295.name.setValue('')
   self.obj295.name.setNone()

   # auto_adjust
   self.obj295.auto_adjust.setNone()
   self.obj295.auto_adjust.config = 0

   self.obj295.GGLabel.setValue(2)
   self.obj295.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,80.0,self.obj295)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj295.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj295)
   self.obj295.postAction( cobj0.RHS.CREATE )

   self.obj296=Orthogonal(self)
   self.obj296.preAction( cobj0.RHS.CREATE )
   self.obj296.isGraphObjectVisual = True

   if(hasattr(self.obj296, '_setHierarchicalLink')):
     self.obj296._setHierarchicalLink(False)

   # visible
   self.obj296.visible.setValue((None, 1))
   self.obj296.visible.config = 0

   # name
   self.obj296.name.setValue('right_comp')

   # auto_adjust
   self.obj296.auto_adjust.setValue((None, 1))
   self.obj296.auto_adjust.config = 0

   self.obj296.GGLabel.setValue(9)
   self.obj296.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(60.0,220.0,self.obj296)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj296.graphObject_ = new_obj
   self.obj2960= AttrCalc()
   self.obj2960.Copy=ATOM3Boolean()
   self.obj2960.Copy.setValue(('Copy from LHS', 0))
   self.obj2960.Copy.config = 0
   self.obj2960.Specify=ATOM3Constraint()
   self.obj2960.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj296.GGset2Any['visible']= self.obj2960
   self.obj2961= AttrCalc()
   self.obj2961.Copy=ATOM3Boolean()
   self.obj2961.Copy.setValue(('Copy from LHS', 0))
   self.obj2961.Copy.config = 0
   self.obj2961.Specify=ATOM3Constraint()
   self.obj2961.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj296.GGset2Any['name']= self.obj2961
   self.obj2962= AttrCalc()
   self.obj2962.Copy=ATOM3Boolean()
   self.obj2962.Copy.setValue(('Copy from LHS', 0))
   self.obj2962.Copy.config = 0
   self.obj2962.Specify=ATOM3Constraint()
   self.obj2962.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj296.GGset2Any['auto_adjust']= self.obj2962

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj296)
   self.obj296.postAction( cobj0.RHS.CREATE )

   self.obj297=contains(self)
   self.obj297.preAction( cobj0.RHS.CREATE )
   self.obj297.isGraphObjectVisual = True

   if(hasattr(self.obj297, '_setHierarchicalLink')):
     self.obj297._setHierarchicalLink(False)

   self.obj297.GGLabel.setValue(5)
   self.obj297.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(192.671600007,254.309895833,self.obj297)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj297.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj297)
   self.obj297.postAction( cobj0.RHS.CREATE )

   self.obj298=contains(self)
   self.obj298.preAction( cobj0.RHS.CREATE )
   self.obj298.isGraphObjectVisual = True

   if(hasattr(self.obj298, '_setHierarchicalLink')):
     self.obj298._setHierarchicalLink(False)

   self.obj298.GGLabel.setValue(11)
   self.obj298.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(162.671600007,284.309895833,self.obj298)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj298.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj298)
   self.obj298.postAction( cobj0.RHS.CREATE )

   self.obj299=Hyperedge(self)
   self.obj299.preAction( cobj0.RHS.CREATE )
   self.obj299.isGraphObjectVisual = True

   if(hasattr(self.obj299, '_setHierarchicalLink')):
     self.obj299._setHierarchicalLink(False)

   # name
   self.obj299.name.setValue('')
   self.obj299.name.setNone()

   # broadcast
   self.obj299.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj299.broadcast.setHeight(15)

   # guard
   self.obj299.guard.setValue('')
   self.obj299.guard.setNone()

   # trigger
   self.obj299.trigger.setValue('')
   self.obj299.trigger.setNone()

   # action
   self.obj299.action.setValue('\n')
   self.obj299.action.setHeight(15)

   # broadcast_to
   self.obj299.broadcast_to.setValue('')
   self.obj299.broadcast_to.setNone()

   # display
   self.obj299.display.setValue('')
   self.obj299.display.setNone()

   self.obj299.GGLabel.setValue(4)
   self.obj299.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(351.5,127.5,self.obj299)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj299.graphObject_ = new_obj
   self.obj2990= AttrCalc()
   self.obj2990.Copy=ATOM3Boolean()
   self.obj2990.Copy.setValue(('Copy from LHS', 1))
   self.obj2990.Copy.config = 0
   self.obj2990.Specify=ATOM3Constraint()
   self.obj2990.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['name']= self.obj2990
   self.obj2991= AttrCalc()
   self.obj2991.Copy=ATOM3Boolean()
   self.obj2991.Copy.setValue(('Copy from LHS', 1))
   self.obj2991.Copy.config = 0
   self.obj2991.Specify=ATOM3Constraint()
   self.obj2991.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['broadcast']= self.obj2991
   self.obj2992= AttrCalc()
   self.obj2992.Copy=ATOM3Boolean()
   self.obj2992.Copy.setValue(('Copy from LHS', 1))
   self.obj2992.Copy.config = 0
   self.obj2992.Specify=ATOM3Constraint()
   self.obj2992.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['guard']= self.obj2992
   self.obj2993= AttrCalc()
   self.obj2993.Copy=ATOM3Boolean()
   self.obj2993.Copy.setValue(('Copy from LHS', 1))
   self.obj2993.Copy.config = 0
   self.obj2993.Specify=ATOM3Constraint()
   self.obj2993.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['trigger']= self.obj2993
   self.obj2994= AttrCalc()
   self.obj2994.Copy=ATOM3Boolean()
   self.obj2994.Copy.setValue(('Copy from LHS', 1))
   self.obj2994.Copy.config = 0
   self.obj2994.Specify=ATOM3Constraint()
   self.obj2994.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['action']= self.obj2994
   self.obj2995= AttrCalc()
   self.obj2995.Copy=ATOM3Boolean()
   self.obj2995.Copy.setValue(('Copy from LHS', 1))
   self.obj2995.Copy.config = 0
   self.obj2995.Specify=ATOM3Constraint()
   self.obj2995.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['broadcast_to']= self.obj2995
   self.obj2996= AttrCalc()
   self.obj2996.Copy=ATOM3Boolean()
   self.obj2996.Copy.setValue(('Copy from LHS', 1))
   self.obj2996.Copy.config = 0
   self.obj2996.Specify=ATOM3Constraint()
   self.obj2996.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj299.GGset2Any['display']= self.obj2996

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj299)
   self.obj299.postAction( cobj0.RHS.CREATE )

   self.obj300=Hyperedge(self)
   self.obj300.preAction( cobj0.RHS.CREATE )
   self.obj300.isGraphObjectVisual = True

   if(hasattr(self.obj300, '_setHierarchicalLink')):
     self.obj300._setHierarchicalLink(False)

   # name
   self.obj300.name.setValue('')
   self.obj300.name.setNone()

   # broadcast
   self.obj300.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj300.broadcast.setHeight(15)

   # guard
   self.obj300.guard.setValue('1')

   # trigger
   self.obj300.trigger.setValue('AFTER(15)')

   # action
   self.obj300.action.setValue('for b in balls: ctl.blowRight(b)\n')
   self.obj300.action.setHeight(15)

   # broadcast_to
   self.obj300.broadcast_to.setValue('')
   self.obj300.broadcast_to.setNone()

   # display
   self.obj300.display.setValue('AFTER(15)')

   self.obj300.GGLabel.setValue(10)
   self.obj300.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(380.5,308.5,self.obj300)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj300.graphObject_ = new_obj
   self.obj3000= AttrCalc()
   self.obj3000.Copy=ATOM3Boolean()
   self.obj3000.Copy.setValue(('Copy from LHS', 0))
   self.obj3000.Copy.config = 0
   self.obj3000.Specify=ATOM3Constraint()
   self.obj3000.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['name']= self.obj3000
   self.obj3001= AttrCalc()
   self.obj3001.Copy=ATOM3Boolean()
   self.obj3001.Copy.setValue(('Copy from LHS', 0))
   self.obj3001.Copy.config = 0
   self.obj3001.Specify=ATOM3Constraint()
   self.obj3001.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['broadcast']= self.obj3001
   self.obj3002= AttrCalc()
   self.obj3002.Copy=ATOM3Boolean()
   self.obj3002.Copy.setValue(('Copy from LHS', 0))
   self.obj3002.Copy.config = 0
   self.obj3002.Specify=ATOM3Constraint()
   self.obj3002.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['guard']= self.obj3002
   self.obj3003= AttrCalc()
   self.obj3003.Copy=ATOM3Boolean()
   self.obj3003.Copy.setValue(('Copy from LHS', 0))
   self.obj3003.Copy.config = 0
   self.obj3003.Specify=ATOM3Constraint()
   self.obj3003.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['trigger']= self.obj3003
   self.obj3004= AttrCalc()
   self.obj3004.Copy=ATOM3Boolean()
   self.obj3004.Copy.setValue(('Copy from LHS', 0))
   self.obj3004.Copy.config = 0
   self.obj3004.Specify=ATOM3Constraint()
   self.obj3004.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['action']= self.obj3004
   self.obj3005= AttrCalc()
   self.obj3005.Copy=ATOM3Boolean()
   self.obj3005.Copy.setValue(('Copy from LHS', 0))
   self.obj3005.Copy.config = 0
   self.obj3005.Specify=ATOM3Constraint()
   self.obj3005.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['broadcast_to']= self.obj3005
   self.obj3006= AttrCalc()
   self.obj3006.Copy=ATOM3Boolean()
   self.obj3006.Copy.setValue(('Copy from LHS', 0))
   self.obj3006.Copy.config = 0
   self.obj3006.Specify=ATOM3Constraint()
   self.obj3006.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj300.GGset2Any['display']= self.obj3006

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj300)
   self.obj300.postAction( cobj0.RHS.CREATE )

   self.obj301=orthogonality(self)
   self.obj301.preAction( cobj0.RHS.CREATE )
   self.obj301.isGraphObjectVisual = True

   if(hasattr(self.obj301, '_setHierarchicalLink')):
     self.obj301._setHierarchicalLink(False)

   self.obj301.GGLabel.setValue(6)
   self.obj301.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(177.25,186.0,self.obj301)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj301.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj301)
   self.obj301.postAction( cobj0.RHS.CREATE )

   self.obj302=orthogonality(self)
   self.obj302.preAction( cobj0.RHS.CREATE )
   self.obj302.isGraphObjectVisual = True

   if(hasattr(self.obj302, '_setHierarchicalLink')):
     self.obj302._setHierarchicalLink(False)

   self.obj302.GGLabel.setValue(12)
   self.obj302.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(100.5,179.0,self.obj302)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj302.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj302)
   self.obj302.postAction( cobj0.RHS.CREATE )

   self.obj292.out_connections_.append(self.obj301)
   self.obj301.in_connections_.append(self.obj292)
   self.obj292.graphObject_.pendingConnections.append((self.obj292.graphObject_.tag, self.obj301.graphObject_.tag, [98.999999999999986, 127.0, 177.24999999999997, 186.0], 2, 0))
   self.obj292.out_connections_.append(self.obj302)
   self.obj302.in_connections_.append(self.obj292)
   self.obj292.graphObject_.pendingConnections.append((self.obj292.graphObject_.tag, self.obj302.graphObject_.tag, [98.999999999999986, 127.0, 100.50000000000001, 179.0], 0, True))
   self.obj293.out_connections_.append(self.obj299)
   self.obj299.in_connections_.append(self.obj293)
   self.obj293.graphObject_.pendingConnections.append((self.obj293.graphObject_.tag, self.obj299.graphObject_.tag, [325.38451467458265, 183.89353312302842, 351.5, 127.5], 2, 0))
   self.obj294.out_connections_.append(self.obj300)
   self.obj300.in_connections_.append(self.obj294)
   self.obj294.graphObject_.pendingConnections.append((self.obj294.graphObject_.tag, self.obj300.graphObject_.tag, [210.00191094743789, 311.96502037329128, 390.0, 290.0, 380.5, 308.5], 2, True))
   self.obj295.out_connections_.append(self.obj297)
   self.obj297.in_connections_.append(self.obj295)
   self.obj295.graphObject_.pendingConnections.append((self.obj295.graphObject_.tag, self.obj297.graphObject_.tag, [241.99999999999994, 124.00000000000001, 192.67160000715685, 254.30989583333329], 2, 0))
   self.obj296.out_connections_.append(self.obj298)
   self.obj298.in_connections_.append(self.obj296)
   self.obj296.graphObject_.pendingConnections.append((self.obj296.graphObject_.tag, self.obj298.graphObject_.tag, [132.0, 261.0, 162.67160000715683, 284.30989583333331], 0, True))
   self.obj297.out_connections_.append(self.obj293)
   self.obj293.in_connections_.append(self.obj297)
   self.obj297.graphObject_.pendingConnections.append((self.obj297.graphObject_.tag, self.obj293.graphObject_.tag, [312.0625, 191.9286277602524, 192.67160000715685, 254.30989583333329], 2, 0))
   self.obj298.out_connections_.append(self.obj294)
   self.obj294.in_connections_.append(self.obj298)
   self.obj298.graphObject_.pendingConnections.append((self.obj298.graphObject_.tag, self.obj294.graphObject_.tag, [193.34320001431362, 307.61979166666669, 162.67160000715683, 284.30989583333331], 0, True))
   self.obj299.out_connections_.append(self.obj293)
   self.obj293.in_connections_.append(self.obj299)
   self.obj299.graphObject_.pendingConnections.append((self.obj299.graphObject_.tag, self.obj293.graphObject_.tag, [325.38451467458265, 183.89353312302842, 375.5, 80.5], 2, 0))
   self.obj300.out_connections_.append(self.obj294)
   self.obj294.in_connections_.append(self.obj300)
   self.obj300.graphObject_.pendingConnections.append((self.obj300.graphObject_.tag, self.obj294.graphObject_.tag, [210.00191094743789, 311.96502037329128, 371.0, 327.0, 380.5, 308.5], 2, True))
   self.obj301.out_connections_.append(self.obj295)
   self.obj295.in_connections_.append(self.obj301)
   self.obj301.graphObject_.pendingConnections.append((self.obj301.graphObject_.tag, self.obj295.graphObject_.tag, [241.99999999999994, 124.00000000000001, 177.24999999999997, 186.0], 2, 0))
   self.obj302.out_connections_.append(self.obj296)
   self.obj296.in_connections_.append(self.obj302)
   self.obj302.graphObject_.pendingConnections.append((self.obj302.graphObject_.tag, self.obj296.graphObject_.tag, [102.0, 231.00000000000003, 100.50000000000001, 179.0], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName240 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#return not hasattr(node, "_uniqueName240")\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.right == False:\n    return True\nelse:\n    return False\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName240 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#node._uniqueName240 = True\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.right = True\n'))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('blowLeftComponent', 20)
   cobj0.Order=ATOM3Integer(6)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj307=Composite(self)
   self.obj307.preAction( cobj0.LHS.CREATE )
   self.obj307.isGraphObjectVisual = True

   if(hasattr(self.obj307, '_setHierarchicalLink')):
     self.obj307._setHierarchicalLink(False)

   # auto_adjust
   self.obj307.auto_adjust.setNone()
   self.obj307.auto_adjust.config = 0

   # name
   self.obj307.name.setValue('')
   self.obj307.name.setNone()

   # is_default
   self.obj307.is_default.setNone()
   self.obj307.is_default.config = 0

   # visible
   self.obj307.visible.setNone()
   self.obj307.visible.config = 0

   # exit_action
   self.obj307.exit_action.setValue('\n')
   self.obj307.exit_action.setHeight(15)
   self.obj307.exit_action.setNone()

   # enter_action
   self.obj307.enter_action.setValue('\n')
   self.obj307.enter_action.setHeight(15)
   self.obj307.enter_action.setNone()

   self.obj307.GGLabel.setValue(3)
   self.obj307.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(40.0,40.0,self.obj307)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj307.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj307)
   self.obj307.postAction( cobj0.LHS.CREATE )

   self.obj308=Basic(self)
   self.obj308.preAction( cobj0.LHS.CREATE )
   self.obj308.isGraphObjectVisual = True

   if(hasattr(self.obj308, '_setHierarchicalLink')):
     self.obj308._setHierarchicalLink(False)

   # is_default
   self.obj308.is_default.setNone()
   self.obj308.is_default.config = 0

   # name
   self.obj308.name.setValue('moving')

   # exit_action
   self.obj308.exit_action.setValue('\n')
   self.obj308.exit_action.setHeight(15)
   self.obj308.exit_action.setNone()

   # enter_action
   self.obj308.enter_action.setValue('\n')
   self.obj308.enter_action.setHeight(15)
   self.obj308.enter_action.setNone()

   self.obj308.GGLabel.setValue(1)
   self.obj308.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(260.0,140.0,self.obj308)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj308.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj308)
   self.obj308.postAction( cobj0.LHS.CREATE )

   self.obj309=Orthogonal(self)
   self.obj309.preAction( cobj0.LHS.CREATE )
   self.obj309.isGraphObjectVisual = True

   if(hasattr(self.obj309, '_setHierarchicalLink')):
     self.obj309._setHierarchicalLink(False)

   # visible
   self.obj309.visible.setNone()
   self.obj309.visible.config = 0

   # name
   self.obj309.name.setValue('')
   self.obj309.name.setNone()

   # auto_adjust
   self.obj309.auto_adjust.setNone()
   self.obj309.auto_adjust.config = 0

   self.obj309.GGLabel.setValue(2)
   self.obj309.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(140.0,100.0,self.obj309)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj309.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj309)
   self.obj309.postAction( cobj0.LHS.CREATE )

   self.obj310=contains(self)
   self.obj310.preAction( cobj0.LHS.CREATE )
   self.obj310.isGraphObjectVisual = True

   if(hasattr(self.obj310, '_setHierarchicalLink')):
     self.obj310._setHierarchicalLink(False)

   self.obj310.GGLabel.setValue(5)
   self.obj310.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(242.005748984,146.53909536,self.obj310)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj310.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj310)
   self.obj310.postAction( cobj0.LHS.CREATE )

   self.obj311=Hyperedge(self)
   self.obj311.preAction( cobj0.LHS.CREATE )
   self.obj311.isGraphObjectVisual = True

   if(hasattr(self.obj311, '_setHierarchicalLink')):
     self.obj311._setHierarchicalLink(False)

   # name
   self.obj311.name.setValue('')
   self.obj311.name.setNone()

   # broadcast
   self.obj311.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj311.broadcast.setHeight(15)
   self.obj311.broadcast.setNone()

   # guard
   self.obj311.guard.setValue('')
   self.obj311.guard.setNone()

   # trigger
   self.obj311.trigger.setValue('')
   self.obj311.trigger.setNone()

   # action
   self.obj311.action.setValue('\n')
   self.obj311.action.setHeight(15)
   self.obj311.action.setNone()

   # broadcast_to
   self.obj311.broadcast_to.setValue('')
   self.obj311.broadcast_to.setNone()

   # display
   self.obj311.display.setValue('')
   self.obj311.display.setNone()

   self.obj311.GGLabel.setValue(4)
   self.obj311.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(365.0,34.5,self.obj311)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj311.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj311)
   self.obj311.postAction( cobj0.LHS.CREATE )

   self.obj312=orthogonality(self)
   self.obj312.preAction( cobj0.LHS.CREATE )
   self.obj312.isGraphObjectVisual = True

   if(hasattr(self.obj312, '_setHierarchicalLink')):
     self.obj312._setHierarchicalLink(False)

   self.obj312.GGLabel.setValue(6)
   self.obj312.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(134.5,111.0,self.obj312)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj312.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj312)
   self.obj312.postAction( cobj0.LHS.CREATE )

   self.obj307.out_connections_.append(self.obj312)
   self.obj312.in_connections_.append(self.obj307)
   self.obj307.graphObject_.pendingConnections.append((self.obj307.graphObject_.tag, self.obj312.graphObject_.tag, [117.0, 81.0, 134.5, 111.0], 0, True))
   self.obj308.out_connections_.append(self.obj311)
   self.obj311.in_connections_.append(self.obj308)
   self.obj308.graphObject_.pendingConnections.append((self.obj308.graphObject_.tag, self.obj311.graphObject_.tag, [285.33351264266946, 144.0430960830704, 329.0, 12.0, 365.00000000000006, 34.5], 2, True))
   self.obj309.out_connections_.append(self.obj310)
   self.obj310.in_connections_.append(self.obj309)
   self.obj309.graphObject_.pendingConnections.append((self.obj309.graphObject_.tag, self.obj310.graphObject_.tag, [211.99999999999997, 141.0, 242.00574898404338, 146.5390953601472], 0, True))
   self.obj310.out_connections_.append(self.obj308)
   self.obj308.in_connections_.append(self.obj310)
   self.obj310.graphObject_.pendingConnections.append((self.obj310.graphObject_.tag, self.obj308.graphObject_.tag, [272.01149796808693, 152.0781907202944, 242.00574898404338, 146.5390953601472], 0, True))
   self.obj311.out_connections_.append(self.obj308)
   self.obj308.in_connections_.append(self.obj311)
   self.obj311.graphObject_.pendingConnections.append((self.obj311.graphObject_.tag, self.obj308.graphObject_.tag, [288.92020890121103, 147.49479166666663, 401.00000000000011, 56.999999999999993, 365.00000000000006, 34.5], 2, True))
   self.obj312.out_connections_.append(self.obj309)
   self.obj309.in_connections_.append(self.obj312)
   self.obj312.graphObject_.pendingConnections.append((self.obj312.graphObject_.tag, self.obj309.graphObject_.tag, [152.0, 141.0, 134.5, 111.0], 0, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj314=Composite(self)
   self.obj314.preAction( cobj0.RHS.CREATE )
   self.obj314.isGraphObjectVisual = True

   if(hasattr(self.obj314, '_setHierarchicalLink')):
     self.obj314._setHierarchicalLink(False)

   # auto_adjust
   self.obj314.auto_adjust.setNone()
   self.obj314.auto_adjust.config = 0

   # name
   self.obj314.name.setValue('')
   self.obj314.name.setNone()

   # is_default
   self.obj314.is_default.setNone()
   self.obj314.is_default.config = 0

   # visible
   self.obj314.visible.setNone()
   self.obj314.visible.config = 0

   # exit_action
   self.obj314.exit_action.setValue('\n')
   self.obj314.exit_action.setHeight(15)

   # enter_action
   self.obj314.enter_action.setValue('\n')
   self.obj314.enter_action.setHeight(15)

   self.obj314.GGLabel.setValue(3)
   self.obj314.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(40.0,40.0,self.obj314)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj314.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj314)
   self.obj314.postAction( cobj0.RHS.CREATE )

   self.obj315=Basic(self)
   self.obj315.preAction( cobj0.RHS.CREATE )
   self.obj315.isGraphObjectVisual = True

   if(hasattr(self.obj315, '_setHierarchicalLink')):
     self.obj315._setHierarchicalLink(False)

   # is_default
   self.obj315.is_default.setNone()
   self.obj315.is_default.config = 0

   # name
   self.obj315.name.setValue('moving')

   # exit_action
   self.obj315.exit_action.setValue('\n')
   self.obj315.exit_action.setHeight(15)

   # enter_action
   self.obj315.enter_action.setValue('\n')
   self.obj315.enter_action.setHeight(15)

   self.obj315.GGLabel.setValue(1)
   self.obj315.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(260.0,140.0,self.obj315)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj315.graphObject_ = new_obj
   self.obj3150= AttrCalc()
   self.obj3150.Copy=ATOM3Boolean()
   self.obj3150.Copy.setValue(('Copy from LHS', 0))
   self.obj3150.Copy.config = 0
   self.obj3150.Specify=ATOM3Constraint()
   self.obj3150.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj315.GGset2Any['is_default']= self.obj3150
   self.obj3151= AttrCalc()
   self.obj3151.Copy=ATOM3Boolean()
   self.obj3151.Copy.setValue(('Copy from LHS', 1))
   self.obj3151.Copy.config = 0
   self.obj3151.Specify=ATOM3Constraint()
   self.obj3151.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj315.GGset2Any['name']= self.obj3151
   self.obj3152= AttrCalc()
   self.obj3152.Copy=ATOM3Boolean()
   self.obj3152.Copy.setValue(('Copy from LHS', 1))
   self.obj3152.Copy.config = 0
   self.obj3152.Specify=ATOM3Constraint()
   self.obj3152.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj315.GGset2Any['exit_action']= self.obj3152
   self.obj3153= AttrCalc()
   self.obj3153.Copy=ATOM3Boolean()
   self.obj3153.Copy.setValue(('Copy from LHS', 1))
   self.obj3153.Copy.config = 0
   self.obj3153.Specify=ATOM3Constraint()
   self.obj3153.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj315.GGset2Any['enter_action']= self.obj3153

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj315)
   self.obj315.postAction( cobj0.RHS.CREATE )

   self.obj316=Basic(self)
   self.obj316.preAction( cobj0.RHS.CREATE )
   self.obj316.isGraphObjectVisual = True

   if(hasattr(self.obj316, '_setHierarchicalLink')):
     self.obj316._setHierarchicalLink(False)

   # is_default
   self.obj316.is_default.setValue((None, 1))
   self.obj316.is_default.config = 0

   # name
   self.obj316.name.setValue('blowLeft')

   # exit_action
   self.obj316.exit_action.setValue('\n')
   self.obj316.exit_action.setHeight(15)

   # enter_action
   self.obj316.enter_action.setValue('\n')
   self.obj316.enter_action.setHeight(15)

   self.obj316.GGLabel.setValue(8)
   self.obj316.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(240.0,220.0,self.obj316)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj316.graphObject_ = new_obj
   self.obj3160= AttrCalc()
   self.obj3160.Copy=ATOM3Boolean()
   self.obj3160.Copy.setValue(('Copy from LHS', 0))
   self.obj3160.Copy.config = 0
   self.obj3160.Specify=ATOM3Constraint()
   self.obj3160.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj316.GGset2Any['is_default']= self.obj3160
   self.obj3161= AttrCalc()
   self.obj3161.Copy=ATOM3Boolean()
   self.obj3161.Copy.setValue(('Copy from LHS', 0))
   self.obj3161.Copy.config = 0
   self.obj3161.Specify=ATOM3Constraint()
   self.obj3161.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj316.GGset2Any['name']= self.obj3161
   self.obj3162= AttrCalc()
   self.obj3162.Copy=ATOM3Boolean()
   self.obj3162.Copy.setValue(('Copy from LHS', 0))
   self.obj3162.Copy.config = 0
   self.obj3162.Specify=ATOM3Constraint()
   self.obj3162.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj316.GGset2Any['exit_action']= self.obj3162
   self.obj3163= AttrCalc()
   self.obj3163.Copy=ATOM3Boolean()
   self.obj3163.Copy.setValue(('Copy from LHS', 0))
   self.obj3163.Copy.config = 0
   self.obj3163.Specify=ATOM3Constraint()
   self.obj3163.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj316.GGset2Any['enter_action']= self.obj3163

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj316)
   self.obj316.postAction( cobj0.RHS.CREATE )

   self.obj317=Orthogonal(self)
   self.obj317.preAction( cobj0.RHS.CREATE )
   self.obj317.isGraphObjectVisual = True

   if(hasattr(self.obj317, '_setHierarchicalLink')):
     self.obj317._setHierarchicalLink(False)

   # visible
   self.obj317.visible.setNone()
   self.obj317.visible.config = 0

   # name
   self.obj317.name.setValue('')
   self.obj317.name.setNone()

   # auto_adjust
   self.obj317.auto_adjust.setNone()
   self.obj317.auto_adjust.config = 0

   self.obj317.GGLabel.setValue(2)
   self.obj317.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(140.0,100.0,self.obj317)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj317.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj317)
   self.obj317.postAction( cobj0.RHS.CREATE )

   self.obj318=Orthogonal(self)
   self.obj318.preAction( cobj0.RHS.CREATE )
   self.obj318.isGraphObjectVisual = True

   if(hasattr(self.obj318, '_setHierarchicalLink')):
     self.obj318._setHierarchicalLink(False)

   # visible
   self.obj318.visible.setValue((None, 1))
   self.obj318.visible.config = 0

   # name
   self.obj318.name.setValue('left_comp')

   # auto_adjust
   self.obj318.auto_adjust.setValue((None, 1))
   self.obj318.auto_adjust.config = 0

   self.obj318.GGLabel.setValue(9)
   self.obj318.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(80.0,180.0,self.obj318)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj318.graphObject_ = new_obj
   self.obj3180= AttrCalc()
   self.obj3180.Copy=ATOM3Boolean()
   self.obj3180.Copy.setValue(('Copy from LHS', 0))
   self.obj3180.Copy.config = 0
   self.obj3180.Specify=ATOM3Constraint()
   self.obj3180.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj318.GGset2Any['visible']= self.obj3180
   self.obj3181= AttrCalc()
   self.obj3181.Copy=ATOM3Boolean()
   self.obj3181.Copy.setValue(('Copy from LHS', 0))
   self.obj3181.Copy.config = 0
   self.obj3181.Specify=ATOM3Constraint()
   self.obj3181.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj318.GGset2Any['name']= self.obj3181
   self.obj3182= AttrCalc()
   self.obj3182.Copy=ATOM3Boolean()
   self.obj3182.Copy.setValue(('Copy from LHS', 0))
   self.obj3182.Copy.config = 0
   self.obj3182.Specify=ATOM3Constraint()
   self.obj3182.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj318.GGset2Any['auto_adjust']= self.obj3182

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj318)
   self.obj318.postAction( cobj0.RHS.CREATE )

   self.obj319=contains(self)
   self.obj319.preAction( cobj0.RHS.CREATE )
   self.obj319.isGraphObjectVisual = True

   if(hasattr(self.obj319, '_setHierarchicalLink')):
     self.obj319._setHierarchicalLink(False)

   self.obj319.GGLabel.setValue(5)
   self.obj319.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(242.005748984,146.53909536,self.obj319)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj319.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj319)
   self.obj319.postAction( cobj0.RHS.CREATE )

   self.obj320=contains(self)
   self.obj320.preAction( cobj0.RHS.CREATE )
   self.obj320.isGraphObjectVisual = True

   if(hasattr(self.obj320, '_setHierarchicalLink')):
     self.obj320._setHierarchicalLink(False)

   self.obj320.GGLabel.setValue(11)
   self.obj320.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(202.005748984,226.53909536,self.obj320)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj320.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj320)
   self.obj320.postAction( cobj0.RHS.CREATE )

   self.obj321=Hyperedge(self)
   self.obj321.preAction( cobj0.RHS.CREATE )
   self.obj321.isGraphObjectVisual = True

   if(hasattr(self.obj321, '_setHierarchicalLink')):
     self.obj321._setHierarchicalLink(False)

   # name
   self.obj321.name.setValue('')
   self.obj321.name.setNone()

   # broadcast
   self.obj321.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj321.broadcast.setHeight(15)

   # guard
   self.obj321.guard.setValue('')
   self.obj321.guard.setNone()

   # trigger
   self.obj321.trigger.setValue('')
   self.obj321.trigger.setNone()

   # action
   self.obj321.action.setValue('\n')
   self.obj321.action.setHeight(15)

   # broadcast_to
   self.obj321.broadcast_to.setValue('')
   self.obj321.broadcast_to.setNone()

   # display
   self.obj321.display.setValue('')
   self.obj321.display.setNone()

   self.obj321.GGLabel.setValue(4)
   self.obj321.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(365.0,34.5,self.obj321)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj321.graphObject_ = new_obj
   self.obj3210= AttrCalc()
   self.obj3210.Copy=ATOM3Boolean()
   self.obj3210.Copy.setValue(('Copy from LHS', 1))
   self.obj3210.Copy.config = 0
   self.obj3210.Specify=ATOM3Constraint()
   self.obj3210.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['name']= self.obj3210
   self.obj3211= AttrCalc()
   self.obj3211.Copy=ATOM3Boolean()
   self.obj3211.Copy.setValue(('Copy from LHS', 1))
   self.obj3211.Copy.config = 0
   self.obj3211.Specify=ATOM3Constraint()
   self.obj3211.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['broadcast']= self.obj3211
   self.obj3212= AttrCalc()
   self.obj3212.Copy=ATOM3Boolean()
   self.obj3212.Copy.setValue(('Copy from LHS', 1))
   self.obj3212.Copy.config = 0
   self.obj3212.Specify=ATOM3Constraint()
   self.obj3212.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['guard']= self.obj3212
   self.obj3213= AttrCalc()
   self.obj3213.Copy=ATOM3Boolean()
   self.obj3213.Copy.setValue(('Copy from LHS', 1))
   self.obj3213.Copy.config = 0
   self.obj3213.Specify=ATOM3Constraint()
   self.obj3213.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['trigger']= self.obj3213
   self.obj3214= AttrCalc()
   self.obj3214.Copy=ATOM3Boolean()
   self.obj3214.Copy.setValue(('Copy from LHS', 1))
   self.obj3214.Copy.config = 0
   self.obj3214.Specify=ATOM3Constraint()
   self.obj3214.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['action']= self.obj3214
   self.obj3215= AttrCalc()
   self.obj3215.Copy=ATOM3Boolean()
   self.obj3215.Copy.setValue(('Copy from LHS', 1))
   self.obj3215.Copy.config = 0
   self.obj3215.Specify=ATOM3Constraint()
   self.obj3215.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['broadcast_to']= self.obj3215
   self.obj3216= AttrCalc()
   self.obj3216.Copy=ATOM3Boolean()
   self.obj3216.Copy.setValue(('Copy from LHS', 1))
   self.obj3216.Copy.config = 0
   self.obj3216.Specify=ATOM3Constraint()
   self.obj3216.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj321.GGset2Any['display']= self.obj3216

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj321)
   self.obj321.postAction( cobj0.RHS.CREATE )

   self.obj322=Hyperedge(self)
   self.obj322.preAction( cobj0.RHS.CREATE )
   self.obj322.isGraphObjectVisual = True

   if(hasattr(self.obj322, '_setHierarchicalLink')):
     self.obj322._setHierarchicalLink(False)

   # name
   self.obj322.name.setValue('')
   self.obj322.name.setNone()

   # broadcast
   self.obj322.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj322.broadcast.setHeight(15)

   # guard
   self.obj322.guard.setValue('1')

   # trigger
   self.obj322.trigger.setValue('AFTER(23)')

   # action
   self.obj322.action.setValue('for b in balls: ctl.blowLeft(b)\n')
   self.obj322.action.setHeight(15)

   # broadcast_to
   self.obj322.broadcast_to.setValue('')
   self.obj322.broadcast_to.setNone()

   # display
   self.obj322.display.setValue('')
   self.obj322.display.setNone()

   self.obj322.GGLabel.setValue(10)
   self.obj322.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(386.0,190.0,self.obj322)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj322.graphObject_ = new_obj
   self.obj3220= AttrCalc()
   self.obj3220.Copy=ATOM3Boolean()
   self.obj3220.Copy.setValue(('Copy from LHS', 0))
   self.obj3220.Copy.config = 0
   self.obj3220.Specify=ATOM3Constraint()
   self.obj3220.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['name']= self.obj3220
   self.obj3221= AttrCalc()
   self.obj3221.Copy=ATOM3Boolean()
   self.obj3221.Copy.setValue(('Copy from LHS', 0))
   self.obj3221.Copy.config = 0
   self.obj3221.Specify=ATOM3Constraint()
   self.obj3221.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['broadcast']= self.obj3221
   self.obj3222= AttrCalc()
   self.obj3222.Copy=ATOM3Boolean()
   self.obj3222.Copy.setValue(('Copy from LHS', 0))
   self.obj3222.Copy.config = 0
   self.obj3222.Specify=ATOM3Constraint()
   self.obj3222.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['guard']= self.obj3222
   self.obj3223= AttrCalc()
   self.obj3223.Copy=ATOM3Boolean()
   self.obj3223.Copy.setValue(('Copy from LHS', 0))
   self.obj3223.Copy.config = 0
   self.obj3223.Specify=ATOM3Constraint()
   self.obj3223.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['trigger']= self.obj3223
   self.obj3224= AttrCalc()
   self.obj3224.Copy=ATOM3Boolean()
   self.obj3224.Copy.setValue(('Copy from LHS', 0))
   self.obj3224.Copy.config = 0
   self.obj3224.Specify=ATOM3Constraint()
   self.obj3224.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['action']= self.obj3224
   self.obj3225= AttrCalc()
   self.obj3225.Copy=ATOM3Boolean()
   self.obj3225.Copy.setValue(('Copy from LHS', 0))
   self.obj3225.Copy.config = 0
   self.obj3225.Specify=ATOM3Constraint()
   self.obj3225.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['broadcast_to']= self.obj3225
   self.obj3226= AttrCalc()
   self.obj3226.Copy=ATOM3Boolean()
   self.obj3226.Copy.setValue(('Copy from LHS', 0))
   self.obj3226.Copy.config = 0
   self.obj3226.Specify=ATOM3Constraint()
   self.obj3226.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj322.GGset2Any['display']= self.obj3226

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj322)
   self.obj322.postAction( cobj0.RHS.CREATE )

   self.obj323=orthogonality(self)
   self.obj323.preAction( cobj0.RHS.CREATE )
   self.obj323.isGraphObjectVisual = True

   if(hasattr(self.obj323, '_setHierarchicalLink')):
     self.obj323._setHierarchicalLink(False)

   self.obj323.GGLabel.setValue(6)
   self.obj323.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(134.5,111.0,self.obj323)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj323.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj323)
   self.obj323.postAction( cobj0.RHS.CREATE )

   self.obj324=orthogonality(self)
   self.obj324.preAction( cobj0.RHS.CREATE )
   self.obj324.isGraphObjectVisual = True

   if(hasattr(self.obj324, '_setHierarchicalLink')):
     self.obj324._setHierarchicalLink(False)

   self.obj324.GGLabel.setValue(12)
   self.obj324.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(108.25,180.5,self.obj324)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj324.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj324)
   self.obj324.postAction( cobj0.RHS.CREATE )

   self.obj314.out_connections_.append(self.obj323)
   self.obj323.in_connections_.append(self.obj314)
   self.obj314.graphObject_.pendingConnections.append((self.obj314.graphObject_.tag, self.obj323.graphObject_.tag, [105.0, 81.0, 134.5, 111.0], 2, 0))
   self.obj314.out_connections_.append(self.obj324)
   self.obj324.in_connections_.append(self.obj314)
   self.obj314.graphObject_.pendingConnections.append((self.obj314.graphObject_.tag, self.obj324.graphObject_.tag, [79.0, 106.99999999999999, 97.5, 159.49999999999997, 108.24999999999999, 180.49999999999997], 2, True))
   self.obj315.out_connections_.append(self.obj321)
   self.obj321.in_connections_.append(self.obj315)
   self.obj315.graphObject_.pendingConnections.append((self.obj315.graphObject_.tag, self.obj321.graphObject_.tag, [285.38451467458265, 143.89353312302839, 365.00000000000006, 34.5], 2, 0))
   self.obj316.out_connections_.append(self.obj322)
   self.obj322.in_connections_.append(self.obj316)
   self.obj316.graphObject_.pendingConnections.append((self.obj316.graphObject_.tag, self.obj322.graphObject_.tag, [268.92020890121108, 227.49479166666666, 390.0, 161.0, 386.0, 190.0], 2, True))
   self.obj317.out_connections_.append(self.obj319)
   self.obj319.in_connections_.append(self.obj317)
   self.obj317.graphObject_.pendingConnections.append((self.obj317.graphObject_.tag, self.obj319.graphObject_.tag, [202.0, 144.0, 242.00574898404338, 146.5390953601472], 2, 0))
   self.obj318.out_connections_.append(self.obj320)
   self.obj320.in_connections_.append(self.obj318)
   self.obj318.graphObject_.pendingConnections.append((self.obj318.graphObject_.tag, self.obj320.graphObject_.tag, [152.0, 221.0, 202.00574898404341, 226.53909536014717], 0, True))
   self.obj319.out_connections_.append(self.obj315)
   self.obj315.in_connections_.append(self.obj319)
   self.obj319.graphObject_.pendingConnections.append((self.obj319.graphObject_.tag, self.obj315.graphObject_.tag, [272.0625, 151.92862776025237, 242.00574898404338, 146.5390953601472], 2, 0))
   self.obj320.out_connections_.append(self.obj316)
   self.obj316.in_connections_.append(self.obj320)
   self.obj320.graphObject_.pendingConnections.append((self.obj320.graphObject_.tag, self.obj316.graphObject_.tag, [252.01149796808687, 232.07819072029446, 202.00574898404341, 226.53909536014717], 0, True))
   self.obj321.out_connections_.append(self.obj315)
   self.obj315.in_connections_.append(self.obj321)
   self.obj321.graphObject_.pendingConnections.append((self.obj321.graphObject_.tag, self.obj315.graphObject_.tag, [288.97121093312421, 147.34522870662457, 365.00000000000006, 34.5], 2, 0))
   self.obj322.out_connections_.append(self.obj316)
   self.obj316.in_connections_.append(self.obj322)
   self.obj322.graphObject_.pendingConnections.append((self.obj322.graphObject_.tag, self.obj316.graphObject_.tag, [270.00191094743781, 231.96502037329137, 381.99999999999994, 219.0, 386.0, 190.0], 2, True))
   self.obj323.out_connections_.append(self.obj317)
   self.obj317.in_connections_.append(self.obj323)
   self.obj323.graphObject_.pendingConnections.append((self.obj323.graphObject_.tag, self.obj317.graphObject_.tag, [172.0, 116.00000000000001, 134.5, 111.0], 2, 0))
   self.obj324.out_connections_.append(self.obj318)
   self.obj318.in_connections_.append(self.obj324)
   self.obj324.graphObject_.pendingConnections.append((self.obj324.graphObject_.tag, self.obj318.graphObject_.tag, [122.0, 190.99999999999997, 119.0, 201.49999999999997, 108.24999999999999, 180.49999999999997], 2, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName252 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#return not hasattr(node, "_uniqueName252")\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.left == True:\n    return False\nelse:\n    return True\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName252 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#node._uniqueName252 = True\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.left = True\n'))
   lcobj0.append(cobj0)
   cobj0= GGruleEdit(None, self)
   cobj0.Name=ATOM3String('produceBallComponent', 20)
   cobj0.Order=ATOM3Integer(7)
   cobj0.TimeDelay=ATOM3Integer(2)
   cobj0.SubtypesMatching=ATOM3Boolean()
   cobj0.SubtypesMatching.setValue((None, 0))
   cobj0.SubtypesMatching.config = 0

   from Hyperedge import *
   from Orthogonal import *
   from Composite import *
   from ASG_DCharts import *
   from contains import *
   from orthogonality import *
   from Server import *
   from connection import *
   from visual_settings import *
   from Basic import *
   from Port import *
   from History import *

   cobj0.LHS = ASG_DCharts(self)

   self.obj329=Composite(self)
   self.obj329.preAction( cobj0.LHS.CREATE )
   self.obj329.isGraphObjectVisual = True

   if(hasattr(self.obj329, '_setHierarchicalLink')):
     self.obj329._setHierarchicalLink(False)

   # auto_adjust
   self.obj329.auto_adjust.setNone()
   self.obj329.auto_adjust.config = 0

   # name
   self.obj329.name.setValue('')
   self.obj329.name.setNone()

   # is_default
   self.obj329.is_default.setNone()
   self.obj329.is_default.config = 0

   # visible
   self.obj329.visible.setNone()
   self.obj329.visible.config = 0

   # exit_action
   self.obj329.exit_action.setValue('\n')
   self.obj329.exit_action.setHeight(15)
   self.obj329.exit_action.setNone()

   # enter_action
   self.obj329.enter_action.setValue('\n')
   self.obj329.enter_action.setHeight(15)
   self.obj329.enter_action.setNone()

   self.obj329.GGLabel.setValue(3)
   self.obj329.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,80.0,self.obj329)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj329.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj329)
   self.obj329.postAction( cobj0.LHS.CREATE )

   self.obj330=Basic(self)
   self.obj330.preAction( cobj0.LHS.CREATE )
   self.obj330.isGraphObjectVisual = True

   if(hasattr(self.obj330, '_setHierarchicalLink')):
     self.obj330._setHierarchicalLink(False)

   # is_default
   self.obj330.is_default.setNone()
   self.obj330.is_default.config = 0

   # name
   self.obj330.name.setValue('moving')

   # exit_action
   self.obj330.exit_action.setValue('\n')
   self.obj330.exit_action.setHeight(15)
   self.obj330.exit_action.setNone()

   # enter_action
   self.obj330.enter_action.setValue('\n')
   self.obj330.enter_action.setHeight(15)
   self.obj330.enter_action.setNone()

   self.obj330.GGLabel.setValue(1)
   self.obj330.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(300.0,200.0,self.obj330)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj330.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj330)
   self.obj330.postAction( cobj0.LHS.CREATE )

   self.obj331=Orthogonal(self)
   self.obj331.preAction( cobj0.LHS.CREATE )
   self.obj331.isGraphObjectVisual = True

   if(hasattr(self.obj331, '_setHierarchicalLink')):
     self.obj331._setHierarchicalLink(False)

   # visible
   self.obj331.visible.setNone()
   self.obj331.visible.config = 0

   # name
   self.obj331.name.setValue('')
   self.obj331.name.setNone()

   # auto_adjust
   self.obj331.auto_adjust.setNone()
   self.obj331.auto_adjust.config = 0

   self.obj331.GGLabel.setValue(2)
   self.obj331.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(160.0,180.0,self.obj331)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['Text Scale'] = 0.83
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj331.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj331)
   self.obj331.postAction( cobj0.LHS.CREATE )

   self.obj332=contains(self)
   self.obj332.preAction( cobj0.LHS.CREATE )
   self.obj332.isGraphObjectVisual = True

   if(hasattr(self.obj332, '_setHierarchicalLink')):
     self.obj332._setHierarchicalLink(False)

   self.obj332.GGLabel.setValue(5)
   self.obj332.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(272.005748984,216.53909536,self.obj332)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj332.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj332)
   self.obj332.postAction( cobj0.LHS.CREATE )

   self.obj333=Hyperedge(self)
   self.obj333.preAction( cobj0.LHS.CREATE )
   self.obj333.isGraphObjectVisual = True

   if(hasattr(self.obj333, '_setHierarchicalLink')):
     self.obj333._setHierarchicalLink(False)

   # name
   self.obj333.name.setValue('')
   self.obj333.name.setNone()

   # broadcast
   self.obj333.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj333.broadcast.setHeight(15)
   self.obj333.broadcast.setNone()

   # guard
   self.obj333.guard.setValue('')
   self.obj333.guard.setNone()

   # trigger
   self.obj333.trigger.setValue('')
   self.obj333.trigger.setNone()

   # action
   self.obj333.action.setValue('\n')
   self.obj333.action.setHeight(15)
   self.obj333.action.setNone()

   # broadcast_to
   self.obj333.broadcast_to.setValue('')
   self.obj333.broadcast_to.setNone()

   # display
   self.obj333.display.setValue('')
   self.obj333.display.setNone()

   self.obj333.GGLabel.setValue(4)
   self.obj333.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(373.5,105.0,self.obj333)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj333.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj333)
   self.obj333.postAction( cobj0.LHS.CREATE )

   self.obj334=orthogonality(self)
   self.obj334.preAction( cobj0.LHS.CREATE )
   self.obj334.isGraphObjectVisual = True

   if(hasattr(self.obj334, '_setHierarchicalLink')):
     self.obj334._setHierarchicalLink(False)

   self.obj334.GGLabel.setValue(6)
   self.obj334.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(141.5,184.0,self.obj334)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj334.graphObject_ = new_obj

   # Add node to the root: cobj0.LHS
   cobj0.LHS.addNode(self.obj334)
   self.obj334.postAction( cobj0.LHS.CREATE )

   self.obj329.out_connections_.append(self.obj334)
   self.obj334.in_connections_.append(self.obj329)
   self.obj329.graphObject_.pendingConnections.append((self.obj329.graphObject_.tag, self.obj334.graphObject_.tag, [111.0, 147.0, 141.50000000000003, 183.99999999999997], 0, True))
   self.obj330.out_connections_.append(self.obj333)
   self.obj333.in_connections_.append(self.obj330)
   self.obj330.graphObject_.pendingConnections.append((self.obj330.graphObject_.tag, self.obj333.graphObject_.tag, [321.17749951769304, 203.02456296004209, 324.0, 66.0, 373.49999999999983, 105.0], 2, True))
   self.obj331.out_connections_.append(self.obj332)
   self.obj332.in_connections_.append(self.obj331)
   self.obj331.graphObject_.pendingConnections.append((self.obj331.graphObject_.tag, self.obj332.graphObject_.tag, [232.00000000000003, 221.0, 272.00574898404346, 216.53909536014723], 0, True))
   self.obj332.out_connections_.append(self.obj330)
   self.obj330.in_connections_.append(self.obj332)
   self.obj332.graphObject_.pendingConnections.append((self.obj332.graphObject_.tag, self.obj330.graphObject_.tag, [312.01149796808687, 212.07819072029449, 272.00574898404346, 216.53909536014723], 0, True))
   self.obj333.out_connections_.append(self.obj330)
   self.obj330.in_connections_.append(self.obj333)
   self.obj333.graphObject_.pendingConnections.append((self.obj333.graphObject_.tag, self.obj330.graphObject_.tag, [328.92020890121108, 207.49479166666671, 423.0, 144.0, 373.49999999999983, 105.0], 2, True))
   self.obj334.out_connections_.append(self.obj331)
   self.obj331.in_connections_.append(self.obj334)
   self.obj334.graphObject_.pendingConnections.append((self.obj334.graphObject_.tag, self.obj331.graphObject_.tag, [172.0, 221.0, 141.50000000000003, 183.99999999999997], 0, True))

   cobj0.RHS = ASG_DCharts(self)

   self.obj336=Composite(self)
   self.obj336.preAction( cobj0.RHS.CREATE )
   self.obj336.isGraphObjectVisual = True

   if(hasattr(self.obj336, '_setHierarchicalLink')):
     self.obj336._setHierarchicalLink(False)

   # auto_adjust
   self.obj336.auto_adjust.setNone()
   self.obj336.auto_adjust.config = 0

   # name
   self.obj336.name.setValue('')
   self.obj336.name.setNone()

   # is_default
   self.obj336.is_default.setNone()
   self.obj336.is_default.config = 0

   # visible
   self.obj336.visible.setNone()
   self.obj336.visible.config = 0

   # exit_action
   self.obj336.exit_action.setValue('\n')
   self.obj336.exit_action.setHeight(15)

   # enter_action
   self.obj336.enter_action.setValue('\n')
   self.obj336.enter_action.setHeight(15)

   self.obj336.GGLabel.setValue(3)
   self.obj336.graphClass_= graph_Composite
   if self.genGraphics:
      new_obj = graph_Composite(60.0,80.0,self.obj336)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj336.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj336)
   self.obj336.postAction( cobj0.RHS.CREATE )

   self.obj337=Basic(self)
   self.obj337.preAction( cobj0.RHS.CREATE )
   self.obj337.isGraphObjectVisual = True

   if(hasattr(self.obj337, '_setHierarchicalLink')):
     self.obj337._setHierarchicalLink(False)

   # is_default
   self.obj337.is_default.setNone()
   self.obj337.is_default.config = 0

   # name
   self.obj337.name.setValue('moving')

   # exit_action
   self.obj337.exit_action.setValue('\n')
   self.obj337.exit_action.setHeight(15)

   # enter_action
   self.obj337.enter_action.setValue('\n')
   self.obj337.enter_action.setHeight(15)

   self.obj337.GGLabel.setValue(1)
   self.obj337.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(300.0,200.0,self.obj337)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj337.graphObject_ = new_obj
   self.obj3370= AttrCalc()
   self.obj3370.Copy=ATOM3Boolean()
   self.obj3370.Copy.setValue(('Copy from LHS', 1))
   self.obj3370.Copy.config = 0
   self.obj3370.Specify=ATOM3Constraint()
   self.obj3370.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj337.GGset2Any['is_default']= self.obj3370
   self.obj3371= AttrCalc()
   self.obj3371.Copy=ATOM3Boolean()
   self.obj3371.Copy.setValue(('Copy from LHS', 1))
   self.obj3371.Copy.config = 0
   self.obj3371.Specify=ATOM3Constraint()
   self.obj3371.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj337.GGset2Any['name']= self.obj3371
   self.obj3372= AttrCalc()
   self.obj3372.Copy=ATOM3Boolean()
   self.obj3372.Copy.setValue(('Copy from LHS', 1))
   self.obj3372.Copy.config = 0
   self.obj3372.Specify=ATOM3Constraint()
   self.obj3372.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj337.GGset2Any['exit_action']= self.obj3372
   self.obj3373= AttrCalc()
   self.obj3373.Copy=ATOM3Boolean()
   self.obj3373.Copy.setValue(('Copy from LHS', 1))
   self.obj3373.Copy.config = 0
   self.obj3373.Specify=ATOM3Constraint()
   self.obj3373.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj337.GGset2Any['enter_action']= self.obj3373

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj337)
   self.obj337.postAction( cobj0.RHS.CREATE )

   self.obj338=Basic(self)
   self.obj338.preAction( cobj0.RHS.CREATE )
   self.obj338.isGraphObjectVisual = True

   if(hasattr(self.obj338, '_setHierarchicalLink')):
     self.obj338._setHierarchicalLink(False)

   # is_default
   self.obj338.is_default.setValue((None, 1))
   self.obj338.is_default.config = 0

   # name
   self.obj338.name.setValue('produceBall')

   # exit_action
   self.obj338.exit_action.setValue('\n')
   self.obj338.exit_action.setHeight(15)

   # enter_action
   self.obj338.enter_action.setValue('\n')
   self.obj338.enter_action.setHeight(15)

   self.obj338.GGLabel.setValue(8)
   self.obj338.graphClass_= graph_Basic
   if self.genGraphics:
      new_obj = graph_Basic(260.0,40.0,self.obj338)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj338.graphObject_ = new_obj
   self.obj3380= AttrCalc()
   self.obj3380.Copy=ATOM3Boolean()
   self.obj3380.Copy.setValue(('Copy from LHS', 0))
   self.obj3380.Copy.config = 0
   self.obj3380.Specify=ATOM3Constraint()
   self.obj3380.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj338.GGset2Any['is_default']= self.obj3380
   self.obj3381= AttrCalc()
   self.obj3381.Copy=ATOM3Boolean()
   self.obj3381.Copy.setValue(('Copy from LHS', 0))
   self.obj3381.Copy.config = 0
   self.obj3381.Specify=ATOM3Constraint()
   self.obj3381.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj338.GGset2Any['name']= self.obj3381
   self.obj3382= AttrCalc()
   self.obj3382.Copy=ATOM3Boolean()
   self.obj3382.Copy.setValue(('Copy from LHS', 0))
   self.obj3382.Copy.config = 0
   self.obj3382.Specify=ATOM3Constraint()
   self.obj3382.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj338.GGset2Any['exit_action']= self.obj3382
   self.obj3383= AttrCalc()
   self.obj3383.Copy=ATOM3Boolean()
   self.obj3383.Copy.setValue(('Copy from LHS', 0))
   self.obj3383.Copy.config = 0
   self.obj3383.Specify=ATOM3Constraint()
   self.obj3383.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj338.GGset2Any['enter_action']= self.obj3383

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj338)
   self.obj338.postAction( cobj0.RHS.CREATE )

   self.obj339=Orthogonal(self)
   self.obj339.preAction( cobj0.RHS.CREATE )
   self.obj339.isGraphObjectVisual = True

   if(hasattr(self.obj339, '_setHierarchicalLink')):
     self.obj339._setHierarchicalLink(False)

   # visible
   self.obj339.visible.setNone()
   self.obj339.visible.config = 0

   # name
   self.obj339.name.setValue('')
   self.obj339.name.setNone()

   # auto_adjust
   self.obj339.auto_adjust.setNone()
   self.obj339.auto_adjust.config = 0

   self.obj339.GGLabel.setValue(2)
   self.obj339.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(160.0,180.0,self.obj339)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj339.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj339)
   self.obj339.postAction( cobj0.RHS.CREATE )

   self.obj340=Orthogonal(self)
   self.obj340.preAction( cobj0.RHS.CREATE )
   self.obj340.isGraphObjectVisual = True

   if(hasattr(self.obj340, '_setHierarchicalLink')):
     self.obj340._setHierarchicalLink(False)

   # visible
   self.obj340.visible.setValue((None, 1))
   self.obj340.visible.config = 0

   # name
   self.obj340.name.setValue('produceBall_comp')

   # auto_adjust
   self.obj340.auto_adjust.setValue((None, 1))
   self.obj340.auto_adjust.config = 0

   self.obj340.GGLabel.setValue(9)
   self.obj340.graphClass_= graph_Orthogonal
   if self.genGraphics:
      new_obj = graph_Orthogonal(120.0,20.0,self.obj340)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj340.graphObject_ = new_obj
   self.obj3400= AttrCalc()
   self.obj3400.Copy=ATOM3Boolean()
   self.obj3400.Copy.setValue(('Copy from LHS', 0))
   self.obj3400.Copy.config = 0
   self.obj3400.Specify=ATOM3Constraint()
   self.obj3400.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj340.GGset2Any['visible']= self.obj3400
   self.obj3401= AttrCalc()
   self.obj3401.Copy=ATOM3Boolean()
   self.obj3401.Copy.setValue(('Copy from LHS', 0))
   self.obj3401.Copy.config = 0
   self.obj3401.Specify=ATOM3Constraint()
   self.obj3401.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj340.GGset2Any['name']= self.obj3401
   self.obj3402= AttrCalc()
   self.obj3402.Copy=ATOM3Boolean()
   self.obj3402.Copy.setValue(('Copy from LHS', 0))
   self.obj3402.Copy.config = 0
   self.obj3402.Specify=ATOM3Constraint()
   self.obj3402.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj340.GGset2Any['auto_adjust']= self.obj3402

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj340)
   self.obj340.postAction( cobj0.RHS.CREATE )

   self.obj341=contains(self)
   self.obj341.preAction( cobj0.RHS.CREATE )
   self.obj341.isGraphObjectVisual = True

   if(hasattr(self.obj341, '_setHierarchicalLink')):
     self.obj341._setHierarchicalLink(False)

   self.obj341.GGLabel.setValue(5)
   self.obj341.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(272.005748984,216.53909536,self.obj341)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj341.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj341)
   self.obj341.postAction( cobj0.RHS.CREATE )

   self.obj342=contains(self)
   self.obj342.preAction( cobj0.RHS.CREATE )
   self.obj342.isGraphObjectVisual = True

   if(hasattr(self.obj342, '_setHierarchicalLink')):
     self.obj342._setHierarchicalLink(False)

   self.obj342.GGLabel.setValue(11)
   self.obj342.graphClass_= graph_contains
   if self.genGraphics:
      new_obj = graph_contains(222.489668321,48.71762454,self.obj342)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj342.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj342)
   self.obj342.postAction( cobj0.RHS.CREATE )

   self.obj343=Hyperedge(self)
   self.obj343.preAction( cobj0.RHS.CREATE )
   self.obj343.isGraphObjectVisual = True

   if(hasattr(self.obj343, '_setHierarchicalLink')):
     self.obj343._setHierarchicalLink(False)

   # name
   self.obj343.name.setValue('')
   self.obj343.name.setNone()

   # broadcast
   self.obj343.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj343.broadcast.setHeight(15)

   # guard
   self.obj343.guard.setValue('')
   self.obj343.guard.setNone()

   # trigger
   self.obj343.trigger.setValue('')
   self.obj343.trigger.setNone()

   # action
   self.obj343.action.setValue('\n')
   self.obj343.action.setHeight(15)

   # broadcast_to
   self.obj343.broadcast_to.setValue('')
   self.obj343.broadcast_to.setNone()

   # display
   self.obj343.display.setValue('')
   self.obj343.display.setNone()

   self.obj343.GGLabel.setValue(4)
   self.obj343.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(373.5,105.0,self.obj343)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj343.graphObject_ = new_obj
   self.obj3430= AttrCalc()
   self.obj3430.Copy=ATOM3Boolean()
   self.obj3430.Copy.setValue(('Copy from LHS', 1))
   self.obj3430.Copy.config = 0
   self.obj3430.Specify=ATOM3Constraint()
   self.obj3430.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['name']= self.obj3430
   self.obj3431= AttrCalc()
   self.obj3431.Copy=ATOM3Boolean()
   self.obj3431.Copy.setValue(('Copy from LHS', 1))
   self.obj3431.Copy.config = 0
   self.obj3431.Specify=ATOM3Constraint()
   self.obj3431.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['broadcast']= self.obj3431
   self.obj3432= AttrCalc()
   self.obj3432.Copy=ATOM3Boolean()
   self.obj3432.Copy.setValue(('Copy from LHS', 1))
   self.obj3432.Copy.config = 0
   self.obj3432.Specify=ATOM3Constraint()
   self.obj3432.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['guard']= self.obj3432
   self.obj3433= AttrCalc()
   self.obj3433.Copy=ATOM3Boolean()
   self.obj3433.Copy.setValue(('Copy from LHS', 1))
   self.obj3433.Copy.config = 0
   self.obj3433.Specify=ATOM3Constraint()
   self.obj3433.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['trigger']= self.obj3433
   self.obj3434= AttrCalc()
   self.obj3434.Copy=ATOM3Boolean()
   self.obj3434.Copy.setValue(('Copy from LHS', 1))
   self.obj3434.Copy.config = 0
   self.obj3434.Specify=ATOM3Constraint()
   self.obj3434.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['action']= self.obj3434
   self.obj3435= AttrCalc()
   self.obj3435.Copy=ATOM3Boolean()
   self.obj3435.Copy.setValue(('Copy from LHS', 1))
   self.obj3435.Copy.config = 0
   self.obj3435.Specify=ATOM3Constraint()
   self.obj3435.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['broadcast_to']= self.obj3435
   self.obj3436= AttrCalc()
   self.obj3436.Copy=ATOM3Boolean()
   self.obj3436.Copy.setValue(('Copy from LHS', 1))
   self.obj3436.Copy.config = 0
   self.obj3436.Specify=ATOM3Constraint()
   self.obj3436.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj343.GGset2Any['display']= self.obj3436

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj343)
   self.obj343.postAction( cobj0.RHS.CREATE )

   self.obj344=Hyperedge(self)
   self.obj344.preAction( cobj0.RHS.CREATE )
   self.obj344.isGraphObjectVisual = True

   if(hasattr(self.obj344, '_setHierarchicalLink')):
     self.obj344._setHierarchicalLink(False)

   # name
   self.obj344.name.setValue('')
   self.obj344.name.setNone()

   # broadcast
   self.obj344.broadcast.setValue('# return an instance of DEVSevent or None\nreturn None\n')
   self.obj344.broadcast.setHeight(15)

   # guard
   self.obj344.guard.setValue('1')

   # trigger
   self.obj344.trigger.setValue('AFTER(1)')

   # action
   self.obj344.action.setValue('bid = counter\ncounter += 1\nif counter <= max: gid, pos, speed = ctl.init(bid)\nif counter <= max: balls[bid] = {\'pos\': pos, \'speed\': speed, \'gid\':gid}\n')
   self.obj344.action.setHeight(15)

   # broadcast_to
   self.obj344.broadcast_to.setValue('')
   self.obj344.broadcast_to.setNone()

   # display
   self.obj344.display.setValue('AFTER(1)')

   self.obj344.GGLabel.setValue(10)
   self.obj344.graphClass_= graph_Hyperedge
   if self.genGraphics:
      new_obj = graph_Hyperedge(395.0,40.5,self.obj344)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
      new_obj.layConstraints['scale'] = [1.0, 1.0]
   else: new_obj = None
   self.obj344.graphObject_ = new_obj
   self.obj3440= AttrCalc()
   self.obj3440.Copy=ATOM3Boolean()
   self.obj3440.Copy.setValue(('Copy from LHS', 0))
   self.obj3440.Copy.config = 0
   self.obj3440.Specify=ATOM3Constraint()
   self.obj3440.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['name']= self.obj3440
   self.obj3441= AttrCalc()
   self.obj3441.Copy=ATOM3Boolean()
   self.obj3441.Copy.setValue(('Copy from LHS', 0))
   self.obj3441.Copy.config = 0
   self.obj3441.Specify=ATOM3Constraint()
   self.obj3441.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['broadcast']= self.obj3441
   self.obj3442= AttrCalc()
   self.obj3442.Copy=ATOM3Boolean()
   self.obj3442.Copy.setValue(('Copy from LHS', 0))
   self.obj3442.Copy.config = 0
   self.obj3442.Specify=ATOM3Constraint()
   self.obj3442.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['guard']= self.obj3442
   self.obj3443= AttrCalc()
   self.obj3443.Copy=ATOM3Boolean()
   self.obj3443.Copy.setValue(('Copy from LHS', 0))
   self.obj3443.Copy.config = 0
   self.obj3443.Specify=ATOM3Constraint()
   self.obj3443.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['trigger']= self.obj3443
   self.obj3444= AttrCalc()
   self.obj3444.Copy=ATOM3Boolean()
   self.obj3444.Copy.setValue(('Copy from LHS', 0))
   self.obj3444.Copy.config = 0
   self.obj3444.Specify=ATOM3Constraint()
   self.obj3444.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['action']= self.obj3444
   self.obj3445= AttrCalc()
   self.obj3445.Copy=ATOM3Boolean()
   self.obj3445.Copy.setValue(('Copy from LHS', 0))
   self.obj3445.Copy.config = 0
   self.obj3445.Specify=ATOM3Constraint()
   self.obj3445.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['broadcast_to']= self.obj3445
   self.obj3446= AttrCalc()
   self.obj3446.Copy=ATOM3Boolean()
   self.obj3446.Copy.setValue(('Copy from LHS', 0))
   self.obj3446.Copy.config = 0
   self.obj3446.Specify=ATOM3Constraint()
   self.obj3446.Specify.setValue(('AttrSpecify', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))
   self.obj344.GGset2Any['display']= self.obj3446

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj344)
   self.obj344.postAction( cobj0.RHS.CREATE )

   self.obj345=orthogonality(self)
   self.obj345.preAction( cobj0.RHS.CREATE )
   self.obj345.isGraphObjectVisual = True

   if(hasattr(self.obj345, '_setHierarchicalLink')):
     self.obj345._setHierarchicalLink(False)

   self.obj345.GGLabel.setValue(6)
   self.obj345.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(141.5,184.0,self.obj345)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj345.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj345)
   self.obj345.postAction( cobj0.RHS.CREATE )

   self.obj346=orthogonality(self)
   self.obj346.preAction( cobj0.RHS.CREATE )
   self.obj346.isGraphObjectVisual = True

   if(hasattr(self.obj346, '_setHierarchicalLink')):
     self.obj346._setHierarchicalLink(False)

   self.obj346.GGLabel.setValue(12)
   self.obj346.graphClass_= graph_orthogonality
   if self.genGraphics:
      new_obj = graph_orthogonality(115.5,78.5,self.obj346)
      new_obj.layConstraints = dict() # Graphical Layout Constraints 
   else: new_obj = None
   self.obj346.graphObject_ = new_obj

   # Add node to the root: cobj0.RHS
   cobj0.RHS.addNode(self.obj346)
   self.obj346.postAction( cobj0.RHS.CREATE )

   self.obj336.out_connections_.append(self.obj345)
   self.obj345.in_connections_.append(self.obj336)
   self.obj336.graphObject_.pendingConnections.append((self.obj336.graphObject_.tag, self.obj345.graphObject_.tag, [98.999999999999986, 147.0, 141.50000000000003, 183.99999999999997], 2, 0))
   self.obj336.out_connections_.append(self.obj346)
   self.obj346.in_connections_.append(self.obj336)
   self.obj336.graphObject_.pendingConnections.append((self.obj336.graphObject_.tag, self.obj346.graphObject_.tag, [98.999999999999986, 96.0, 115.50000000000001, 78.5], 0, True))
   self.obj337.out_connections_.append(self.obj343)
   self.obj343.in_connections_.append(self.obj337)
   self.obj337.graphObject_.pendingConnections.append((self.obj337.graphObject_.tag, self.obj343.graphObject_.tag, [325.38451467458265, 203.89353312302839, 373.49999999999983, 105.0], 2, 0))
   self.obj338.out_connections_.append(self.obj344)
   self.obj344.in_connections_.append(self.obj338)
   self.obj338.graphObject_.pendingConnections.append((self.obj338.graphObject_.tag, self.obj344.graphObject_.tag, [288.92020890121103, 47.494791666666657, 405.0, 18.0, 395.0, 40.5], 2, True))
   self.obj339.out_connections_.append(self.obj341)
   self.obj341.in_connections_.append(self.obj339)
   self.obj339.graphObject_.pendingConnections.append((self.obj339.graphObject_.tag, self.obj341.graphObject_.tag, [222.0, 224.0, 272.00574898404346, 216.53909536014723], 2, 0))
   self.obj340.out_connections_.append(self.obj342)
   self.obj342.in_connections_.append(self.obj340)
   self.obj340.graphObject_.pendingConnections.append((self.obj340.graphObject_.tag, self.obj342.graphObject_.tag, [191.99999999999997, 61.0, 222.48966832051323, 48.71762453995791], 0, True))
   self.obj341.out_connections_.append(self.obj337)
   self.obj337.in_connections_.append(self.obj341)
   self.obj341.graphObject_.pendingConnections.append((self.obj341.graphObject_.tag, self.obj337.graphObject_.tag, [312.0625, 211.9286277602524, 272.00574898404346, 216.53909536014723], 2, 0))
   self.obj342.out_connections_.append(self.obj338)
   self.obj338.in_connections_.append(self.obj342)
   self.obj342.graphObject_.pendingConnections.append((self.obj342.graphObject_.tag, self.obj338.graphObject_.tag, [272.97933664102646, 56.435249079915842, 242.48966832051323, 68.71762453995791], 0, True))
   self.obj343.out_connections_.append(self.obj337)
   self.obj337.in_connections_.append(self.obj343)
   self.obj343.graphObject_.pendingConnections.append((self.obj343.graphObject_.tag, self.obj337.graphObject_.tag, [328.97121093312421, 207.34522870662454, 373.49999999999983, 105.0], 2, 0))
   self.obj344.out_connections_.append(self.obj338)
   self.obj338.in_connections_.append(self.obj344)
   self.obj344.graphObject_.pendingConnections.append((self.obj344.graphObject_.tag, self.obj338.graphObject_.tag, [290.00191094743786, 51.965020373291296, 385.0, 62.999999999999993, 395.0, 40.5], 2, True))
   self.obj345.out_connections_.append(self.obj339)
   self.obj339.in_connections_.append(self.obj345)
   self.obj345.graphObject_.pendingConnections.append((self.obj345.graphObject_.tag, self.obj339.graphObject_.tag, [192.0, 196.0, 141.50000000000003, 183.99999999999997], 2, 0))
   self.obj346.out_connections_.append(self.obj340)
   self.obj340.in_connections_.append(self.obj346)
   self.obj346.graphObject_.pendingConnections.append((self.obj346.graphObject_.tag, self.obj340.graphObject_.tag, [132.0, 61.0, 115.50000000000001, 78.5], 0, True))

   cobj0.Condition=ATOM3Constraint()
   cobj0.Condition.setValue(('condition', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the ACTION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName201 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#return not hasattr(node, "_uniqueName201")\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nif ball.produce == False:\n    return True\nelse:\n    return False\n'))
   cobj0.Action=ATOM3Constraint()
   cobj0.Action.setValue(('action', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# If you want to apply this rule at most once on asingle host graph node, \n# then uncomment the next two lines. Change the default GG label (1) if needed.\n\n# Make sure to enable the CONDITION code as well\n# And to use the same label & unique name in the ACTION\n# WARNING: _uniqueName201 is not guaranteed to be unique (so change it, be safe!)\n\n#node = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\n#node._uniqueName201 = True\nball = self.getMatched(graphID, self.LHS.nodeWithLabel(1))\nball.produce = True\n'))
   lcobj0.append(cobj0)
   self.EditingGraphGrammar.Rules.setValue(lcobj0)
   self.EditingGraphGrammar.InitialAction=ATOM3Constraint()
   self.EditingGraphGrammar.InitialAction.setValue(('constraint', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), '# Template code for an initial action (a full host graph traversal)\n\n#idInt = 0\n#for nodeType in graph.listNodes.keys():\n#    for node in graph.listNodes[nodeType]:\n#      # Prints the class name of all nodes in graph\n#      print node.__class__.__name__ \n#\n#      # This part assumes that *ALL* nodes in graph have ATOM3 Integer \n#      # attribute called "id" and that this attribute is in the visual icon\n#      # NOTE: setGenValue() sets the semantic value, updates visually, and\n#      # catches attribute name errors and displays correct alternatives\n#      node.setGenValue(\'id\', idInt)\n#      idInt += 1\nfor nodeType in graph.listNodes.keys():\n    for node in graph.listNodes[nodeType]:\n        node.color = False\n        node.shape = False\n        node.up = False\n        node.right = False\n        node.left = False\n        node.produce = False\n'))
   self.EditingGraphGrammar.FinalAction=ATOM3Constraint()
   self.EditingGraphGrammar.FinalAction.setValue(('const', (['Python', 'OCL'], 0), (['PREcondition', 'POSTcondition'], 1), (['EDIT', 'SAVE', 'CREATE', 'CONNECT', 'DELETE', 'DISCONNECT', 'TRANSFORM', 'SELECT', 'DRAG', 'DROP', 'MOVE'], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), None))


