Right-click the Element or Relation (name text) and select the “Remove From Canvas” option.