Regular Graph-- Shaowei Sun

1869 days ago by bigdata2016

Find all regular connected graphs with given order n

n=7 L=list(graphs(n)) gg=[] p1=point((0,0),color='black') for G in L: if G.is_connected() and G.is_regular(): gg.append(G) graphs_list.show_graphs(gg)