resize() {
      v_legereControl = this;

      if (v_legereControl.divElement) {
        var v_parent = v_legereControl.targetDiv;
        var v_parent_width = v_parent.clientWidth;
        var v_parent_height = v_parent.clientHeight;

        v_legereControl.divElement.setAttribute(
          'style',
          `
          background-color: ` + v_legereControl.backgroundColor + `;
          display:none;
          height:` + v_parent_height + `px;
          max-width: 100%;
          padding: 5px;
          position: relative;
          width:` + v_parent_width + `px;
          z-index: 100;
          `
        );

        v_legereControl.divElementContent.setAttribute('style', 'width:' + v_parent_width + 'px; height:' + v_parent_height + 'px; overflow: auto; padding: 10px;');

        if (v_legereControl.stateActive) {
          this.divElement.style.display = 'block';

          // Render the svg with path lines based on the content positions
          setTimeout(function(){
            v_legereControl.renderSvg(v_legereControl.planList);
          }, 150);

        }

      }
    }
@params:
- p_data: node
- p_index: position of the node inside the array
- p_index_map: array[..., grand_parent_index, parent_index, node_index]