selection function

Graphical elements selection