plot_maze: Plot a simple maze.

Description Usage Arguments Examples

Description

Plot a simple maze.

Usage

1
2
3
4
plot_maze(g, wall.size = 5, tile.show = FALSE, tile.size = 1,
  tile.color = "white", tile.number.show = FALSE,
  tile.number.size = 5, path.show = FALSE, path.start = 1,
  path.end = vcount(g))

Arguments

g

graph with maze structure.

wall.size

size of walls.

tile.show

logical; whether to show tile borders.

tile.size

size of tile borders.

tile.color

color of tile borders.

tile.number.show

logical; whether to show tile number.

tile.number.size

size of tile numbers.

path.show

logical; whether to show the path between two tiles.

path.start

starting point for path.

path.end

end point for path.

Examples

1

ddiez/maze documentation built on May 15, 2019, 1:51 a.m.