# ClearCustomization()

> Clears all customization previously applied to the referenced wire.

## Definition

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

```csharp
public void ClearCustomization()
```

### Remarks

If the wire does not correspond to any connection in the graph, any stored visual data for that wire is removed and the call has no further effect. Throws ObjectDisposedException when you access this method after you call [Context.Dispose](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graphvisualization/context/dispose.md) on the context.

Remove every visual override previously applied to a wire and restore the default drawing in the graph canvas.

### Examples

```csharp
WireReference wire = context.GetWireReference(outputPortID, inputPortID);
wire.ClearCustomization();
```
