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

自定义锚点形状为半圆后,自带的连线功能无效了,不能连线了[Bug report] #1260

Closed
woshikey opened this issue Aug 3, 2023 · 2 comments

Comments

@woshikey
Copy link

woshikey commented Aug 3, 2023

getAnchorShape(anchorData) {
const { x, y,type } = anchorData;
return h(
"svg",
{
x: x -5,
y: y-15,
viewBox: '0 0 1024 1024',
width: 18,
height: 36,
},
h("path", {
d:"M263.769088 1020.42112l-7.254016-79.542272c400.029696-36.483072 431.11936-352.07168 431.11936-447.927296-0.512-15.511552-17.736704-409.653248-427.492352-409.653248v-79.872c389.047296 0 501.982208 319.379456 507.343872 488.257536 0.02048 234.053632-132.312064 494.865408-503.716864 528.73728z",
fill:"#707070"
})
);
}

@github-actions
Copy link

github-actions bot commented Aug 3, 2023

由于所提供信息的不充分,该 issue 被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
@wumail
Copy link
Collaborator

wumail commented Aug 3, 2023

补充个最小可复现demo吧

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

2 participants