Instance Property

graphs

The list of pathfinding graph objects managed by the scene.

Declaration

@property(nonatomic, readonly) NSDictionary<NSString *,GKGraph *> *graphs;

Discussion

When you define pathfinding graphs in the Xcode SpriteKit scene editor, Xcode automatically adds them to this array.

See Also

Managing Pathfinding Graphs

- removeGraph:

Removes a pathfinding graph from the list of graphs managed by the scene.