Add magnifying glass feature to Canvas

When looking at a diagram with too much detail, we can’t see the components and still maintain the same view. I think adding the magnifying glass tool as shown below will be very helpful!!! However the problem is need to deal with the resolution and interact with the element when zoomed in.