tree-view for bidconvention structure with open/close toggle functionality