We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
边上工具 - [source-arrowhead] - [tagName]参数无效
cell.addTools([ { name: 'source-arrowhead', args:{ tagName:'circle', attrs: { fill: 'red', }, } }, ])
使用如上代码,渲染出的箭头仍然是path类型。
期望根据传参改变箭头样式,兼容内置的箭头类型即可
No response
The text was updated successfully, but these errors were encountered:
有没有复现 demo 呢,我看官网例子 https://codesandbox.io/s/rhppls 是好的呀。
Sorry, something went wrong.
知道了,是需要再注册一个自定义边上工具,然后声明tagName,再使用就可以了。直接写tagName是无效的
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.
No branches or pull requests
问题描述
边上工具 - [source-arrowhead] - [tagName]参数无效
重现链接
重现步骤
使用如上代码,渲染出的箭头仍然是path类型。
预期行为
期望根据传参改变箭头样式,兼容内置的箭头类型即可
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: