code: def create_graph(
      self,
      nodes=None,
      inputs=None,
      outputs=None,
      shape_dict=None,
      onnx_ir_version=None,
  ):
      node = self.nodes if nodes is None else nodes
      inputs = self.inputs if inputs is None else inputs
      outputs = self.outputs if outputs is None else outputs
      shape_dict = self.shape_dict if shape_dict is None else shape_dict
      onnx_ir_version = (
          self.onnx_ir_version
          if onnx_ir_version is None
          else onnx_ir_version
      )
      return Graph(nodes, inputs, outputs, shape_dict, onnx_ir_version)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from onnx import numpy_helper, ValueInfoProto, AttributeProto, GraphProto, NodeProto, TensorProto, TensorShapeProto
  from typing import Any, Text, Iterable, List, Dict, Sequence, Optional, Tuple, Union
  from typing_extensions import Protocol
  import numpy
label_desc: Use image node_id 2 for calling the Graph obj's underlying member method code with example usage: obj.create_graph(nodes, inputs, outputs, shape_dict, onnx_ir_version) and returns: Graph