docs: function() {
              _updateOrigin();
              var geom = conn.getConnector().getGeometry();
              if (geom && geom.controlPoints) {
                  cp = geom.controlPoints;
                  cp1[0] = geom.controlPoints[0][0];
                  cp1[1] = geom.controlPoints[0][1];
                  cp2[0] = geom.controlPoints[1][0];
                  cp2[1] = geom.controlPoints[1][1];
              }
          }