plot hierarchical structure