# SupportsSubgraphs

> Indicates that this graph supports subgraphs.

## Definition

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

```csharp
SupportsSubgraphs = 1
```

### Remarks

When enabled, the “Create Local Subgraph from Selection” item will be available in the right click menu of a selection of elements in the graph and the “Create Empty Local Subgraph” item will be available in the right click menu of the graph canvas.
