To delete nodes from your data flow you must first select the node or nodes that you want to remove. For full details on selecting nodes, please refer to the topic Selecting nodes.
To delete the selected nodes, you can either choose the Delete command from the toolbar, hit the Delete key, or right-click on the canvas and select Delete.
See Node shortcuts for information on how to undo a delete action.