store node positions in relative value (0 to 1).