Describe the bug
After zoom or drag the dag view, cant plcae node correctly and may be disappear
To Reproduce
- Go to 'project detail dag'
- Scroll middle mouse button, zoom nodes
- Drag new node into contaiment. (close to sidebar )
- See error, the new node diappear, or it cant place what we want.
Expected behavior
When we drag new node into contaiment, it should not disappear. Because we do the correct thing, but something wrong happen.
Screenshots


Which version of Dolphin Scheduler:
-[1.2.0 to latest version ]
Additional context
After zooming (or drag #canvas element), the area of the canvas and the outer area do not fit, causing the drag to fail.
I try to fix this problem. There has two ways.
- use jsplumb nativie method to support zoom.
- modify dragZoom.js code, change the zoom beahavior.
I choose 2, I think this way lead to increased code complexity. Any suggetions? Should I create a PR?