     @IBInspectable var selectedColor: UIColor = UIColor.blue
     @IBInspectable var dotColor: UIColor = UIColor.red
     @IBInspectable var connectorColor: UIColor = UIColor.yellow
-    @IBInspectable var textFont: UIFont = UIFont.systemFont(ofSize: 12)
 
     var circleRadius: CGFloat = 250
     var lineWidth: CGFloat = 1

        movingView?.isUserInteractionEnabled = false
        movingView?.translatesAutoresizingMaskIntoConstraints = false
        addSubview(movingView!)
        addConstraint(
            NSLayoutConstraint(item: movingView!, attribute: .width, relatedBy: .equal,
                               toItem: self, attribute: .width, multiplier: 1, constant: 0))

        addConstraint(
            NSLayoutConstraint(item: movingView!, attribute: .height, relatedBy: .equal,
                               toItem: self, attribute: .height, multiplier: 1, constant: 0))

        addConstraint(
            NSLayoutConstraint(item: movingView!, attribute: .centerX, relatedBy: .equal,
                               toItem: self, attribute: .centerX, multiplier: 1, constant: 0))

        addConstraint(
            NSLayoutConstraint(item: movingView!, attribute: .centerY, relatedBy: .equal,
                               toItem: self, attribute: .centerY, multiplier: 1, constant: 0))
    }

    override open func layoutSubviews() {

    }

    func calculateElementSizes() {
        circleRadius = min(self.frame.height, self.frame.width) * 0.6
    }

    func getAngle(_ point: CGPoint, layer: CALayer, rect: CGRect) -> CGFloat {
