code: function expandTreeToPipeline(pipelineId) {
    if (pipelineId == null) {
      return;
    }
    var elementId = getTreePipelineElementId(pipelineId);
    var parents = $(elementId).parents('.expandable');
    if (parents.size() > 0) {
      // The toggle function will scroll to highlight the pipeline.
      parents.children('.hitarea').click();
    } else {
      // No children, so just scroll.
      scrollTreeToPipeline(pipelineId);
    }
  }
docs: Opens all pipelines down to the target one if not already expanded and scroll that pipeline into view.