apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

[Bug] tree图 edgeShape设置为'polyline'时, linstyle设置的width无效 #20468

Open qlp504847629 opened 3 weeks ago

qlp504847629 commented 3 weeks ago

Version

5.5.1

Link to Minimal Reproduction

https://codepen.io/qlp504847629/pen/eYqraXN

Steps to Reproduce

1.打开codepen 2.查看连接线的粗细 3.注释edgeShape: 'polyline', 4.再次查看连接线粗细

Current Behavior

edgeShape为 'polyline'时, 展开节点的linstyle设置width无效 , 未展开节点的linstyle设置width正常

Expected Behavior

edgeShape为 'polyline'时, 展开节点的linstyle设置width生效

Environment

- OS:Windows 10 专业版
- Browser: Chrome130.0.6723.60
- Framework: echarts官方示例

Any additional comments?

No response

sz-p commented 2 weeks ago

It seems like a BUG in TreeView.ts.

I will work on this.