We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用了两种方法去更新自定义节点。
使用此方法在连续两次给同一节点绘制时,edge路径异常、绘制的窗口也不会居中。
使用这个方法在每次更新只会执行删除或者添加二选一,此外当有多个添加的数据时绘制的窗口也不会居中。
https://codesandbox.io/p/sandbox/silly-snowflake-7dp2mc
No response
🆕 5.x
The text was updated successfully, but these errors were encountered:
您提到在使用 G6 5.x 版本时,遇到了自定义节点更新异常的问题。具体来说:
updateData
removeData
addData
为了更好地帮助您解决这个问题,我建议您检查以下几点:
graph.refresh()
graph.fitView()
update
如果这些建议没有解决您的问题,您可以提供更多的代码细节,或者在复现链接中详细描述如何触发问题,以便我能更好地帮助您。
Sorry, something went wrong.
No branches or pull requests
Describe the bug / 问题描述
使用了两种方法去更新自定义节点。
使用此方法在连续两次给同一节点绘制时,edge路径异常、绘制的窗口也不会居中。
使用这个方法在每次更新只会执行删除或者添加二选一,此外当有多个添加的数据时绘制的窗口也不会居中。
Reproduction link / 复现链接
https://codesandbox.io/p/sandbox/silly-snowflake-7dp2mc
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: