There are several ways to change the X and Y values of a node.
Or are you trying to do something more complicated, like automatically assigning coordinates to nodes?