NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.7k stars 2.86k forks source link

Using gojs in node to render large layouts on the server side #193

Closed AbdullahAtdevcodemaps closed 1 year ago

AbdullahAtdevcodemaps commented 1 year ago

Hi, I have a case where I need to render very large layouts, which take up a lot of time. So as an optimisation technique, I thought of using the server to render those layouts, calculating the location of and all the other required info for each node, and just send that data to the front-end for rendering. So I followed this guide. The documentation clearly mentions that "it will output Model JSON results in the console, which include the locations of laid-out Nodes", however that is not working for me as this Model JSON does not contain the location of laid-out nodes, but rather just preliminary information like "nodeDataArray" and "linkDataArray". So needless to say, my rendering is still taking similar amount of time.

My front-end is based on react.

I would really appreciate your support.

simonsarris commented 1 year ago

Please do not use the issue tracker for support. Use the forum or contact us.