snikproject / graph

Visualization of the snik-ontology.
http://www.snik.eu/graph
GNU General Public License v3.0
8 stars 3 forks source link

Freeze on tight layout on the whole graph #426

Closed KonradHoeffner closed 1 month ago

KonradHoeffner commented 1 month ago

What happened?

  1. CTRL + ALT + R (reset view so you can see everything)
  2. tight layout
  3. browser freezes

Browsers

Firefox, Chrome

Operating systems

Linux

Relevant console output

No response

KonradHoeffner commented 1 month ago

Seems to be a bug in the Cytoscape.js euler layout. Created issue and demo at https://github.com/cytoscape/cytoscape.js-euler/issues/24.

KonradHoeffner commented 1 month ago

acdbcfe adds a workaround while the bug persists.

KonradHoeffner commented 1 month ago

Closing this as there is a workaround. However if in the future the bug gets fixed in cytoscape.js-euler, then the workaround may be removed. However it is still unsure whether the workaround is a problem. On my Intel i9 12900k there is no noticeable difference in time until the page is finished but on lower end hardware it may be noticeable.