Selection visualization and logic.