I am tring to load a jsPlumb flowchart, but I am having a problem when I use zoom in and zoom out. addpoints are not displaying correctly.
I have used setZoom function for zooming.
Thanks in advance.
You need to repaint the jsPlumb objects when zoom operation is performed:
jsPlumb.repaintEverything();
I think you need to include above code in the setZoom() function.
Example for window resize:
$( window ).resize(function() {
jsPlumb.repaintEverything();
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.