(event.target.className == 'dropzone') {
          event.target.style.background = '';
        }
        onHighlight(null);
      },
      false
    );

    div.addEventListener(
      'drop',
      (event) => {
        // prevent default action
        // (open as link for some elements in some browsers)
        event.preventDefault();

        // Dragging onto a Diagram
        if (div === myDiagram.div) {
          const can = event.target;
          const pixelratio = myDiagram.computePixelRatio();

   