frameFormUpdated();
  }

  function setAlignment(alignment) {
    clearAlignmentSelected();
      let suffix = isHorizontalLayout() ? "PathH" : "PathV";
    let pathElement = document.getElementById(alignment.id + suffix);
    pathElement.classList.remove("alignment-svg");
    pathElement.classList.add("alignment-svg-selected");

    autolayoutAlignmentId = alignment.id;
    switch (alignment.id) {
      case "alignmentTopLeft":
        autolayoutAlignment = "topleft";
        break;
      case "alignmentTo