code: def connect_edge(g, source, dest):
      if isinstance(source, str):
          source = g[source]
      if isinstance(dest, str):
          dest = g[dest]
      source.outputs.append(dest.name)
      dest.inputs.append(source.name)
  
label_desc: Use image node_id 1 for calling a global function with example usage: connect_edge(g, source, dest) without return types