I have a BoxEditTool (tied to a ColumnDataSource), and I would like to register a callback that triggers whenever a rectangle is added/deleted by that BoxEditTool. Specifically, whenever a rectangle is created by the BoxEditTool, I would like to console.log
the start and end coordinates of that rectangle. How can I do this?
Edit: I just figured out how to register the callback of the ColumnDataSource, but unfortunately, BoxEditTool does not distinguish between which corner the mouse started on vs which corner the mouse ended on. How can I get this information?