You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
问题描述
边上工具 segments 单独使用时不起作用,一定要和 vertices 配合才起作用是为什么?
重现链接
CodeSandbox
重现步骤
在使用的时候单独添加cell.addTools([
{
name: "segments",
args: {
snapRadius: 20,
attrs: {
fill: "#444",
},
stopPropagation: false,
},
},
]);
页面没用任何工具显示,一定要再添加上vertices,页面才会显示”点 和 长条“的工具来操作连接线:
cell.addTools([
{
name: "segments",
args: {
snapRadius: 20,
attrs: {
fill: "#444",
},
stopPropagation: false,
},
},
{
name: "vertices",
args: {
snapRadius: 20,
attrs: {
fill: "#444",
},
stopPropagation: false,
},
},
]);
有没有办法,只使用segments工具呢?
预期行为
1
平台
1
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: