Selection of association type and role type for tree view