V7 >1000 nodes #345
-
We where using v6 to plot a bunch of process relationships. However for some reason after 400 nodes my browser just hangs and starts crashing due to unresponsive scripts (not even attempting to render the edges yet)
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, @FVernooij! Thanks for reaching out and using Svelvet. Right now, 250 Nodes (+connections) seems to be the spot where we start to drop frames or have unreasonable load times. I'm actively looking into general performance optimizations for situations like yours where Svelvet is being used less for interaction and more for visualization. In those cases, we'll likely offer a flag at the Svelvet level that would turn off certain more expensive features. I'll keep you posted, but know that this is an active area for us. Anchors can be disabled when creating custom Nodes with the |
Beta Was this translation helpful? Give feedback.
-
Optimizations will be coming in the next version that won't require flags. We rather conditionally turn off certain listeners/features based on how the Node has been configured. I'm able to get 1000+ Nodes and Edges rendering in the latest version of Safari without issues. There are some issues with Chrome when zoomed in, but I think I can get those resolved in time. We're likely ~two weeks out from release. At some point, we'll expose a new Node component type that is purely for larger, less interactive visualizations, but that will come after the next release. I think this is a better approach than putting flags on a single component type. They are two pretty different approaches and I'd like to have them logically separated. |
Beta Was this translation helpful? Give feedback.
Optimizations will be coming in the next version that won't require flags. We rather conditionally turn off certain listeners/features based on how the Node has been configured. I'm able to get 1000+ Nodes and Edges rendering in the latest version of Safari without issues. There are some issues with Chrome when zoomed in, but I think I can get those resolved in time. We're likely ~two weeks out from release.
At some point, we'll expose a new Node component type that is purely for larger, less interactive visualizations, but that will come after the next release. I think this is a better approach than putting flags on a single component type. They are two pretty different approaches and I'…