Adds tree node selection via mouse click

- A node can be selected via a mouse click. Only junction nodes can be
selected.