GridGraph(3,5).mws
>
with(GraphTheory):with(SpecialGraphs):
>
G := GridGraph(3,5) ;
>
DrawGraph(G);
>
DrawGraph(G,style=spring,dimension=3);
>