code: def component_to_node_list_dict(self):
      return (
          self.id_node_df.groupby("Component")["name"]
          .apply(list)
          .to_dict()
      )
  
file_path: scattertext/scattertext/graphs/ComponentDiGraph.py
imports: import numpy
  import pandas
label_desc: Use image node_id 5 for calling the ComponentDiGraph obj's underlying member method code with example usage: obj.component_to_node_list_dict() and returns: self