Hi Alexey New API won't emphasize the adjacent links and nodes by design. We will consider adding an option to enable it if necessary.
Regards On Sat, Apr 24, 2021 at 11:59 PM Alexey Lesovsky <lesov...@gmail.com> wrote: > Difference is easy to see when comparing "Les Miserables" charts v4 > <https://echarts.apache.org/v4/examples/en/editor.html?c=graph> vs v5 > <https://echarts.apache.org/examples/en/editor.html?c=graph> in > Examples. On v4, adjacent links and nodes are also emphisized on focus, > on v5 links and nodes stay the same. > > On 2021/04/23 15:49:51, Alexey Lesovsky <l...@gmail.com> wrote: > > Hi,> > > > > I upgraded to ECharts 5 and found some changes in graph series, but I > don't> > > understand, is it a bug or it works as intended.> > > Property "focusNodeAdjacency" has been replaced to "emphasis.focus". > And> > > with this change, the emphasis of adjacent links and nodes started to > work> > > differently. In the old version, the item under pointer and adjacent > links> > > and nodes are scaled together. Now only the item under the pointer is> > > scaled, adjacent links and nodes are not scaled and have the same style> > > like they are not emphasised.> > > > > Is it work like intended?> > > > > -- > > > Regards, Alexey> > > > -- Yi Shen Apache ECharts PMC