// The summed degree of every node in the collection — the whole-collection figure that degree() deliberately is not
eles.totalDegree(includeLoops?: boolean): numberThe summed degree of every node in the collection — the whole-collection figure that degree() deliberately is not.
| Name | Description |
|---|---|
includeLoops: boolean?Default: true | whether self-loops count |
Returns
numberthe total degree (0 when there are no nodes)