link and node mouse events