Deleting domain modeling elements from class diagrams and projects

You can delete domain modeling elements that you no longer require either from a class diagram and the project or from only the diagram.

Before you begin

You must have a class diagram open.

About this task

If you delete domain modeling elements from a class diagram, you remove the elements only from the visual representation in the diagram; however, the elements remain in the project and are still displayed in the Project Explorer or Project Explorer view. If you delete elements from a project, you permanently remove the domain modeling elements from both the diagram and the project.

To delete a domain modeling element from a class diagram or project:

Procedure

  1. In the diagram editor, right-click a diagram element.
  2. From the pop-up menu, complete one of the following steps:
    • To delete the element from only the diagram, click Delete from Diagram.
    • To delete the element from both the diagram and project, click Delete from Project.

Feedback