code: def draw_graph(width, height):
      graph = processing_graph._nx_graph
  
      pos = nx.nx_agraph.graphviz_layout(graph, prog="dot")
      fig = plt.figure(figsize=(width, height))
      nx.draw_networkx(
          graph, pos=pos, node_color="#d1b2f8", node_size=500
      )
      return fig
  
file_path: datasets-server/front/admin_ui/app.py
imports: import os
  import urllib.parse
  from itertools import product
  import pandas
  import requests
  import gradio
  from libcommon.processing_graph import processing_graph
  import matplotlib
  import matplotlib.pyplot
  import networkx
  import huggingface_hub
  import duckdb
  import json
  from tqdm.contrib.concurrent import thread_map
label_desc: Use image node_id 2 for calling a global function with example usage: draw_graph(width, height) and returns: fig