aryagraph.algorithms.structure.degree_distribution#

aryagraph.algorithms.structure.degree_distribution(g: Any) → dict[int, int][source]#

{degree: number of nodes} for the degrees that occur, ascending.