find the degree sequence of a graph
graph or network
Important: The networks package has been deprecated. Use the superseding command GraphTheory[DegreeSequence] instead.
This routine returns a list of vertex degrees sorted into ascending order.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[degreeseq](...).
G ≔ complete⁡4:
G ≔ random⁡5:
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.