setupToolTips(i) {
    let a = C1(".mermaidTooltip");
    (a._groups || a)[0][0] === null && (a = C1("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), C1(i).select("svg").selectAll("g.node").on("mouseover", (l) => {
      var r;
      const f = C1(l.currentTarget);
      if (f.attr("title") === null)
        return;
      const A = (r = l.currentTarget) == null ? void 0 : r.getBoundingClientRect();
      a.transition().duration(200).style("opacity", ".9"), a.text(f.attr("title")).style("left", window.scrollX + A.left + (A.right - A.left) / 2 + "px").style("top", window.scrollY + A.bottom + "px"), a.html(a.html().replace(/&lt;br\/&gt;/g, "<br/>")), f.classed("hover", !0);
    }).on("mouseout", (l) => {
      a.transition().duration(500).style("opacity", 0), C1(l.currentTarget).classed("hover", !1);
    });
  }
Retrieval function for fetching the found class definitions after parsing has completed.