Dear Yi, 

First of all, I apologize for sending my thanks so late.
The version of echarts-graph-modularity 2.1.0 is perfect.
I attach an example of our use: analysis of the co-authors of scientific 
articles. 
https://beep.ird.fr/acces/SOURIS-copub.htm QUESTION : Would it be possible to 
export to echarts the clusters informations (graph.categories) generated by 
echarts-graph-modularity to be able to select / deselect each cluster 
(categorie) as in:
https://echarts.apache.org/examples/en/editor.html?c=graph-circular-layout 
with this kind of function : 
legend: [ 
{ 
data: graph.categories.map(function (a) { 
return a.name; 
}) 
} 
], 

Best regards 

Pier Luigi ROSSI 
IRD (Institut de recherche pour le développement) 
France 



De: "Yi Shen" <shenyi....@gmail.com> 
À: "dev" <dev@echarts.apache.org>, "pier luigi rossi" <pier.luigi.ro...@ird.fr> 
Envoyé: Vendredi 15 Octobre 2021 07:25:28 
Objet: Re: Color edge in graph (force or circular) with modularity in 
echarts-graph-modularity 2.0 

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

On Fri, Oct 15, 2021 at 12:46 PM Yi Shen < [ mailto:shenyi....@gmail.com | 
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 < [ mailto:pier.luigi.ro...@ird.fr | 
pier.luigi.ro...@ird.fr ] > wrote: 

BQ_BEGIN
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 

BQ_END



-- 
Yi Shen 
Apache ECharts PMC 

Reply via email to