KnightTourGraph

KnightTourGraph[m,n]
gives a Knight's tour graph on an mn chessboard.

Details and OptionsDetails and Options

  • KnightTourGraph[m,n] is a graph with vertices corresponding to an mn chessboard and with edges corresponding to all legal moves for a knight on that chessboard.
  • KnightTourGraph takes the same options as Graph.
Introduced in 2010
(8.0)