X6 icon indicating copy to clipboard operation
X6 copied to clipboard

显示隐藏的节点后,边没有连到节点的连接桩上

Open dengtao07 opened this issue 10 months ago • 2 comments

Describe the bug

有红蓝两个节点,边连接到两个节点的连接桩上

image

初始化时将红色节点隐藏,通过 setVisible 方法展示,展示后边没有连接到红色节点的连接桩上,连到了节点的左上角 期望:显示红色节点后,边连到红色节点的连接桩上,如图一所示

iShot_2024-04-15_20 00 51

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

点击左上角【显示隐藏节点】按钮 image

Expected behavior

期望:显示红色节点后,边连到红色节点的连接桩上,如下图所示

image

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 avatar Apr 15 '24 12:04 dengtao07

👋 @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.

x6-bot[bot] avatar Apr 15 '24 12:04 x6-bot[bot]

是不是进历史记录栈里面了哦https://www.yuque.com/sxd_panda/antv/x6

zlecheng avatar May 15 '24 08:05 zlecheng