/// <summary> /// Drags the node /// </summary> /// <param name="delta">Mouse delta</param> public void Drag(Vector2 delta) { Position += delta; InputPort.UpdatePosition(); if (OutputPorts != null && OutputPorts.Length > 0) { for (int i = 0; i < OutputPorts.Length; i++) { OutputPorts[i].UpdatePosition(); } } }