CANA
CANA copied to clipboard
Effective degree computation missing 'weight' argument
When computing the degree of a weighted graph in Networkx, one needs to specify the weight attribute name. This is missing on lines 536 and 548.
Another possible solution (for the indegree) is to set get it from node.effective_connectivity(norm=False).