public virtual void DrawCurves() { if (InputNode) { Rect rect1 = GetJointRect(); Rect rect2 = InputNode.GetJointRect(); GraphWindow.DrawNodeCurve(rect2, rect1); } }