Maximum number of visible nodes

Hello,

At the company I work in we've been doing extensive testing of SyncFusion in order to develop a diagram editor, using the Diagram control to provide the basic features and extend to our code starting from there.

The products we're developing require a great number of nodes to be part of a diagram at once, sometimes in the number of ten thousands (10000+). While we did a quick test of a diagram in the order of a thousand nodes (1000+) and it worked quite well after the nodes were loaded, we weren't able to reach the same result when moving the node number to a higher order of magnitude. It is important to note that while we require to have the nodes added to a Diagram object, we do not require to show them all at once whatsoever.

I'm writing this post to know if there is an option to have the possibility of having a very big number of nodes to be added to a diagram in some fashion, with them only being visible in a much smaller number at once. I was thinking of the possibility of keeping the references to them in memory or to show them in a "virtual scroll" way only when they're required to be shown, or displaying them according to the "zoom" level of the diagram that is currently displayed.

Please let me know if I was clear enough with the request and, hopefully if there is a way to achieve the feature that we're trying to implement.

Thanks in advance.





1 Reply 1 reply marked as answer

AR Aravind Ravi Syncfusion Team June 17, 2020 12:00 PM UTC

Hi Ramiro, 
In diagram we can load many number of nodes and by using the Virtualization feature we can optimized the performance of diagram. Virtualization gives an optimized performance while loading and dragging items to the Diagram that consists of many Nodes and Connectors. To enable virtualization in the diagram set diagram constraints as virtualization. 
 
For more information about virtualization please refer below UG documentation link: 
 
 
Regards 
Aravind Ravi 
 
 


Marked as answer
Loader.
Up arrow icon