code: def disconnect_control_edge(g, source, dest):
      if isinstance(source, six.string_types):
          source = g[source]
      if isinstance(dest, six.string_types):
          dest = g[dest]
      source.control_outputs = [
          i for i in source.control_outputs if i != dest.name
      ]
  
      dest.control_inputs = [
          i for i in dest.control_inputs if i != source.name
      ]
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import six
label_desc: Use image node_id 10 for calling a global function with example usage: disconnect_control_edge(g, source, dest) without return types