ftheberge / Ensemble-Clustering-for-Graphs

Code, notebooks and examples with ECG: Ensemble Clustering for Graphs
MIT License
31 stars 0 forks source link

Directed graphs #3

Open jackobenco016 opened 2 years ago

jackobenco016 commented 2 years ago

Hello,

How can we change the function community_ecg in order to deal with directed graphs ? Actually, it doesn't take into account this kind of graphs ?

Thanks

ftheberge commented 2 years ago

ECG relies on computing first level of Louvain algorithm, which is only implemented for undirected graphs in igraph. There is a new package implementing Louvain for directed graphs (sknetwork); I plan to look at this package to implemented ECG for directed graphs.