You can delete an element you created either in a diagram view or in the model explorer view by right click on the element -> choose "delete selected element" . This action will definitively delete the element.
If you need to delete an element only from a diagram then:
right click on the element in the diagram à choose "delete from the diagram".
We can also delete an element from the model explorer.