Extreme Performance Issues With 600+ Nodes & Edges
See original GitHub issueCompared to G6 (GGEditor) and cytoscapeJS with similar data structure the load of graph is almost instant (< 1 second).
Here is example static page I created with the same data across 3 different graph frameworks. Graph Tests
Created also example page with X6 problem: https://x6grapheditor.z16.web.core.windows.net/
Expected Behavior
- the data to be loaded instantly and zoom in/out is smooth with 600+ nodes & edges
Current Behavior
- when trying to zoom out the page completely freezes for good minute and each action afterwards is beyond slow
Steps To Reproduce
- clone X6 repo
- cd x6/examples/x6-example-drawio
- npm install
- add JSON data file to project: https://pastebin.com/jiwuQ98G
- modify editor.ts file to render data from JSON:
renderGraph() {
const graph = this.graph
graph.render(data)
}
start() {
this.renderGraph()
}
- npm run start
Additional Context
This data with nodes & edges is real life example I’m using in my projects. I have anonimized the data so I can put it publicly.
Your Environment
-
cloned official example of this repository x6/examples/x6-example-drawio
-
node: 10.15.0
-
npm: 6.11.3
-
x6: 0.3.0
-
OS: Windows 10 Ver 1909
-
Browser: Chrome Version 80.0.3987.149 (Official Build) (64-bit)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Inferring Missing Nodes and Edges in Networks
sider a problem where both edges and nodes are missing. Thus, the question that we address ... maintains its high performance, while the...
Read more >Compressing Networks with Super Nodes | Scientific Reports
Edges in the network between nodes in the decomposition set are then removed. This process is repeated until all edges in the original...
Read more >Performance Issues Encountered While Gaming with Intel®...
Poor performance encountered on Intel® Graphics while gaming, including: Lagging; Frame drops; Low FPS (Frames Per Second). Resolution. Steps to resolve poor ...
Read more >Application performance issues related to nodes in clustered ...
Learn how to troubleshoot application performance issues related to nodes in a multi-cluster environment, specifically heap on the web node, ...
Read more >Arm CoreLink MMU-600 System Memory Management Unit ...
Each TCU Node Control register controls how the TCU communicates with a single node. A node is a DTI master that is typically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@avilde The possible reason may be each node/edge will be re-rendered when zoom in/out, we are working on only scale the top-most group
g
instead of re-rendering each nodes.This thread has been automatically locked because it has not had recent activity.
Please open a new issue for related bugs and link to relevant comments in this thread.