# UseWithGraphAttribute(params Type[])

> Initializes a new instance of the UseWithGraphAttribute class with the specified supported graph types.

## Definition

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

## UseWithGraphAttribute(Type\[])

```csharp
public UseWithGraphAttribute(params Type[] graphTypes)
```

### Parameters

**** (\[Type\[]]\(https\://learn.microsoft.com/dotnet/api/system.type)): An array of graph types that support the decorated node type.
