add mouseover event for the nodes