Incorrect complex fruchterman layout rendering when GPU accelerated #3424
AgustinBanchio posted onGitHub
Describe the bug
When a Fruchterman layout graph has complex data and is GPU accelerated, the layout is incorrectly rendered.
Sometimes it doesn't show at all and you need to pan and scroll around to see it, and it's all squashed in a diagonal line. See attached screenshot.
This can be replicated with the GPU layout example for complex data.
It doesn't happen on every machine. It runs correctly on other Windows PCs or on a MacBook.
My guess is that it has to do with the actual Graphics Adapter or driver? Nvidia Drivers on Windows?
Tried on different browsers, with no extensions or add-ons, tried replacing direct x with open GL and the issue still persisted.
Your Example Website or App
https://g6.antv.vision/en/examples/net/gpuLayout#fruchtermanComplexData
Steps to Reproduce the Bug or Issue
Go to https://g6.antv.vision/en/examples/net/gpuLayout#fruchtermanComplexData. See the rendered layout.
Expected behavior
The layout should be rendered correctly and not squashed
Screenshots or Videos
Platform
- OS: Windows 10
- Browser: Chrome (Edge and Firefox also have the same issue.)
- Version: 97.0.4692.71
- GPU: Nvidia GeForce 3090 with latest windows 10 drivers
Additional context
Maybe someone with a similar graphics card and setup can try to reproduce and find the issue.
We are having the same issues with M1 and M1Pro MacBooks