direction for the nodes