position nodes, and connect to sockets