Web Worker For GOJS Diagram

Hi Walter,
GoJS on web worker
Any update on using web worker for diagram canvas which allows to run each diagram on separate web worker?

No, there hasn’t been. Note that web workers can really only be used for non-interactive computations, so it would not make sense for the interactive behavior of a diagram to be run in a web worker. We are hoping that we can detect beforehand potentially long layout computations, and perform those in web workers.

That other forum topic also discusses AvoidsNodes routing in very large diagrams as being a problem. That might be better now in version 1.7.8, although it might not be for your app.

How many nodes and how many links are you dealing with? Are the performance problems only on initialization? If so, virtualization and other layouts might help. GoJS Performance Considerations -- Northwoods Software