Adds the specified node to the graph, connecting it to its nearest neighbors in the grid.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
A graph node object containing integer grid coordinate information.
Nodes attached through this method do not become part of the grid itself, but instead can represent positions of game entities in the grid. Use nodes connected in this way to find paths between such positions.