You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2022. It is now read-only.
I am using jsPlumb to create 200 to 300 nodes on the canvas. After the initial rendering of nodes and connections, If I try to draw a connection from source to target I see there is a lag in seeing the actual connector move with my mouse pointer.
After doing a bit of digging I found out the lag is happening because of the following : as soon as I select the sourceEndpoint and move my mouse, in katavorio.js "this.moveListener" is called, which calls the this.mark function which in turn calls the _setDroppablesActive which is basically a foreach over all the node elements in my canvas, since I have not defined any scopes.
e.setActive(val) adds a class "jtk-drag-active" to all the node elements in the canvas which is super slow(causes noticeable lag) for anything above 150 + nodes.