The use of undo function is used to reestablish deletions. We also support layers so graphics objects can be put on separate layers to prevent accidental changes.