Currently there can be a huge performance issue while dragging if you have a lot of watchers in your angular app. This is because the scope is used to handle the position of the nodes as well as the edges connected to it.
To reduce digest cycles add another mode for dragging where only a transparent copy of the node is used to display the new position using vanilla js and only update the scope at the end of dragging.
Currently there can be a huge performance issue while dragging if you have a lot of watchers in your angular app. This is because the scope is used to handle the position of the nodes as well as the edges connected to it.
To reduce digest cycles add another mode for dragging where only a transparent copy of the node is used to display the new position using vanilla js and only update the scope at the end of dragging.