windowH = $(window).height();
      var planH = $(".plans").height();
      var detailsH = Math.max(minSectionHeight, windowH - planH - 222);  // Leave 222 pixels for topology info.

      d3.selectAll("div#topologydetails").style('height', detailsH + 'px');
    }

    function render(planController) {
      drawLogicalPlan(planController, logicalPlan, "#logical-plan", $("#logical-plan").width(), 400, "{{baseUrl}}",
          "{{cluster}}", "{{environ}}", "{{topology}}");
      drawPhysicalPlan(planControll