Hold down the Shift key when you click and drag to move a shape to move it directly horizontally or vertically.


This is particularly useful when you need to move shapes on a line, such as in Gitflow diagrams.