<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addComponentToPathway(self, component_id, pathway_id):
 """ This can be used directly when the component is directly involved in the pathway. If a transforming event is performed on the component first, then the addGeneToPathway should be used instead. :param pathway_id: :param component_id: :return: """

        self.graph.addTriple(component_id, self.globaltt['involved in'], pathway_id)

        return