# GraphViewer

The `Graph Viewer` is a tool that can be used to visualize any script, config or gameobject that has a (partial) GOAP config. Depending on the type of object it can show different information. For example, when selecting an agent during play it will also show the state of it's conditions based on the current WorldData.

The `Graph Viewer` can be accessed through `Tools/GOAP/Graph Viewer`, or by pressing `ctrl + g`.

The `Graph Viewer` can be used to visualize the following selected items:

* **AgentTypeScriptable**
* **CapabilityConfigScriptable**
* **ScriptableCapabilityFactoryBase**
* **AgentTypeFactoryBase**
* **AgentTypeBehaviour**
* **GoapActionProvider**

{% hint style="info" %}
The views look different when selecting a config, or when you select an agent during play. When viewing an agent during play certain information (effects, targetname) is ommitted to save space.
{% endhint %}

![Screenshot of NodeViewer](https://2551805142-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZWdV1mSTzb2x1Sd7xgdN%2Fuploads%2Fgit-blob-2453ec9571e043d9e916d4f7678407c8cc098a39%2Fgoap-viewer.png?alt=media)
