layout of nodes