title: How to move a polygon in SVG programmatically?
body: <p>Here (<a href="https://stackoverflow.com/questions/1108480/svg-draggable-using-jquery-and-jquery-svg">SVG draggable using JQuery and Jquery-svg</a>, accepted answer) is implementation of drag-and-drop functionality to move circle. It is based on changing <code>cx</code> and <code>cy</code> attributes of moveable circle object.</p>
  
  <p>How can I drag-and-drop a polygon?</p>
  
  <p>How can I use any other element that doesn't have <code>cx</code>,<code>cy</code> coordinates?</p>
  
  <p>Should I recalculate all object points?</p>
  
  <p>I hope there is an easier way. I plan to use JavaScript+jQuery</p>