How can I replace existing shapes in draw.io diagrams?

I do have an existing diagram but need to change a few shapes/elements. Do I have to delete the existing ones, insert new shapes and reconnect them or is there an easier way?

Hi there. You bet there’s an easier way :D. You don’t need to delete the shapes. Simply select the shape/shapes you like to change and drag the new shapes from the shape library on one of them and release the mouse once you see the blue “Replace” icon. Alternatively, you can also push and hold the Shift key and click on the desired new shape in the shape library to change the shapes in the draw.iodiagram.