Creates a graph that describes an integer grid with the specified dimensions.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The lowest x- and y-coordinates to appear in the grid.
The number of possible x-coordinates in the grid.
The number of possible y-coordinates in the grid.
YESto connect nodes in the grid to their diagonal neighbors;
NOto connect nodes only to their horizontal and vertical neighbors.
A new grid graph.
All connections created through this method are bidirectional.