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();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With