code: def add_edge(self, node1, node2):
      node1, node2 = self[node1], self[node2]
      self.node_to_consumers[node1.name].append(node2)
      self.node_to_inputs[node2.name].append(node1)
  
imports: import numpy
  import tensorflow
  import lucid.modelzoo.vision_models
  import lucid.optvis.objectives
  import lucid.optvis.param
  import lucid.optvis.render
  from lucid.misc.io import show, load
  from lucid.misc.io.showing import _image_url, _display_html
  from collections import defaultdict
label_desc: Use image node_id 3 for calling the Graph obj's underlying member method code with example usage: obj.add_edge(node1, node2) without return types