How to delete a single block
How to delete multiple blocks at the same time
How to delete lines
Select the block you wish to delete, and hit backspace/delete.
Hold [Shift] + drag over the blocks you wish to select.
Hover over the line you wish to delete, and a small trash can icon should appear.
Click the trash can icon.
Select anywhere on the line.
Click the port that the line is coming from.