hooks for node mouse routing