apache / apache/echarts

[Feature] graph highlight both nodes and edges

Open
#19,368 5 comments 0 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

I want to highlight the nodes and edges like the picture below by using dispatchAction,but the function can only highlight nodes or edges.Is there any way to achieve this target
截屏2023-12-07 13 51 06

### What does the proposed API look like?

dispatchAction({
type:'highlight',
batch:[
{
dataIndex:[1,2,34,5,6],
dataType:'node'
}
{
dataIndex:[1,2,34,5],
dataType:'edge'
}
]
})

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.