-
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
Svg图片的节点如何拖动边框改变图片大小? #3889
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
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. |
问题描述
参考官方示例的“使用 SVG 自定义图标https://x6.antv.antgroup.com/zh/examples/node/custom-node/#custom-icon-with-svg,使用的本地SVG图片作为节点,也配置了resizing:true,但是还是不能改变图片的大小,求解。
重现链接
https://x6.antv.antgroup.com/zh/examples/node/custom-node#custom-icon-with-svg
重现步骤
1、配置resizing : true 属性
2、拖动节点边框,图片尺寸不变化
预期行为
希望图片的尺寸与拖动的节点尺寸一致
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: