# AddElement(GraphElement)

> Adds the specified GraphElement to the StackNode.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.5/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public void AddElement(GraphElement element)
```

### Parameters

**** (\[GraphElement]\(/engine/6000.5/script-reference/unityeditor/experimental/graphview/graphelement)): The GraphElement to add.
