code: def delete_node(g, node):
      if not isinstance(node, six.string_types):
          node = node.name
      disconnect_vertex_ins(g, node)
      disconnect_vertex_outs(g, node)
      disconnect_vertex_control_ins(g, node)
      disconnect_vertex_control_outs(g, node)
      del g[node]
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import six
label_desc: Use image node_id 15 for calling a global function with example usage: delete_node(g, node) without return types