TorusGridGraph(3,5).mws

>    with(GraphTheory):with(SpecialGraphs):

>    G := TorusGridGraph(3,5)  ;

G := `Graph 23: an undirected unweighted graph with 15 vertices and 30 edge(s)`

>    DrawGraph(G);

[Maple Plot]

>    DrawGraph(G,style=spring,dimension=3);

[Maple Plot]

>   

Al Erickson, Mohammad Ghebleh, Simon Lo, Michael Monagan, New Features of the GraphTheory Package