Buttons on the Canvas for ZoomIn/ZoomOut

Hi,

I need to add 2 buttons at the bottom left corner of my GoJS diagram canvas which will be calling the functions to Zoom In and Zoom Out respectively. Please look at the following image for reference:

How can I do this?

Just create an HTML element with two Images in it, and overlay it with the Diagram’s HTMLDivElement.

For a more complete example of this, please use the ZoomSlider that GoJS provides: https://gojs.net/latest/extensions/ZoomSlider.html