Node highlight logic