I am creating go.Picture to be displayed as images for the nodes based on base64 encoded images:
let picture = new go.Picture();
let base64picture = document.createElement("img");
base64picture.src = base64EncodedImageSrc;
picture.element = base64picture;
Now I would like to apply a css class in order to show the image in gray-scale.
I’ve tried several ways (.className, $(...).addClass()) of adding the class to the base64picture element but they have no effect.
Could you point me into the right direction how I could apply some css to the go.Picture?