question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extreme Performance Issues With 600+ Nodes & Edges

See original GitHub issue

Compared 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

  1. clone X6 repo
  2. cd x6/examples/x6-example-drawio
  3. npm install
  4. add JSON data file to project: https://pastebin.com/jiwuQ98G
  5. modify editor.ts file to render data from JSON:
  renderGraph() {
    const graph = this.graph
    graph.render(data)
  }

  start() {
    this.renderGraph()
  }
  1. 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bubkoocommented, Mar 30, 2020

@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.

0reactions
x6-bot[bot]commented, Jun 6, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found