By clicking the root menu icon you can expand or collapse all the nodes.