Will there be support for OffscreenCanvas once its released as working draft?


I was recently made aware of a potential new web API for allowing a canvas to be rendered offscreen and potentially within a web worker (different thread from the main UI thread) which could benefit large diagrams.

Is this something that GoJS would potentially look into implementing in the future? It could potentially benefit us in the application we are building as we have a diagram with a large amount of nodes which occasionally stutters when the diagram re renders.

Info on the OffscreenCanvas: MDN OffscreenCanvas

Yes, once it’s available in Firefox and Safari, we’d consider it.
Although in v2.1 we are still supporting Internet Explorer, so that would be a problem – it would have to be in v3.0.