Well, you could try to use yEd's grid feature. First, turn off snap lines (toolbar, fourth button from the right), then activate the grid (toolbar, third button from the right). Please note, using the grid will force a node's center on a grid point. Therefore your nodes should have even integral width and height to ensure integral X and Y coordinates.