---
title: graphs
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gkscene/graphs
---

# graphs

The list of pathfinding graph objects managed by the scene.

## Declaration

```swift
var graphs: [String : GKGraph] { get }
```

## Discussion

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(_:)](gameplaykit/gkscene/removegraph(_:).md)
