Good day,
As suggested in this topic the user wanted to know how many nodes the diagram could support.
I have found in my testing the overview significantly degrades the end user experience for a large number of nodes and connectors.
Is there anything I can do to improve the performance of the of the overview and the diagram with large numbers of nodes, around 10k nodes and connectors?
I have included my sample code used for testing:
<!doctype html>
Performance Testing
Copy 10 times (30 elements)
Copy 100 times (300 elements)
Copy 1000 times (3000 elements)
Copy 10000 times (30000 elements)
This text is displayed if your browser does not support the Canvas HTML element.
Save
Load
Diagram Model saved in JSON format:
{ "class": "go.GraphLinksModel",
"linkFromPortIdProperty": "fromPort",
"linkToPortIdProperty": "toPort",
"nodeDataArray": [
{"category":"horizontal2port", "location":"-248.18021297454834 -2597.3509830470334", "text":"A 1", "key":0},
{"category":"horizontal2port", "location":"-154.18021297454834 -2523.8416080470333", "text":"B 1", "key":-9}
],
"linkDataArray": [ {"category":"wire", "text":"Link B1 to A1", "from":-9, "to":0, "fromPort":"L", "toPort":"R"} ]}
Many thanks.
Jonathan