Put nodes in a tree like presentation