refactor(zoom): some optimization

- methods in a graph and a map classes use a superclass method to define
a zoom

time: 0h:0