highlight the hovered and clicked nodes an their ancestors