Don't use compound object to store graph positions

Instead of storing positions as:
  object.some_graph_pos = { x: 42, y: 13 };
store them as:
  object.some_graph_pos_x = 42;
  object.some_graph_pos_y = 13;

Closes #10.