setLink(i, a, u) {
    const l = F();
    i.split(",").forEach((r) => {
      let o = r;
      /\d/.exec(r[0]) && (o = pe + o);
      const A = this.classes.get(o);
      A && (A.link = we.formatUrl(a, l), l.securityLevel === "sandbox" ? A.linkTarget = "_top" : typeof u == "string" ? A.linkTarget = V(u) : A.linkTarget = "_blank");
    }), this.setCssClass(i, "clickable");
  }
Called by parser when a link is found. Adds the URL to the vertex data.

@param ids - Comma separated list of ids
@param linkStr - URL to create a link for
@param target - Target of the link, _blank by default as originally defined in the svgDraw.js file