-
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
自定义的非path节点怎样拖拽大小 #3705
Comments
👋 @hhzhldhjl Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
具备修改元素尺寸的条件是:节点内部的元素的尺寸、位置是通过相对属性来赋值的,比如 refWidth、refX,这样才能做到拖拽的时候自适应大小。 |
好的,谢谢 |
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. |
问题描述
自定义节点怎样才能拖拽调整大小,path的形式我知道可以用refD,但是像官网图表示例中的开关这种通过多个圆形和矩形的形式组合的应该怎样做呢
重现链接
https://x6.antv.antgroup.com/zh/examples/node/custom-node/#switch
重现步骤
https://x6.antv.antgroup.com/zh/examples/node/custom-node/#switch
预期行为
https://x6.antv.antgroup.com/zh/examples/showcase/practices/#flowchart
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: