Thank you very much for adding illustrations.
If you select the top node and edit its width in the properties editor in yEd's lower right corner instead of resizing the node with the mouse, the edge connection points will not be adjusted but stay at their (absolute) location. Moreover, the "resize direction" when changing width or height by editing properties can be configured in "File" -> "Preferences", tab "Editor", option "Resize from Center".