mesa_frames.Grid.neighborhood_type#

property Grid.neighborhood_type: Literal['moore', 'von_neumann', 'hexagonal']#

The type of neighborhood to consider (moore, von_neumann, hexagonal).

It is set uniquely at the creation of the grid.

Return type:

Literal[‘moore’, ‘von_neumann’, ‘hexagonal’]