The issue has been closed
问题描述
拖拽节点,节点关联的边的状态会被重置
重现链接
www.test.com
重现步骤
1.拖拽节点
2.节点关联边的状态被重置
预期行为
1.拖拽节点
2.节点关联边的状态保持原来的状态
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [4.5.1 ... ]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response

Hi @XiaoRIGE, Please star this repo if you find it useful! Thanks :star:!
你好 @XiaoRIGE。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!
posted by github-actions[bot] over 1 year ago
Hello @XiaoRIGE. Please provide a online reproduction by forking codesandbox of @antv/g6 demo template Issues labeled by Need Reproduce
will be closed if no activities in 3 days.
你好 @XiaoRIGE, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/g6 demo 模板 3 天内未跟进此 issue 将会被自动关闭。

posted by github-actions[bot] over 1 year ago
posted by XiaoRIGE over 1 year ago 
拖拽a节点或者g节点后边的状态会发生改变,我发现如果是默认边不会有这个问题,我项目中使用的自定义边才会有这个情况,是我自定义逻辑有问题吗?
posted by XiaoRIGE over 1 year ago
已解决,发现是自定义边设置状态时少设置了对应样式的状态。
posted by XiaoRIGE over 1 year ago