I created an issue to track this feature. https://github.com/apache/echarts/issues/14788
On Sun, Apr 25, 2021 at 2:31 PM Yi Shen <shenyi....@gmail.com> wrote: > Thanks for providing the use case. I think it will be useful in cases like > this > > Regards > > On Sun, Apr 25, 2021 at 2:27 PM Alexey Lesovsky <lesov...@gmail.com> > wrote: > >> If you consider adding such option in future I will very grateful to >> ECharts team. >> >> My usecase can be found here - https://pgstats.dev >> >> Labels and blocks are linked using invisible links. With ECharts 4 when >> focusing on diagram item, all linked (adjacent) items also focused too >> and links become visible. After upgrade to ECharts 5 I've lost such >> behavior, but fortunately it is not critical. So if this option will >> appear again it will be good; if not - it is also ok, and not an issue. >> >> Regards, Alexey >> >> >> On 2021/04/25 03:26:14, Yi Shen <s...@gmail.com> wrote: >> > 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 <le...@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> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org >> For additional commands, e-mail: dev-h...@echarts.apache.org >> >> > > -- > Yi Shen > Apache ECharts PMC > -- Yi Shen Apache ECharts PMC