updating positioning of nodes, works awesomely now.