def move_edge_target(self, edge_id, node_a):
<EOL>edge = self.get_edge(edge_id)<EOL>original_target_node_id = edge['<STR_LIT>'][<NUM_LIT:1>]<EOL>original_target_node = self.get_node(original_target_node_id)<EOL>original_target_node['<STR_LIT>'].remove(edge_id)<EOL>new_target_node_id = node_a<EOL>new_target_node = self.get_node(new_target_node_id)<EOL>new_target_node['<STR_LIT>'].append(edge_id)<EOL>edge['<STR_LIT>'] = (edge['<STR_LIT>'][<NUM_LIT:0>], node_a)<EOL>
Moves an edge so that it targets node_a.