class_docstr: Represents a different constraint between two intervals.
  
  The edges in the left interval must have a different orientation than
  the one in the right interval.
class_docstr_tok: ["Represents","a","different","constraint","between","two","intervals",".","The","edges","in","the","left","interval","must","have","a","different","orientation","than","the","one","in","the","right","interval","."]
docstr: Swap left and right intervals
docstr_tok: ["Swap","left","and","right","intervals"]
code: def swap(self):
      """Swap left and right intervals"""
      temp = self.left
      self.left = self.right
      self.right = temp
  
imports: from collections import defaultdict
  import networkx
label_desc: Use image node_id 2 for calling the ConflictPair obj's underlying member method code with example usage: obj.swap() without return types