code: def __init__(self, x, y):
      # a bit odd, I know
      self.degree = 0 if x == y else 1
      self.v = (x, y)
  
label_desc: Use image node_id 1 to create a new EdgeBase object from inherited base classes: object with example: obj = EdgeBase(x, y)