freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
738 stars 227 forks source link

Draw2d "reader.unmarshal" is taking 3 minutes to draw 300 elements #196

Open mridul-tamuli opened 2 years ago

mridul-tamuli commented 2 years ago

Hi,

I am working on a requirement to draw a canvas with 300 elements. I am using draw2d "reader.unmarshal" function but entire process is taking up almost 3 minutes to load the canvas completely. Also during the loading of canvas (3 minutes) the CPU usage is 100% and the entire UI becomes unresponsive.

Framework: Angular 10 Draw2d: version 1.0.19 (Also tried with v1.0.38 without success)

Please help me to improve the performance of the application. Thanks in advance.

davec82 commented 2 years ago

Some hints here and in my forked branch