import * as go from 'gojs'; // GOOD: Set this immediately, outside any component go.GraphObject.licenseKey = process.env.REACT_APP_GOJS_LICENSE;
Searching for is the single most common query among new GoJS users. While the immediate reaction is often to look for a quick hack or a cracked version, this article will explain everything you need to know: why the watermark exists, the legitimate ways to remove it, the risks of illegal removal, and how to ensure your production environment is clean. Why Does GoJS Display a Watermark? Before attempting to remove the watermark, you must understand its purpose. Northwoods Software is a commercial enterprise. GoJS is not free open-source software; it is a paid, proprietary library. gojs remove watermark
After applying your license key, run this quick verification script in the browser console: import * as go from 'gojs'; // GOOD:
GoJS re-renders the diagram on every interaction (zoom, pan, drag, drop). The watermark is recreated on every draw cycle. CSS hiding might work for one frame, but the canvas redraw will bring it back. Furthermore, the watermark is often rendered directly onto the canvas as a rasterized image, not as a separate DOM element. Claim #2: Patching the go.js / go-debug.js File Advanced users try to use a Hex editor or a JavaScript beautifier to search for the string "watermark" or "Trial Version" inside the go.js file and manually delete the code. Before attempting to remove the watermark, you must
No. The watermark in GoJS is not time-limited in the traditional sense. The trial version does not "expire" after 30 days. Instead, the watermark is always present in the trial distribution. It does not phone home to a server. The code that renders the watermark is compiled into the library. Resetting your system clock or clearing caches will have zero effect. The Dangerous Path: Hacked and Cracked Methods Search deeper for "gojs remove watermark," and you will find forum posts, GitHub gists, and shady YouTube tutorials claiming to remove the watermark without a license. These are dangerous. Let us analyze what these "methods" actually do. Claim #1: Removing the DIV via CSS Some developers inspect the diagram in Chrome DevTools, find the watermark <div> , and try to hide it with:
There is no secret backdoor. The only "gojs remove watermark" solution that works 100% of the time, forever, is the official license key. Frequently Asked Questions (FAQs) Q: Can I remove the GoJS watermark in development only? A: No. The trial version always shows a watermark. You must either purchase a license or use an open-source alternative.
A: This does not work. GoJS initializes the canvas and draws the watermark immediately upon instantiation. Hiding the container does not prevent the drawing commands.