nodes selection onClick event

-nodes selection on onClick event is back
(code that positions the nodes rectangles needs to be modified)