How to use jq to make a connection between two or more div?

there is an accordion on the left, and then a piece of accordion can be dragged out to the right, and then each module (div) on the right can achieve the effect of connecting (similar to the effect of the picture). I don"t know how to connect

.
Jun.26,2021

drag, position and other processing is not difficult, but the curve drawing is more troublesome, the common practice is to use svg to achieve, or you can consider using canvas.

the whole is drag-and-drop module + connection module, the former has a large number of mature solutions, the latter is as mentioned above

Menu