All versions of this documentation
Download code Jump to the code Open in the playground

Custom selection

This example demonstrates the implementation of a new selection mechanism based on capturing events on nodes. Left-clicking a node sets it as the selection, right-clicking adds to it and left clicking the background clears the selection.