Food web structure and species richness are both subject to biotic (e.g.
predation pressure and resource limitation) and abiotic stress (e.g.
environmental change). We investigated the combined effects of both types of
stress on richness and connectance, and on their relationship, in a
predator-prey system. To this end, we developed a mathematical two trophic level
food-web model to investigate the effects of biotic and abiotic stress on food
web connectance and species richness. We found negative effects of top-down and
bottom-up control on prey and predator richness, respectively. Effects of
top-down and bottom-up control were stronger when initial connectance was high
and low, respectively. Bottom-up control could either aggravate or buffer
negative effects of top-down control. Abiotic stress affecting predator richness
had positive indirect effects on prey richness, but only when initial
connectance was low. However, no indirect effects on predator richness were
observed following direct effects on prey richness. Top-down and bottom-up
control selected for weakly connected prey and highly connected predators,
thereby decreasing and increasing connectance, respectively. Our simulations
suggest a broad range of negative and positive richness-connectance
relationships, thereby revisiting the often found negative relationship between
richness and connectance in food webs. Our results suggest that (1) initial
food-web connectance strongly influences the effects of biotic stress on
richness and the occurrence of indirect effects on richness; and (2) the shape
of the richness-connectance relationship depends on the type of biotic
stress.