-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
使用html渲染的节点期望可以进行手动连线 #3113
Comments
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. |
将 foreignObject 元素设置为 magnet 即可。 attrs: {
fo: {
magnet: true
}
} |
将 foreignObject 元素设置为 magnet 后 当前节点就不能够拖动了 |
那你需要区分拖动元素与连线元素了,总之,具备 magnet=true 的元素就是可以连线的。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
功能描述
当前最新版本的node节点如果使用html渲染时 渲染后的结果foreignObject覆盖rect 导致无法使用手动连线功能(节点连接节点或节点节点连接 连接桩)。
期望解决方案
使用html渲染的节点时可以进行手动连线
The text was updated successfully, but these errors were encountered: