Deleting class diagrams