# EdgeConnector<TEdge>

> Manipulator for creating new edges.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.5/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor
* **Inherits from:** [EdgeConnector](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector.md)
* **Implements:** [IManipulator](/engine/6000.5/script-reference/unityengine/uielements/imanipulator.md)

```csharp
public class EdgeConnector<TEdge> : EdgeConnector, IManipulator where TEdge : Edge, new()
```

## Constructors

| Constructor                                                                                                                                                              | Description                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- |
| [EdgeConnector\`1(UnityEditor.Experimental.GraphView.IEdgeConnectorListener)](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/ctor.md) | EdgeConnector's constructor. |

## Properties

| Property                                                                                                              | Description                        |
| --------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [edgeDragHelper](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/edgedraghelper.md) | Reference to the edge drag helper. |

## Methods

| Method                                                                                                                                              | Description                                                     |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [Abort](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/abort.md)                                                 | Called when an edge creation is cancelled.                      |
| [OnMouseDown](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onmousedown.md)                                     | Called on mouse down event.                                     |
| [OnMouseMove](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onmousemove.md)                                     | Called on mouse move event.                                     |
| [OnMouseUp](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onmouseup.md)                                         | Called on mouse up event.                                       |
| [OnPointerDown](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onpointerdown.md)                                 | Called when a pointer down event occurs on the target element.  |
| [OnPointerMove](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onpointermove.md)                                 | Called when a pointer move event occurs on the target element.  |
| [OnPointerUp](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/onpointerup.md)                                     | Called when a pointer up event occurs on the target element.    |
| [RegisterCallbacksOnTarget](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/registercallbacksontarget.md)         | Called to register click event callbacks on the target element. |
| [UnregisterCallbacksFromTarget](/engine/6000.5/script-reference/unityeditor/experimental/graphview/edgeconnector1/unregistercallbacksfromtarget.md) | Called to unregister event callbacks from the target element.   |

## Inheritance

**Inherited Members:**

* [PointerManipulator.CanStartManipulation(IPointerEvent)](/engine/6000.5/script-reference/unityengine/uielements/pointermanipulator/canstartmanipulation.md)
* [PointerManipulator.CanStopManipulation(IPointerEvent)](/engine/6000.5/script-reference/unityengine/uielements/pointermanipulator/canstopmanipulation.md)
* [MouseManipulator.CanStartManipulation(IMouseEvent)](/engine/6000.5/script-reference/unityengine/uielements/mousemanipulator/canstartmanipulation.md)
* [MouseManipulator.CanStopManipulation(IMouseEvent)](/engine/6000.5/script-reference/unityengine/uielements/mousemanipulator/canstopmanipulation.md)
* [MouseManipulator.activators](/engine/6000.5/script-reference/unityengine/uielements/mousemanipulator/activators.md)
* [Manipulator.target](/engine/6000.5/script-reference/unityengine/uielements/manipulator/target.md)
