Hi Walter, I’m trying to add a icon (button) inside canvas and when user clicks on that button it should open a new browser window.
If you want a Button that is a piece of a Node or a Link, please read GoJS Buttons -- Northwoods Software
I’m not sure what you are intending. You must not manipulate the HTML DOM within the DIV element that hosts the Diagram. Only the GoJS library may do that.
But you could add an HTML <input> or <button> element in your page where you like.