GridGraph(3,5).mws

>    with(GraphTheory):with(SpecialGraphs):

>    G := GridGraph(3,5) ;

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

>    DrawGraph(G);

[Maple Plot]

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

[Maple Plot]

>