code: def disconnect_vertex_outs(g, source):
      if isinstance(source, str):
          source = g[source]
      for out in source.outputs:
          g[out].inputs = [i for i in g[out].inputs if i != source.name]
      source.outputs = []
  
label_desc: Use image node_id 11 for calling a global function with example usage: disconnect_vertex_outs(g, source) without return types