renamed to getNodesLayout()