Make nodes in graph layouts respond to mouse events. (ht to @atzeus)