code: def _create_graph(structure_dict):
      """Creates pydot graph from the pipeline structure dict.
  
      Args:
          structure_dict (dict): dict returned by step.upstream_structure
  
      Returns:
          graph (pydot.Dot): object representing upstream pipeline structure (with regard to the current Step).
      """
      graph = pydot.Dot()
      for node in structure_dict["nodes"]:
          graph.add_node(pydot.Node(node))
      for node1, node2 in structure_dict["edges"]:
          graph.add_edge(pydot.Edge(node1, node2))
      return graph
  
file_path: steppy/steppy/utils.py
imports: import logging
  import sys
  import pydot_ng
  from IPython.display import Image, display
label_desc: Use image node_id 5 for calling a global function with example usage: _create_graph(structure_dict) and returns: graph