ui: Spawn new nodes between old ones if enough space
Inserts new nodes between existing ones, if there is enough space on the y-axis.
Note: We are currently using a constant 120 for the height of the nodes, this could cause problems for nodes with a lot of ports. This issue was already present before this commit and should be handled via a separate MR.
See: #85