Closed starker-xp closed 5 months ago
Appreciated feature. However I feel that panning is more often used than selection of multiple items, thus maybe it's better to pan without extra key modifiers.
That's also the reason I didn't merge it. Because I also noticed a few other points, I'll take your implementation as a starting point and implement it myself, but thanks for the initial implementation and the PR!
Added the ability to select multiple nodes at the same time. Allows you to deselect an already selected node.
Caution: Changes the way you move with the mouse. You'll need to use the Control key to move the pan.
Based on this demand : https://github.com/newcat/baklavajs/issues/368, https://github.com/newcat/baklavajs/issues/298
Example :![image](https://github.com/newcat/baklavajs/assets/514436/73813a5a-982e-4b32-994f-61fae6739798)