Random generate values for coordinates - then allow those coordinates to be draggable

Here is the graph I’m working on: Quadrilateral Poorly Drawn (credit Steve Phelps)

Here is an example of one with draggable points instead of randomly generated: Quadrilateral Properties

I want to allow the user to randomly generate the points by clicking something (in this case “New Shape”), and then be able to drag those points to coordinates they choose (to fix the poorly drawn shape into one that is drawn to scale)

Here is an example that may help: random but draggable point

Thanks! I’ll try this.