Introduction

Foodwebs, the networks of trophic (feeding) interactions among a community of species, are among the paradigmatic examples of complex networks. Their composition and dynamics have been studied extensively1,2,3,4,5,6,7. In nature, communities are often not isolated but are embedded in a complex structured environment that consists of distinct patches of habitat8, 9. Depending on the system under consideration the patches may be lakes, islands, or actual patches of forest left in an agricultural landscape. In typical environments, the communities at many similar patches interact through the dispersal of individuals between neighbouring patches. The aggregations of the foodwebs at patches related by a complex spatial network are called meta-foodwebs10, 11. These systems, comprising local foodwebs joined to each other by links between patches, can be represented by a network of networks12 (Fig. 1b).

Figure 1
figure 1

Meta-foodwebs as networks of networks. Panel (a) shows a simple meta-foodweb of four species. Each node represents a species and the directed links are from prey to predators in a feeding relationship. Species A is a primary producer, while species B and C are specialist consumers. Species O is an omnivore, which can feed on multiple trophic levels. Panel (b) shows a patch network. Rectangles represent each patch and links are between patches which species can disperse between. Each patch is occupied by a local food chain. The local networks change in time due to colonization and extinction events.

The study of spatial interactions has a long history in Ecology. For instance in explaining the global coexistence of similar competitors13, 14 and the survival of multiple species on the same limiting resource15,16,17. Studies in this area often account for the presence or absence of the species at each patch as a binary variable18, 19. In these, so-called patch-dynamic, models the state of each patch changes in time due to local colonization and extinction events.

Most patch-dynamic models focus on simple cases such as single populations or competitive interactions between similar species20. However, recently Pillai et al.21, 22 set out a framework that incorporates trophic interactions between species into patch-dynamic models. This meta-foodweb model considers complex foodwebs of many species with predator-prey and competitive interactions.

The meta-foodweb model of Pillai et. al. has been used to demonstrate that general spatial heterogeneity can increase stability of complex foodwebs22, 23. More specifically the number and distribution of links in the network of patches have been shown to have non-trivial effects on the distribution of foodwebs among the patches24, 25. We have previously shown that species at different levels of a food chain may benefit from different distributions of patch degrees (number of links to other patches)25. Other previous work addressed the prominent question of whether, and under what conditions an omnivore predator can coexist with a specialist, who is a stronger competitor24. This demonstrated that an omnivore can persist only when the average number of links at each patch, the mean degree, is within a particular range.

Previous theoretical works investigated meta-foodwebs where the underlying patch network was assumed to be an Erdős-Rényi random graph or configuration model network24, 25. In such networks any given pair of patches has a fixed chance of interacting and therefore the networks typically have a small diameter, a measure of the maximum distance between nodes26. In these networks the shortest path (series of links) between any given pair of nodes is small27, 28 and they are subsequently termed small-worlds29. By contrast, real world meta-foodwebs are constrained by geography and the individual’s ability to travel between patches. Such a spatial embedding constrains the possible networks as patches are only linked if they are close enough together for individuals to disperse between them. Geometric distances are translated in network distances and in the resulting network the shortest path between two patches can be relatively long30, 31.

In a small world network, a species can quickly disperse from any node to every other node. By contrast, in a large world pronounced geographical barriers, characterized by long network path lengths, may exists that impede rapid colonization of distant parts. While we will provide a more detailed analysis below it is intuitively conceivable that the large world nature of spatially embedded networks of patches creates spatial niches in which a species can survive with relatively little danger from competitors. Moreover, in small worlds the neighbours of any particular node tend to be a representative sample from the network. A node in a small world is thus exposed to colonization from the full range of communities that the system supports. By contrast, in large worlds the neighbours of a node are located in the same region of the network as the focal node, and most colonization will be from communities that are very similar to the one established in the focal node. This reinforcement of communities may further promote species persistence.

Here we investigate the effects of spatial nature of a patchy environment (i.e. the large-worldishness) on the dispersal of foodwebs. We build our analysis on a comparison of non-spatial Erdős-Rényi networks32,33,34 and explicitly spatial, random geometric patch networks31. We find two results: First, specialist consumers are less abundant (occupy fewer patches) on the spatial patch networks. Second, when the landscape is also occupied by a competitor, generalist consumers are more abundant on the spatial patch networks than on non-spatial patch networks. We conclude that these results are predominantly due to the larger distances between patches in the spatial networks.

The Model

We study a version of the model proposed by Pillai et al.21. The model describes a set of species, each of which either occupies or is absent from each patch in a spatial network at each moment in time. Trophic interactions between the species are represented by a global meta-foodweb (Fig. 1a). Following Pillai et al.21 we assume each patch contains only a subset of the species of the global foodweb, and these comprise a local food chain (Fig. 1b). The global meta-foodweb comprising all the species only becomes evident when an aggregation of the spatial system is considered.

The trophic interactions of the meta-foodweb have implications on the ability of species to occupy each patch. A species must be able to feed at every patch it occupies. Primary producers can occupy an empty patch, but all other species can only occupy patches where their prey is present. Furthermore a species cannot share a patch with another species competing for the same prey. Following Pillai et al.21 we assume that specialist consumers outcompete their generalist counterparts for a particular prey all of the time. Hence, all local foodwebs are linear chains.

A patch that contains at least one food source that can be utilized by a given species, and does not contain a superior competitor to that species, can be occupied by it and we say the patch is available to that species.

The species that occupy a particular patch change in time due to the colonization of the patch by species from neighbouring patches and the extinction of the local populations at the patch. When established on a patch, species X colonises neighbouring patches that are available to it at the rate c X . When established at a patch, species X also goes extinct on that patch at the rate e X . In the following we set e X  = 1 (arbitrary units) and further assume that c X  = c for all species in the meta-foodweb.

At all times the local foodwebs must satisfy the restrictions imposed on species by trophic interactions. Therefore, when species X is established on a patch where its only prey is species Y, and species Y goes extinct on that patch, species X will also go extinct, we call this process indirect extinction. When a specialist predator, species X, colonises a patch that is occupied by an omnivore species Y, and species X and species Y share a food source, then species Y may no longer exist on that food source. This will lead to the extinction of species Y on that patch, unless it can prey on species X, so has a food source it does not compete for. We call the extinction of a generalist by an arriving specialist driven extinction.

To study the effects of space on species coexistence we consider dynamics on two different types of patch networks. The first type of network are those from the Erdős-Rényi (ER) ensemble32, 33. These networks are generated by taking a set of nodes and assigning a link between each pair with a probability p = z/N, where N is the number of nodes and z is the desired mean degree, i.e. the expectation value of the number of neighbours for a randomly chosen node34.

A central property of networks that determines how easy a particular network is to colonize is the degree distribution p k , the probability distribution that a given node has k links25, 35. For ER networks the degree distribution is poisson distributed, so p k  = z k e z/k!. Because links are added randomly between nodes the ER is a non-spatial network and every node can be reached from every other node in a small number of steps, which scales as log (N)28.

The second type of network considered here are from the ensemble of 2-dimensional random geometric (RG) networks36. These networks are generated by, first, randomly distributing N nodes in a unit square with uniform distribution and then adding links between all pairs of nodes that are within a distance r of each other. The degree distribution of RG networks is the same as that for ER networks, p k  = z k e z/k! where the mean degree is given by z = πr 2 N. The spatial distances between points in RG networks are translated into network distances and therefore the shortest path between some pairs of nodes is large and scales with \(\sqrt{N}/r\) 37.

Although the ER and RG networks have the same degree distribution, they have different levels of degree correlations. In ER networks a link is equally likely between any pair of nodes, and so the degrees of neighbouring nodes are uncorrelated. In RG networks each node is at the centre of a circle with radius r that contains all its neighbours, we call this its spatial neighbourhood. A node’s degree is the number of nodes in its spatial neighbourhood. Two nodes that have a link between them in the network must have overlapping spatial neighbourhoods. As the number of nodes in the intersection of their spatial neighbourhoods is the same, the degree of a node in a random geometric graph is correlated with the degree of its network neighbours.

We simulate the dispersal of the species in the meta-foodweb on networks from each ensemble using a Gillespie-type algorithm38. By choosing ensembles with matching degree distributions we eliminate the effects on dispersal considered previously24, 25, and focus on the differences due to the difference in path lengths between the ensembles.

For each species in the system there are two possible equilibrium states, either the species is extinct at the metapopulation level, i.e. does not occupy any patches, or the metapopulation is a constant size, i.e. it does. After the simulation has reached this equilibrium for all species we record the time for which each patch was occupied by each possible configuration of the species over the rest of the simulation. From these states we calculate the fraction of time each species occupies each patch (the patch occupation), the sum of which over all patches we term the species abundance.

Single Species

To begin we compare the dispersal of a single species on networks from ER and RG ensembles. We find that above the persistence threshold species abundance is higher on ER networks than RG networks, see Fig. 2. This means that populations of the species exist at more patches in ER networks than RG networks. Therefore, the global extinction risk for a single species is comparatively greater on RG than ER networks.

Figure 2
figure 2

Spatial structure affects species abundance. The abundance (mean occupied fraction) of the species in the meta-foodweb on Erdős-Rényi (dashed lines) and random geometric (solid) networks. The colours of the lines correspond to the colours of the species in the foodweb on the right. Most of the species are more abundant on Erdős-Rényi networks. The exception is the omnivore, which is more abundant on random geometric networks when coexisting with a specialist.

The difference in species abundance between the network ensembles is greatest close to the threshold, while for colonisation rates far above the threshold abundance is similar on both ensembles, see Fig. 2. In general the risk of global extinction is higher when abundance is lower. Therefore, the increase in extinction risk to a species on RG, in comparison to ER networks, is greatest when the risk of global extinction is greatest.

Let us now try to explain these findings with respect to the spatial structure of RG networks. Considering parameters near the threshold, we find that the distribution of patch-wise occupations is broader on RG than ER networks, see Fig. 3a. Some patches in RG networks are occupied for a larger fraction of the time than any patches in ER networks, while others are occupied for a smaller fraction of the time than any in ER networks. As extinction is the same at all patches this means that some patches in the RG networks are, when empty, colonised more quickly by the species than others.

Figure 3
figure 3

The distribution of patch abundances for species A at different colonisation rates. The two colonisation rates correspond to different regimes of overall species abundance. At c = 0.3 overall abundance on Erdős-Rényi networks (dashed lines) is higher than on random geometric networks (solid lines), while at c = 1.0 overall abundance is similar on both networks. For Erdős-Rényi networks the shapes of the distributions are similar, but for the random geometric networks the shape of the distribution changes dramatically. (a) At c = 0.3 the distribution on random geometric networks is broad, there are many more patches with lower abundance than in the Erdős-Rényi networks. (b) At c = 1.0 the distribution is similar for both networks. The high overall abundance reduces the impact of spatial separations.

To explain the variation in colonisation between patches we must consider which properties of a patch determine how easy it is to colonise. It is well understood that a patch’s degree is correlated with its occupation25, 35. The distribution of patch occupations on ER networks has a similar shape to the degree distribution, reflecting the influence of degree on patch occupation. The broad distribution of patch occupation in RG networks reflects the greater prominence non-degree effects in its determination. This indicates that in the large world network the detailed spatial structure, rather than just the overall connectivity, is of greater importance.

The probability of an unoccupied patch being colonised is affected by the occupation of its neighbours. An unoccupied patch with frequently occupied neighbours will be colonised quickly, and so be unoccupied for a relatively short period. On the other hand, an unoccupied patch with infrequently occupied neighbours may not be colonised for a longer period. Therefore the properties of the neighbourhood of a patch can determine how often it is occupied.

The observed differences between the distribution of patch occupations in ER and RG networks can thus be intuitively explained by the different average distances in these networks. In the ER networks the short distances mean the neighbourhoods of all patches are similar. In the RG networks the long distances mean local neighbourhoods can be more varied between nodes.

We test the effect of differences between neighbourhoods explicitly by considering the occupation of nodes with only the degree 10 in Fig. 4a. We find that the occupation of patches with degree 10 in ER networks has a distribution that is narrower than the distribution for all patches. For RG networks we find that the the occupation of patches with degree 10 has a relatively broad distribution, only a small amount narrower than the distribution of all patches. Therefore, patches of the same degree have more varied occupations in RG networks than in ER networks. This implies that, in spatial networks, the structure of a patch’s neighbourhood has a large influence on its occupation by the species.

Figure 4
figure 4

Spatial embedding increases variation in occupation of patches with the same degree. The distributions of the fraction of time (patch occupation) that a primary producer occupies patches with degree k = 10, at different colonisation rates, c, in Erdős-Rényi (dashed line) and random geometric networks (solid line). (a) At a relatively low colonisation rate, when total abundance of the species is higher on Erdős-Rényi networks than random geometric networks. (b) At a relatively high colonisation rate, when total abundance is similar on both types of network. When overall abundance is low in random geometric networks, patches with the same degree have a broad range of occupations.

By observing the occupation of patches on example networks, such as in Fig. 5a, we find meso-scale patterns of patch occupation. There are distinct regions of high occupation patches separate from regions of low occupation patches. In the large world network the species is distributed unevenly across the landscape, as regions with different local structures are separated by large spatial distances. In RG networks there are often more low occupation regions than high occupation regions, and as such the species abundance is lower on these than equivalent ER networks. Spatial distances reduce the number of patches the species can easily colonise and so abundance is lower in the large world networks.

Figure 5
figure 5

Species abundance on the patches of an example random geometric network with 104 nodes and 〈k〉 = 10 with c = 0.8. (a) Occupation by the specialist is highest in the regions most dense with patches, and the regions close to them. (b) Occupation by the omnivore is highest in regions of medium density which are spatially separated from regions with high specialist occupation. The regions with high omnivore occupation complement the regions of high specialist occupation.

We now consider the situation at higher values of c, for which the species has similar abundance on both types of network. At these parameter values the distribution of patch occupations is similar on both types of network, see Fig. 3b. Furthermore, the distributions are similar when considering only patches of degree 10, see Fig. 4b, suggesting that at these parameter values degree is a good indicator of occupation on RG networks as well as ER networks. When overall abundance is high the neighbourhoods of nodes in the large world are more similar and so have a lesser impact on the occupation of individual patches.

Observing example networks shows that spatial variations do exist in networks at high overall abundance, even though degree is a good indicator of patch occupation. This is because the RG networks have degree correlations. In RG networks high degree nodes have more high degree neighbours and low degree nodes have more low degree neighbours. Therefore spatial regions with many high degree nodes are more highly occupied that spatial regions with many low degree nodes. In the RG the degree correlations translate to spatial correlations so the species abundance varies between different regions.

Furthermore, we find that the mean occupation of patches in RG networks with relatively low degree is lower than for those in ER networks, while the mean occupation of patches in RG networks with relatively high degrees is higher than for those in ER networks, see Fig. 6. The effects of degree on occupation are enhanced on RG networks due to degree correlations. Typical high degree patches in RG networks also have high degree neighbours and are colonised more easily than typical high degree patches in ER networks. Therefore, as well as the regional variations due to large network distances, in spatial networks the species distribution is uneven due to the structural correlations of nearby nodes.

Figure 6
figure 6

Degree correlations increase variation between patches with different degrees. The distributions of the fraction of time (patch occupation) that a primary producer occupies patches with different degrees, k, in Erdős-Rényi (dashed line) and random geometric networks (solid line). (a) Patches with the relatively low degree, k = 5 and (b) patches with the relatively high degree, k = 15, both at a colonisation rate, c = 1.0, when total abundance of the species is similar on both types of network. Degree correlations in random geometric networks lead to lower occupation of patches with low degree and higher occupation of patches with high degree, compared to patches in the Erdős-Rényi networks.

To summarise, both long network distances and degree correlations cause the emergence of meso-scale patterns in the occupation of patches in the random geometric network. At low overall abundance the spatial separations have the dominant effect, and the results is large variations between the occupation of different patches. At high overall abundance spatial patterns are predominantly due to degree correlations, and these result in smaller spatial variations in patch-wise occupation.

Four Species Foodweb

We now extend our study to the meta-foodweb shown in Fig. 1a, which includes both predator-prey feeding and specialist-omnivore competition interactions.

Species A, a primary producer, that can survive on abiotic resources; species B, a secondary consumer, that feeds upon the primary producer; species C, a top predator, that feeds upon the secondary consumer; and species O, an omnivore that preys upon the primary producer and secondary consumer.

Species B, C and O can only occupy patches alongside their prey. In addition, species O is out competed by the specialist predators and therefore cannot survive on patches where species C is established. When both species B and species O occupy a patch, species B out-competes species O for feeding on species A, however species O can still survive by feeding on species B instead.

For each species, X, there is a range of values of c X /e X for which that species is unable to persist in a network. For specialist species the range is characterized by a critical value of μ X . When c X /e X  < μ X the species cannot persist in the network and will become globally extinct, but when c X /e X  > μ X the species will persist and be expected to occupy a quasi-steady fraction of the patches24, 25. For an omnivore species Y which is a competitor to species X there are two critical values. Species Y can only persist in the network when both c Y /e Y  > μ Y , and c X /e X  < ν Y , where the limit ν Y is itself dependent on c Y /e Y . When c X /e X  > ν Y the omnivore’s competitor occupies a large fraction of the patches and the omnivore is unable to persist anywhere in the network, becoming globally extinct. Though we have set c X /e X  = c for all species, due to indirect extinctions the threshold value, μ X , is not the same for all species.

Using the foodweb, we can establish how the spatial embedding affects species that interact with feeding or competitive interactions. We investigate: a) how the distribution of a predator is affected by the uneven distribution of its prey, and b) how the distribution of an omnivore is affected by the uneven distribution of its superior competitor.

We start by studying the food chain of species A, B and C that contains only predator-prey relationships. We find that all these specialist species have similar behaviour to a single species, and are less abundant in RG than ER networks with the same degree distributions under the same dispersal conditions, see Fig. 2.

The set of patches occupied by a predator is a subset of the set of patches occupied by its prey. Furthermore the effective extinction rate of the predator is larger than that of its prey. Therefore it is harder for a predator to disperse and the abundance of a predator cannot be greater than the abundance of the prey species it consumes. We find that the abundance of predators is lower on RG networks even at parameter values where the abundance of their prey is similar in both ensembles. This suggests that the spatial effects of the underlying network experienced by the single species are experienced by all species in the chain.

For the single species on RG networks, we found that structural properties lead to spatial variations in patch abundance. We find that a predator utilising a species as its food source has an even more uneven distribution than its prey, see Fig. 7. The variation in the in habitability of patches in the underlying network is exaggerated by the dispersal of intermediate species in the chain. For species A, its prey occupies all patches equally, but structural properties of the network mean it will find some patches are more hospitable than others. For species B, preying on species A, the structural properties have the same effects, and in addition its prey is unevenly distributed. As species A and B undergo similar dispersal processes the uneven distribution of prey aligns with the structural variations. Therefore, species B experiences greater variation in habitability, and therefore occupation, across the patches in the network. The local structures in large world networks have a greater impact on the distribution of species higher in the food chain.

Figure 7
figure 7

Variations in patch occupation are larger for predators than prey. Comparison of the occupation of (a) species B and its predator (b) species C on patches from Erdős-Rényi networks (dashed lines) and random geometric networks (solid lines) at c = 1.0. The variation of patch occupation for the predator, species C, on random geometric graphs is larger than for the prey, species B, due to the combination of direct spatial effects, and the uneven distribution of the prey.

Now let us focus on the effects on the distribution of the omnivore species O due to coexisting with the meta-population of the species C. The two species coexist only for colonisation rates in the range μ C  < c < ν O . When c < μ C , species C cannot persist in the meta community and so the patches available to species O are the same patches available to species B, and the omnivore behaves identically to the specialist species B. When c > ν O the omnivore becomes extinct due to driven extinction from competition with the specialist.

When the specialist and omnivore coexist, the omnivores abundance is greater on RG networks than on ER networks, see Fig. 2. We previously saw that the large distances in spatial networks hinder the occupation of patches by the specialists, by contrast these distances aid the occupation of patches by the omnivore.

One reason the omnivore is more abundant on RG than ER networks, in the coexistence regime, is the lower overall abundance of species C. More of the patches are available to the omnivore for more of the time in the RG networks. Further, colonisation of a patch that is occupied by species O by species C, causes the local extinction of species O. Therefore when a patch which is occupied by species O and species B neighbours a patch occupied by species C the colonisation rate of species C acts to increase the effective extinction rate of species O. In spatial networks omnivore populations encounter specialist populations less frequently, and competition has a smaller effect on the occupation of patches by the omnivores.

We have seen that, on both ER and RG networks occupation by specialist species increases with node degree, see Fig. 8. However the variation is greater in RG networks, with high degree nodes more likely to be colonised than lower degree nodes. We now investigate whether the greater variation in patch occupation by the specialist on RG networks, affects the distribution of the omnivore.

Figure 8
figure 8

The mean fraction of time patches of different degrees are occupied by each species. The bars are shaded in three sections, these show the fraction of time patches are occupied by: bottom) the omnivore, this can be with or without species B; middle) species C, which must also be with species B; and top) species B but neither species C or the omnivore. In the random geometric networks the intermediate degree patches have low abundance of species C, and high abundance of the omnivore.

On both types of network, at c = 0.8, occupation by the omnivore is largest on nodes with an intermediate degree. Low degree nodes are hard for all species to occupy, while the large amount of time species C occupies high degree nodes means that they are often unavailable to the omnivore.

The effect of competitor occupation on omnivore occupation of high degree nodes is greater on RG than on ER networks. Figure 8b for RG networks, has a pronounced peak in omnivore occupation at intermediate degrees. The high occupation by the specialist of high degree patches makes them almost always unavailable to the omnivore and the omnivore rarely occupies them. In spatial networks some patches are occupied by the specialist so often that a population of omnivores is almost never established on them.

Patches with intermediate degrees are relatively unlikely to be occupied by the specialist on RG networks compared to ER networks. Subsequently, the occupation of these patches by the omnivore is high, almost as high as occupation by the omnivore in the absence of competition, which is equivalent to occupation by species B. The large network distances mean that the omnivore is able to colonise these nodes and establish populations that rarely encounter competition from specialist populations.

Both RG and ER networks have poisson degree distributions, and many more patches with intermediate degree than with the highest degrees. Subsequently, the overall abundance of the omnivore is greater on the RG than the ER networks. The spatial distances in large worlds make more patches more hospitable to the omnivore than they make less hospitable, and therefore decrease the chance of global omnivore extinction.

To summarise, the large path lengths in RG networks mean that some regions of the graph are hospitable to the omnivore but inhospitable to the specialist. Therefore, the omnivore can colonise these regions without suffering regular competitive extinctions, and consequentially, occupy them a large fraction of the time. In other words, the omnivore can fill in gaps in the specialists dispersal, see Fig. 5b.

Conclusions and Discussion

We used agent-based simulations to investigate the dispersal of a foodweb, comprising predator-prey and competitive interactions, on spatially embedded patch networks.

The abundance of primary producers and specialist consumers, which are only affected by predator-prey interactions, is lower on spatially embedded random geometric patch networks than non-spatial Erdős-Rényi patch networks. Furthermore, in spatially embedded networks there is a greater variation between the fraction of time different patches are occupied by any species. By visualising patch abundance of specialists, we found that these variations correspond meso-scale patters of patch occupation. Regions dense with patches of high occupation are spatially separated from regions of patches with low occupation.

A specialist consumer only occupies patches that its prey also occupies. In general its prey is also a specialist consumer. The local factors, such as high degree, that make a patch easy for the prey species to occupy it also make it easy for its predator to occupy. Further, spatial variations in prey occupations reduce the availability of patches for its predator in some regions of spatial networks. Consequently, the difference in the abundance of a predator between Erdős-Rényi and random geometric networks is larger than the difference in the abundance of its prey.

We assume that generalist species, such as omnivores, are weaker competitors than specialist species with the same prey, such that the generalist is driven to local extinction in any interaction. Subsequently, reduced overall specialist abundance in random geometric networks aids generalist persistence. Further, we identify that the meso-scale structure in spatially embedded networks aids the persistence of generalist species in three ways. Firstly, patches can have relatively high degrees but low specialist abundance due to network separation from the most occupied regions of the network and patches with higher degree are easier for the generalist to colonise. Secondly, patches with low specialist occupation are often grouped together and the generalist can persist in such a region without stochastic extinction. Thirdly, regions with low specialist occupation are separated by long distances from the regions of high specialist occupation and so the generalist populations there are rarely threatened by driven extinction. The combination of these factors leads to greater abundance of generalist species on random geometric networks, compared to Erdős-Rényi networks.

Two properties of the spatially embedded networks cause the significant regional variations in patch occupation: long distances between nodes and degree correlations. Previous work has indicated that long distances have a greater effect than degree correlations on dispersal processes39, and our results also support this conclusion. When regional variations are large, degree is a poor indicator of patch occupation, but when regional variations are small it is a good indicator. This suggests that when regional variations are larger, they are being primarily caused by long network distances and when regional variations are smaller we are seeing the effect only of degree correlations. In other words, long distances have a greater effect than degree correlations on species dispersal over spatial networks.

Real patch landscapes are usually inherently spatial and these results suggest that structures resulting from this have many implications for environmental management. For example, our results demonstrate the contrasting results possible from measuring diversity at different spatial scales40. Further, the ability of a species to inhabit a patch is dependent on the structure of surrounding patches and long range effects. In situations, such as deforestation, where a managed removal of patches attempts to preserve habitat by preserving a single, well populated patch, these attempts may fail if the neighbourhood of that patch is destroyed such that recolonisation becomes more difficult. Alternatively, well intentioned environmental management to maintain a specialist species can destroy the spatial separation that allows omnivores to persist, sheltered from specialist populations.

The spatial embedding of agents is a property of many networks found in ecology41 and elsewhere42. However, dynamic process on networks incorporating spatial structure are relatively poorly understood. Most existing analytical approaches for dispersal processes on networks focus on local structure43, such as degree correlations. Our results show that local properties in spatial networks often have a smaller impact than long network distances. Though there has been some recent development of methods for considering spatial separation of nodes in networks44, further advances are required to characterise space in network models, and understand its effects on dynamic processes.

One particular challenge for analytical approaches to spatial networks is how to characterise their spatial structure. The most popular model for generating spatial networks, using random geometric graphs, results in networks with several notable properties that make them different from random networks. For instance higher clustering coefficients, larger diameters, larger average path length and positive degree correlations36. These properties are not independent but are jointly caused by the spatial embedding. For example, nodes near each other are neighbours and the radius containing their neighbourhoods largely intersect, resulting in clustering and also degree correlations. Our results show that both long separations and local properties are simultaneously important in explaining the dynamical behaviour of systems on spatial networks. Hence, methods to better understand these systems should be capable of accounting for the combination of these properties.

We finish by suggesting how this may be accomplished. It may be possible to approximate the regions of a spatial graph of homogeneous patches by a graph of heterogeneous meta-patches. The properties of each of these meta-patches would be constructed to reflect the region of the underlying spatial graph that the particular patch represents. A random geometric graph in this model would have meta-patches with properties drawn from a distribution determined by the formation processes of a random geometric graph. For example, each meta-patch could have a local extinction probability, based on the number of patches included and the number of links between them. The graph of meta-patches contains many fewer patches, and could be potentially be analysed using available numerical methods. The sensitivity of the model to meta-patch properties may be analysed to determine the systems sensitivity to the underlying properties of spatial patch networks that inform them.

Data availability

This study did not involve any underlying data.