antvis/G6

The issue has been closed
image节点设置fill,会覆盖父容器shape #4451
ChenKun1997 posted onGitHub
Describe the bug
image节点设置fill,会覆盖父容器shape样式
Your Example Website or App
https://g6.antv.antgroup.com/examples/tree/customItemTree#customEdgeTree
Steps to Reproduce the Bug or Issue
- 在146行
group.addShape('image', {
下面的attrs里面加上fill: 'red',效果如图:
Expected behavior
希望如果image节点设置了fill属性,G6内部可以把fill属性omit掉
Screenshots or Videos
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response