Click an edge to make its extremities the top of the layout.
Play with the parameters of the layout to tweak the final result:
- Regulate the vertical and horizontal distance of the layout
- Chose the orientation of the layout with the direction select box