Gojs Remove Watermark May 2026

javascript Copy Code Copied // Get the watermark element const watermark = diagram . findObject ( “watermark” ) ; // Remove the watermark if ( watermark ) { diagram . remove ( watermark ) ; }

A watermark in GoJS is a subtle image or text that is displayed on top of a diagram. Watermarks are often used to identify the diagram as a sample or trial version, or to indicate that the diagram is copyrighted. While watermarks can be useful for protecting intellectual property, they can also be distracting and unwanted. gojs remove watermark

You can also use the GoJS API to remove a watermark programmatically. Here’s an example: javascript Copy Code Copied // Get the watermark