I updated the logic in community.py. Pruning will now only occur when the input graph has 80% the edges of a complete graph AND the algo does not support weights. A few additional changes were made as well such as checking for directedness and multigraph individually rather than in an if/else statement
I updated the logic in community.py. Pruning will now only occur when the input graph has 80% the edges of a complete graph AND the algo does not support weights. A few additional changes were made as well such as checking for directedness and multigraph individually rather than in an if/else statement