Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Delete Elements from Diagram and Model

An element might become inappropriate in a certain context, so you would want to remove it from the diagram in which that context is represented. It is also possible that the element becomes unnecessary in the model as a whole, so you would want to delete it altogether. You therefore have a number of situations under which you would 'delete' an element:

  • Just from a particular diagram
  • As a member of a group of elements to be removed from a diagram
  • From a diagram and from the model at the same time
  • Directly from the model, through the Browser window

Delete an element just from a diagram

Step

Action

See also

1

In the diagram, click on the element to delete.

2

Either:

  • Press the Delete key or Ctrl+D, or
  • Right-click and select 'Delete <element name>'

The element is immediately deleted from the diagram, but not from the model. There is no prompt to confirm the deletion.

Delete a group of elements from a diagram

Step

Action

See also

1

In the diagram, press Ctrl while you click on each element to delete.

2

Either:

  • Press the Delete key or Ctrl+D, or
  • Right-click and select 'Delete selected elements'

The elements are immediately deleted from the diagram, but not from the model. There is no prompt to confirm the deletion.

Delete an element from the model

Step

Action

See also

1

Either:

  • In the Browser window, right-click on the element to delete and select 'Delete <element name>', or
  • In the diagram or Browser window, click on the element to delete and press Ctrl+Delete

A confirmation prompt displays, also offering an option to show the Traceability window so that you can check the impact of deleting the element.

2

Click on the Yes button.

The element is completely removed from all diagrams in which it has been used, and from the model. If you delete an element in this way, you delete all its properties, child objects and connectors as well.

Delete multiple elements from the model

Step

Action

See also

1

On the diagram or in the Browser window, press Ctrl as you click on the elements to remove from the model, to select them.

2

Press Ctrl+Delete to completely remove the elements from the model.

Alternatively, in the Browser window, right-click on one of the selected items and select the 'Delete selected item(s)' option.

In either case, a confirmation prompt displays.

3

In the diagram, the prompt is to confirm deletion of all elements from the model and all diagrams, at once. Click on the Yes button.

In the Browser window, the prompt offers options to confirm and delete:

  • Each element individually (click on the Yes button), or
  • All the elements together (click on the Yes to all button)

The elements are completely removed from all diagrams in which they have been used, and from the model. If you delete elements in this way, you delete all their properties, child objects and connectors as well.