class_docstr: A basic Rect class. Assumes tl <= br.
class_docstr_tok: ["A","basic","Rect","class",".","Assumes","tl","<","=","br","."]
code: def diagonal(self):
      return Point(self.width, self.height)
  
imports: import collections
  import math
  import random
label_desc: Use image node_id 14 for calling the Rect obj's underlying member method code with example usage: obj.diagonal() and returns: Point