def add_element(self, element):
        """
        Add an element to this ComplexType and also append it to element dict
        of parent type graph.
        """
        self.elements.append(element)
        self.type_graph.add_element(element)
def add_element ( self , element ) : self . elements . append ( element ) self . type_graph . add_element ( element )
Add an element to this ComplexType and also append it to element dict
        of parent type graph.