/** Constructor. */ public PolySplineConnection() { super(); // Set the decorators // (start: none, end: arrow, animation: point) setEndDecoration(endDecoration); setAnimationDecoration(animationDecoration); textLocator = new SplineLocator(); label = new MoveableTitleFigure(); label.connect(this); }