Dia is an open source tool for drawing structured diagrams. I used it quite extensively recently, and I discovered a very useful feature. How selection of multiple objects take place depends on where you start to draw the selection box (the dotted line in the screenshot below).

Dia screenshot showing the selection area
If you start the selection at the bottom right corner such as in the screenshot above, the selection will include any object touched by the area. So the result of this operation would be as shown below.

Dia selection - area selected from bottom right to top left
However, if you start the selection by starting at the top left corner and dragging towards the bottom right… only the objects enclosed completely by the chosen area will be selected (as shown below).

Dia selection - area selected from top left to bottom right
If this description does not quite make sense… go ahead, try it out. :)