code: def get_dot(self, component):
      # graph = '''digraph {\n node [fixedsize="true", fontname="'IBM Plex Sans'", height="0.0001", label="\n", margin="0", shape="plaintext", width="0.0001"];\n'''
  
      # graph = '''digraph  \n{\n graph [bb="0,0,1297.2,881.5", charset="latin1", outputorder="edgesfirst", overlap="prism"]\n node [fontname="'IBM Plex Sans'", fontsize=10] ;\n'''
      graph = """digraph  \n{\n graph [%s]\n node [%s] ;\n""" % (
          self._format_graphviz_paramters(self.graph_params),
          self._format_graphviz_paramters(self.node_params),
      )
  
      mynode_df = self.id_node_df[
          self.id_node_df["Component"] == component
      ]
      nodes = "\n".join(
          mynode_df.reset_index()
          .apply(
              lambda x: """"%s" [label="%s"] ;"""
              % (x["index"], x["name"]),
              axis=1,
          )
          .values
      )
      edges = "\n".join(
          self.edge_df[self.edge_df.Component == component]
          .apply(
              lambda x: '"%s" -> "%s" ;' % (x.source_id, x.target_id),
              axis=1,
          )
          .values
      )
      return graph + nodes + "\n\n" + edges + "\n}"
  
file_path: scattertext/scattertext/graphs/ComponentDiGraph.py
imports: import numpy
  import pandas
label_desc: Use image node_id 2 for calling the ComponentDiGraph obj's underlying member method code with example usage: obj.get_dot(component) and returns: unknown