antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

【V5】使用WebGL渲染器且布局为force时,节点渲染异常 When using the WebGL renderer with a force layout, there is an abnormality in node rendering. #6130

bosenger posted onGitHub

Describe the bug / 问题描述

使用webGL渲染器,且布局为force时,会出现节点丢失的情况。 When using the WebGL renderer with a force layout, there is a situation where nodes may be lost. <img width="776" alt="Snipaste_2024-08-06_10-48-45" src="https://github.com/user-attachments/assets/dc502c93-76d0-4c87-aa5b-212b3eba9552"> 若切换为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. <img width="929" alt="image" src="https://github.com/user-attachments/assets/974d11a1-3485-4942-ac37-3592639e225c">

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


感谢反馈,我们会尽快验证该问题并修复 Thanks for the feedback, we will verify the issue and fix it soon

posted by Aarebecca 9 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests