apache / apache/echarts

Highlight edges through dispatchAction in force-layout graph

Open
#10,676 13 comments 0 reactions 0 assignees View on GitHub
support
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?
In my project, I want to highlight one or some paths (including several edges). However we can only highlight nodes (dataIndex or data name) through dispatchAction. Could you please add some new feature to help to highlight the edges through dispatchAction?

### What does the proposed API look like?
```javascript
myChart.dispatchAction({
type: 'highlight',
seriesIndex: 0,
seriesName: 'test',
edgeDataIndex: number | list
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.