// The largest total degree among the collection's nodes
eles.maxDegree(includeLoops?: boolean): number | undefinedThe largest total degree among the collection's nodes.
| Name | Description |
|---|---|
includeLoops: boolean?Default: true | whether self-loops count |
Returns
number | undefinedthe maximum degree, or undefined when there are no nodes