parameters: (self)
docstring: !
          Update points function.
  
          @param self: class object.
          @return none
docstring_summary: !
          Update points function.
docstring_tokens: ! Update points function .
function: def update_points(self):
          """!
          Update points function.
  
          @param self: class object.
          @return none
          """
          pos1_x, pos1_y = self.node1.get_position()
          pos2_x, pos2_y = self.node2.get_position()
          self.canvas_item.set_property("data", "M %r %r L %r %r" % (pos1_x, pos1_y, pos2_x, pos2_y))
function_tokens: def update_points ( self ) : pos1_x , pos1_y = self . node1 . get_position ( ) pos2_x , pos2_y = self . node2 . get_position ( ) self . canvas_item . set_property ( "data" , "M %r %r L %r %r" % ( pos1_x , pos1_y , pos2_x , pos2_y ) )