hi, i saw examples of resizable polygons.but what my requirement is drawing a polygon as well as reshaping it through edges and corners.Is there any provision for that
Sure have you looked at the edit toolbar?
Edit | API Reference | ArcGIS API for JavaScript 3.20
The Edit toolbar is a helper class that provides functionality to move graphics or modify individual vertices, i.e., edit the geometry of existing graphics. To add new graphics, use the Draw toolbar. Updated at version 2.1 to include support for rotating and scaling.