show structure as a tree