I tried for the following graph but in the resultant graph edge set changes.
G = graphs.DegreeSequenceTree([1,2,3,1,3,1,3,1,1]) G.edges(labels=False) [(6,1),(1,5),(5,0),(5,3),(3,2),(3,8),(8,4),(8,7)] G.show()
1 | initial version | asked 2017-08-27 12:45:38 +0100 Anonymous |
I tried for the following graph but in the resultant graph edge set changes.
G = graphs.DegreeSequenceTree([1,2,3,1,3,1,3,1,1]) G.edges(labels=False) [(6,1),(1,5),(5,0),(5,3),(3,2),(3,8),(8,4),(8,7)] G.show()