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
cellView.highlight(elem, { highlighter: { name: 'stroke', args: { padding: 4, attrs: { 'stroke-width': 2, stroke: 'red', } }, }, }) 文档每太看懂,我cellView是使用graph.findView(cell)获取到的,其中cell是我要高亮的节点。后边这个elem参数应该传什么?我传的cell这个参数也没有效果
无
cell这个节点可以高亮
No response
The text was updated successfully, but these errors were encountered:
解决了,第一个参数需要传view.container
Sorry, something went wrong.
所以怎么实现的高亮呀~
No branches or pull requests
问题描述
cellView.highlight(elem, {
highlighter: {
name: 'stroke',
args: {
padding: 4,
attrs: {
'stroke-width': 2,
stroke: 'red',
}
},
},
})
文档每太看懂,我cellView是使用graph.findView(cell)获取到的,其中cell是我要高亮的节点。后边这个elem参数应该传什么?我传的cell这个参数也没有效果
重现链接
无
重现步骤
无
预期行为
cell这个节点可以高亮
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: