Hierarchical tree diagram