skokenes / d3-lasso

A lasso plugin for d3
BSD 3-Clause "New" or "Revised" License
88 stars 35 forks source link

When selection drag is over, can I keep the lasso box? #12

Open NewDolphin opened 4 years ago

NewDolphin commented 4 years ago

When selection drag is over, can I keep the lasso box?

gioele-antoci commented 4 years ago

Not with how the code has been built. You will have to modify this part here:

https://github.com/skokenes/d3-lasso/blob/master/src/lasso.js#L162

nateEaston commented 4 years ago

Yeah, I am kind of thinking the same thing. I want to implement a multiple selection when the 'ctrl' key is pressed.