# RemoveNode(INode)

> Removes a node from the Graph.

## Definition

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

```csharp
public void RemoveNode(INode node)
```

### Parameters

**** (\[INode]\(/engine/6000.6/script-reference/unity/graphtoolkit/editor/inode)): The node to remove.

### Remarks

Enclose this method with [Graph.UndoBeginRecordGraph](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graph/undobeginrecordgraph.md) and [Graph.UndoEndRecordGraph](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graph/undoendrecordgraph.md) to add this operation to the undo stack and to update the graph view with the changes.
