WebGraph - Maple Help

GraphTheory[SpecialGraphs]

 WebGraph
 construct web graph

 Calling Sequence WebGraph(a, b)

Parameters

 a - positive integer with $a\ge 3$ b - positive integer

Description

 • The WebGraph(a,b) command returns the web graph with parameters a and b. Namely it returns the Cartesian product of CycleGraph(a) and PathGraph(b).

Examples

 > $\mathrm{with}\left(\mathrm{GraphTheory}\right):$
 > $\mathrm{with}\left(\mathrm{SpecialGraphs}\right):$
 > $W≔\mathrm{WebGraph}\left(7,3\right)$
 ${W}{≔}{\mathrm{Graph 1: an undirected unweighted graph with 21 vertices and 35 edge\left(s\right)}}$ (1)
 > $\mathrm{DrawGraph}\left(W\right)$