Skip to content
New issue

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

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

Open
dengtao07 opened this issue Apr 15, 2024 · 3 comments
Open

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

dengtao07 opened this issue Apr 15, 2024 · 3 comments

Comments

@dengtao07
Copy link

dengtao07 commented Apr 15, 2024

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

@x6-bot
Copy link
Contributor

x6-bot bot commented Apr 15, 2024

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

@zlecheng
Copy link

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

@xiapianhaochi
Copy link

有弧度的线是怎么设置的呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants