code: def __init__(
      self,
      component_graph,
      width=1000,
      height=1000,
      enable_pan_and_zoom=True,
      engine="dot",
  ):
      self.component_graph = component_graph
      self.width = width
      self.height = height
      self.enable_pan_and_zoom = enable_pan_and_zoom
      self.engine = engine
  
file_path: scattertext/scattertext/graphs/ComponentDiGraphHTMLRenderer.py
imports: import json
label_desc: Use image node_id 1 to create a new ComponentDiGraphHTMLRenderer object from inherited base classes: GraphRenderer with example: obj = ComponentDiGraphHTMLRenderer(component_graph, width, height, enable_pan_and_zoom, engine)