code: def delete(self):
          
          for n in self._nodes:
              # It could be different of self if we rollback an already existing link
              if n["port"].link == self:
                  n["port"].link = None
                  n["node"].remove_link(self)
docs: Delete the link