text: from core.himesis import Himesis, HimesisPreConditionPatternLHS
  import uuid
  
  class HMM7_then_ConnectedLHS(HimesisPreConditionPatternLHS):
          def __init__(self):
                  """
                  Creates the himesis graph representing the AToM3 model HMM7_then_ConnectedLHS.
                  """
                  # Flag this instance as compiled now
                  self.is_compiled = True
          
                  super(HMM7_then_ConnectedLHS, self).__init__(name='HMM7_then_ConnectedLHS', num_nodes=0, edges=[])
          
                  # Set the graph attributes
                  self["mm__"] = ['MT_pre__FamiliesToPersonsMM', 'MoTifRule']
                  self["MT_constraint__"] = """#===============================================================================
  # This code is executed after the nodes in the LHS have been matched.
  # You can access a matched node labelled n by: PreNode('n').
  # To access attribute x of node n, use: PreNode('n')['x'].
  # The given constraint must evaluate to a boolean expression:
  #    returning True enables the rule to be applied,
  #    returning False forbids the rule from being applied.
  #===============================================================================
  
  return True
  """
                  self["name"] = """"""
                  self["GUID__"] = uuid.uuid3(uuid.NAMESPACE_DNS,'MM7_then')
          
                  # Set the node attributes
          
          
          
          # Nodes that represent the edges of the property.
          
          # Add the edges
                  self.add_edges([
          ])
          
                  # Add the attribute equations
                  self["equations"] = []
          
  
          
          def constraint(self, PreNode, graph):
                  """
                  Executable constraint code.
                  @param PreNode: Function taking an integer as parameter
                                  and returns the node corresponding to that label.
                  """
                  #===============================================================================
                  # This code is executed after the nodes in the LHS have been matched.
                  # You can access a matched node labelled n by: PreNode('n').
                  # To access attribute x of node n, use: PreNode('n')['x'].
                  # The given constraint must evaluate to a boolean expression:
                  #    returning True enables the rule to be applied,
                  #    returning False forbids the rule from being applied.
                  #===============================================================================
  
                  return True
          
  