class_docstr: Class representing a rectangle.
class_docstr_tok: ["Class","representing","a","rectangle","."]
docstr: Sets the width of the rectangle by adjusting the right edge.
docstr_tok: ["Sets","the","width","of","the","rectangle","by","adjusting","the","right","edge","."]
code: def width(self, value):
      """Sets the width of the rectangle by adjusting the right edge."""
      self._right = self._left + value
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 5 for calling the Rectangle obj's underlying member method code with example usage: obj.width(value) without return types