I hate this issue but I think I found a workaround,
Basically, the problem comes when you are connecting nodes in the node editor, the node's layout jumps and rearranges in a different position, so if you have too many nodes on the screen it's basically impossible to track your connections again.
Solution:
Change your working units to meters in window/settings/preferences and in node editor: window/option/pin all nodes by default sound funny but works trust me.
When you are using centimeters or millimeters the nodes jump crazy on the screen and mess up your work all the time, now it will jump but just very little, keeping your layout safe all the time.