Class SystemEdgeDragHelper<TEdge>
SystemEdgeDragHelper handles dragging of edges in the graph. Implements the UnityEditor.Experimental.GraphView.EdgeDragHelper
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class SystemEdgeDragHelper<TEdge> : EdgeDragHelper where TEdge : SystemEdge, new()
  Type Parameters
| Name | Description | 
|---|---|
| TEdge | The type of the t edge.  | 
      
Constructors
| Name | Description | 
|---|---|
| SystemEdgeDragHelper(IEdgeConnectorListener) | Initializes a new instance of the SystemEdgeDragHelper<TEdge> class.  | 
      
Fields
| Name | Description | 
|---|---|
| Disable | Represents if this edge is disabled  | 
      
| m_CompatiblePorts | The compatible ports  | 
      
| m_GraphView | The graph view  | 
      
| m_Listener | The listener of connection  | 
      
| s_nodeAdapter | The node adapter  | 
      
Properties
| Name | Description | 
|---|---|
| GraphView | Sets the graph view.  | 
      
| draggedPort | The port the edge is being dragged from.  | 
      
| edgeCandidate | The edge being dragged.  | 
      
| resetPositionOnPan | Gets or sets a value indicating whether [reset position on pan].  | 
      
Methods
| Name | Description | 
|---|---|
| HandleMouseDown(MouseDownEvent) | Handle mouse down event.  | 
      
| HandleMouseMove(MouseMoveEvent) | Handle mouse move event.  | 
      
| HandleMouseUp(MouseUpEvent) | Handle mouse up event.  | 
      
| Reset(bool) | Reset the state of the drag helper.  | 
      
See Also
EdgeDragHelper