The following code effectively converts the image to the JPG format.
But I would like to export it using PDF format. However, the modified code below seems to be quite unsuccessful. I am aware that Maple has export options in the front end, but I still prefer to use code for this purpose.
Error, (in Export) invalid input: member received _ImportExport:-InfoTable["PDF"], which is not valid for its 2nd argument, s
There are two reasons for this.
Graphs:=[NonIsomorphicGraphs(6,8,output=graphs,outputform = graph)]:
Matrix (num,5,(i,j)->`if`((i-1)*5+j<=num_g, DrawGraph(Graphs[(i-1)*5+j],size=[250,250] ,overrideoptions ,showlabels=false,style=planar, stylesheet = [
vertexcolor = orange
,vertexfontcolor = black
,vertexborder = false
,edgethickness = 0.6
,edgecolor = MidnightBlue
,vertexshape = "circle"
,vertexfont = [Arial, 4],
vertexthickness=5], caption = cat(H__,5*(i-1)+j),captionfont=["ROMAN",7]),plot(x = 0 .. 1, axes = none))):
DocumentTools:-Tabulate (M1[1..5,.. ],widthmode=percentage ,width=80 , exterior =all):