Drag and drop callout box

In the past, I tried labels to describe an entity. But now I have a new requirement: use the callout box to describe it, and the callout box can be dragged with the mouse.

The callout box is as follows:

image
Please tell me how to realize this function? thank you very much indeed!