X6
X6 copied to clipboard
显示隐藏的节点后,边没有连到节点的连接桩上
Describe the bug
有红蓝两个节点,边连接到两个节点的连接桩上
初始化时将红色节点隐藏,通过 setVisible
方法展示,展示后边没有连接到红色节点的连接桩上,连到了节点的左上角
期望:显示红色节点后,边连到红色节点的连接桩上,如图一所示
Your Example Website or App
https://codesandbox.io/p/sandbox/funny-gwen-4cn8m6?file=%2Findex.tsx%3A77%2C22
Steps to Reproduce the Bug or Issue
点击左上角【显示隐藏节点】按钮
Expected behavior
期望:显示红色节点后,边连到红色节点的连接桩上,如下图所示
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 2.11.1]
Additional context
No response
👋 @dengtao07
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
是不是进历史记录栈里面了哦https://www.yuque.com/sxd_panda/antv/x6