CANA icon indicating copy to clipboard operation
CANA copied to clipboard

Effective degree computation missing 'weight' argument

Open fxcosta-phd opened this issue 3 years ago • 0 comments

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).

fxcosta-phd avatar Sep 07 '22 23:09 fxcosta-phd