Just published echarts-graph-modularity@2.1.0 to fix it.

On Fri, Oct 15, 2021 at 12:46 PM Yi Shen <shenyi....@gmail.com> wrote:

> Hi,
>
> Thanks for the feedback. It's because edge color is calculated before the
> execution of echarts-graph-modularity. I will fix it in
> echarts-graph-modularity
>
> Regards.
>
> On Thu, Oct 14, 2021 at 7:52 PM <pier.luigi.ro...@ird.fr> wrote:
>
>> Version : 5.2.1
>>
>>
>> Hi to all,
>>
>> I use echarts5 and echarts-graph-modularity 2.0 .
>> I can't have in graphs edge color using this steps
>>
>> lineStyle: {
>> color: 'source',
>>
>> or color : 'target'
>>
>> If you look the exemple in echarts-graph-modularity 2.0 you can see thet
>> the "colors" are wrongs.
>> Compare the same exemple file with the precedent echarts-graph-modularity
>> : in that case the color of the edge is the color of node source (or
>> target).
>> What is expected?
>>
>>
>> I espect to have colors for edges using source or target node color What
>> is actually happening?
>>
>>
>> Actually the edge color is a "general" color
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Best regards
>>
>> Pier Luigi ROSSI, IRD France
>>
>>
>>
>
> --
> Yi Shen
> Apache ECharts PMC
>


-- 
Yi Shen
Apache ECharts PMC

Reply via email to