antvis/G6

删除hull中的一个node,如何刷新hull让它能重新画图 #5325

AntarcticPresident posted onGitHub

G6 版本

4.x

问题描述

将一组node划到一个hull里面,然后删除其中一个node,如何让hull重新画图? 发散下,如果hull中所有的node都没有了,如何删除hull? 又如何恢复? 我在官网上只找到了removeHull,即整个删掉。 那更新怎么做?感觉是要修改hull实例,但是没有找到方法。 感谢解惑

重现链接

阿斯蒂芬

重现步骤

这不是个bug,只是询问

预期行为

看到了报错一堆。

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


hi @AntarcticPresident, welcome!

posted by github-actions[bot] over 1 year ago

Hi @AntarcticPresident, Please star this repo if you find it useful! Thanks :star:! 你好 @AntarcticPresident。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests