<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pp(self):
 """ Pretty printing. """

        # TODO: make it prettier
        for src, dst, data in self.graph.edges(data=True):
            print("%s <-- %s, %s" % (src, dst, data))