I would like to use Konvajs to do below tasks:
- draw two rectangle groups on canvas. Each group contains a rectangle, text, and a circle
- When I use the mouse to drag from the circle, it draws an arrow while dragging.
- When I drop the arrow into another group, it stops drawing and connects the two groups edge to edge
Something like this:
Are there any native methods that support connections between shapes? Could anyone show me some examples please?
I have connected Konva.Circles. But the logic for images will also be the same. Please find the plunkr