code: def add_connector(self, connector_type, begin_x, begin_y, end_x, end_y):
          
          cxnSp = self._add_cxnSp(
              connector_type, begin_x, begin_y, end_x, end_y
          )
          self._recalculate_extents()
          return self._shape_factory(cxnSp)
docs: Add a newly created connector shape to the end of this shape tree.
  
          *connector_type* is a member of the :ref:`MsoConnectorType`
          enumeration and the end-point values are specified as EMU values. The
          returned connector is of type *connector_type* and has begin and end
          points as specified.