// visually attaches connection to passed node public void finishVisualConnection(Node n) { adjustSecondPoint((int)(n.getGraphic().getCurrentX() + GraphicContainer.NODE_SIZE / 2), (int)(n.getGraphic().getCurrentY() + GraphicContainer.NODE_SIZE / 2)); m_body.IsHitTestVisible = true; // make clickable Master.getCanvas().Children.Remove(m_lblTypeName); }