def get_nodes_positions(self):
nodes = self.get_nodes()<EOL>output = {}<EOL>for node in nodes:<EOL><INDENT>output[node[<NUM_LIT:0>]] = (float(node[<NUM_LIT:1>][consts.Consts.x]), float(node[<NUM_LIT:1>][consts.Consts.y]))<EOL><DEDENT>return output<EOL>
Getter method for nodes positions.

:return: A dictionary with nodes as keys and positions as values