A Boolean value that indicates whether nodes in the grid are connected to their diagonal neighbors.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
If this property’s value is
YES, nodes in the grid are connected to their diagonal neighbors. If the value is
NO, nodes are connected only to their horizontal and vertical neighbors.
You specify this option when creating a grid graph with the
init initializer. After initialization, you can use this property to examine the parameters the graph was created with—for example, to draw the grid as a debugging overlay in your game UI.