Remove Watermark in Salesforce

Hi Team,

We are using goJs in a Lightning Web Component inside of Salesforce.

But despite adding the License Key in the lwc component the watermark still remains.

Below is the code snippet that we are using to render the go js and add the license key.

renderedCallback(){
this.initializeGoJs();
}

initializeGoJs() {
const go = window.go;
go.Diagram.licenseKey = ‘…License Key…’
const $ = go.GraphObject.make;
const diagram = $(go.Diagram, this.template.querySelector(‘.gojs-diagram’), {
initialContentAlignment: go.Spot.Center,
‘undoManager.isEnabled’: true,
});

…Rest of the code…
}

Hi. You have already started a conversation via email, so we’ll continue it there.