<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transposed(self):
 """Returns a "transposed" version of this graph. Useful for walking in reverse. """

        return Graph(steps=self.steps, dag=self.dag.transpose())