Wrong positions on big screens
Example bug report
Something goes wrong with positions of nodes after certain size. What can be the reason?
E.g. here screenshot of https://www.sigmajs.org/storybook/?path=/story/layouts--story with 2000x2000 dimensions. Everything is fine here
But on 4000x4000 you can see that labels are misaligned with nodes and nodes go off screen
any way to workaround this?
My main goal is to make a high-res screenshot of my graph.
Sigma.js version: the one from https://www.sigmajs.org/storybook/?path=/story/layouts--story Graphology version: the one from https://www.sigmajs.org/storybook/?path=/story/layouts--story Operating System: MacOS Tahoe 26.1 Web browser: Brave 1.84
Steps to reproduce
- Go to https://www.sigmajs.org/storybook/?path=/story/layouts--story
- turn on device mode
- set screen resolution to 4000x4000 with dpr 2
Expected behavior
Labels should be aligned with nodes. Nodes should remain in screen
Actual behavior
Labels are misaligned Nodes go off the screen