I am using python 3.7 and networkx 2.2.
I created a directed graph with networx and want to calculate the communities with greedy_modularity_communities. But I get an error that IndexError: list index out of range.
Can you please help me with this issue? or is there any community detection algorithm from networkx for directed graphs?