def move_edge_target(self, edge_id, node_a):
        """Moves an edge so that it targets node_a."""
        # Grab the edge
        edge = self.get_edge(edge_id)

        # Alter the vertices
        edge['vertices'] = (edge['vertices'][0], node_a)
def move_edge_target ( self , edge_id , node_a ) : edge = self . get_edge ( edge_id ) edge [ 'vertices' ] = ( edge [ 'vertices' ] [ 0 ] , node_a )
Moves an edge so that it targets node_a.