To delete an object or a relationship in a diagram, select it on the diagram canvas and choose Delete Selected in the right-click menu.