DegreeSequence returns a list of the degrees of the vertices of G. For directed graphs, the directions of the edges are ignored.
G≔Graph 1: an undirected unweighted graph with 4 vertices and 4 edge(s)
H≔Graph 2: a directed unweighted graph with 4 vertices and 4 arc(s)
Download Help Document
What kind of issue would you like to report? (Optional)