# GetGraphAssetGUID(Graph)

> Retrieves the globally unique identifier (GUID) for the asset associated with the specified Graph.

## Definition

* **Type:** Method
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.5/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public static GUID GetGraphAssetGUID(Graph graph)
```

### Parameters

**** (\[Graph]\(/engine/6000.5/script-reference/unity/graphtoolkit/editor/graph)): The graph whose asset GUID you want to retrieve.

### Returns

| Type | Description                  |
| ---- | ---------------------------- |
| GUID | The GUID of the graph asset. |

### Remarks

Use this method to get a persistent identifier for a graph asset. The GUID allows reliable tracking, referencing, and linking to graph assets across different Unity sessions.
