This page contains a summary of some common scenarios you may find when using jsPlumb, and what functions jsPlumb offers to help you.
Assuming you use
jsPlumb.draggable to initialise your draggable elements, you do not typically need to instruct jsPlumb to repaint.
However, there are times when you need to, for instance:
jsPlumb.draggableto initialise some draggable element.
To force a repaint, use:
el can be a number of different datatypes:
To repaint everything:
jsPlumb uses element ids as keys for Connections and Endpoints, so if an element id changes, jsPlumb needs to know about it. You can either have jsPlumb do it for you:
or tell jsPlumb about it afterwards: