# OnElementsRemoved(IEnumerable<GraphElement>)

> Called when GraphElements are removed from the Scope.

## Definition

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

```csharp
protected virtual void OnElementsRemoved(IEnumerable<GraphElement> elements)
```

### Parameters

**** (\[IEnumerable\<GraphElement>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): The removed elements.
