这个不太能改,因为别人可能有需求要精确判断在路径内,这个判断是在整体做的,也不是针对 graph 图的。
针对你这个 case 的话,如果效果就是要像这样的,能不能 `symbol: 'circle'` 呢?
```js
{
"id": "sensor_173130",
"name": "超级传感器",
"parentid": "1_173",
"category": "None",
"symbolSize": 50,
symbol: 'circle',
"itemStyle": {
"borderColor": "#000",
"borderWidth": 5,
color: 'transparent'
}
}
...
links: [{
...
{
"source": 17,
"target": 18,
lineStyle: {
color: 'green',
opacity: 1
}
}
...
```
[ Full content available at:
https://github.com/apache/incubator-echarts/issues/9103 ]
This message was relayed via gitbox.apache.org for [email protected]