code: def get_svg(self, dot_str):
      import graphviz as gv
  
      return (
          gv.Source(dot_str, format="svg", engine=self.engine)
          .pipe()
          .decode("utf-8")
      )
  
file_path: scattertext/scattertext/graphs/ComponentDiGraphHTMLRenderer.py
imports: import json
label_desc: Use image node_id 3 for calling the ComponentDiGraphHTMLRenderer obj's underlying member method code with example usage: obj.get_svg(dot_str) and returns: gv