Function globalConfig

  • Parameters

    • userConfig: Partial<{
          animation: {
              blocking: boolean;
              durationMs: number;
              easing: ((x) => number);
              numberOfTimes: number;
              repeat: boolean;
              reverse: boolean;
              yoyo: boolean;
          };
          arrowTipSize: number;
          canvasHeight: number;
          canvasInstance: undefined | Canvas;
          canvasPadding: number;
          canvasWidth: number;
          lineWidth: number;
          renderer: "html" | "rough";
          responsiveResize: boolean;
          showFps: boolean;
          standoff: number;
          text: {
              size: number;
          };
          xTicks: number;
          yTicks: number;
      }>

    Returns void