使用webGL渲染器,且布局为force时,会出现节点丢失的情况。
When using the WebGL renderer with a force layout, there is a situation where nodes may be lost.
若切换为random布局则正常,但是tooltip的提示框位置会出现偏移,似乎是节点的事件触发层出现偏移:
When switching to a random layout, the issue is resolved, but the position of the tooltip appears to be offset, which seems to be due to a misalignment in the event trigger layer of the nodes.
Describe the bug / 问题描述
使用webGL渲染器,且布局为force时,会出现节点丢失的情况。 When using the WebGL renderer with a force layout, there is a situation where nodes may be lost.
若切换为random布局则正常,但是tooltip的提示框位置会出现偏移,似乎是节点的事件触发层出现偏移: When switching to a random layout, the issue is resolved, but the position of the tooltip appears to be offset, which seems to be due to a misalignment in the event trigger layer of the nodes.
Reproduction link / 重现链接
https://codesandbox.io/p/devbox/graph-v5-webgl-ks8nkp
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome, Edge
Additional context / 补充说明
No response