construct graph with specified degree sequence
The SequenceGraph command returns a graph with the specified degree sequence given as input, if such a graph exists. It raises an exception otherwise. To check if a graph with given degree sequence exists, use IsGraphicSequence.
L ≔ 3,2,4,2,3,4,5,7
G ≔ SequenceGraph⁡L
G≔Graph 1: an undirected graph with 8 vertices and 15 edge(s)
Download Help Document
What kind of issue would you like to report? (Optional)