Diffusive search and trajectories on tubular networks: a propagator approach

Abstract Several organelles in eukaryotic cells, including mitochondria and the endoplasmic reticulum, form interconnected tubule networks extending throughout the cell. These tubular networks host many biochemical pathways that rely on proteins diffusively searching through the network to encounter binding partners or localized target regions. Predicting the behavior of such pathways requires a quantitative understanding of how confinement to a reticulated structure modulates reaction kinetics. In this work, we develop both exact analytical methods to compute mean first passage times and efficient kinetic Monte Carlo algorithms to simulate trajectories of particles diffusing in a tubular network. Our approach leverages exact propagator functions for the distribution of transition times between network nodes and allows large simulation time steps determined by the network structure. The methodology is applied to both synthetic planar networks and organelle network structures, demonstrating key general features such as the heterogeneity of search times in different network regions and the functional advantage of broadly distributing target sites throughout the network. The proposed algorithms pave the way for future exploration of the interrelationship between tubular network structure and biomolecular reaction kinetics. Graphic Abstract


Introduction
Diffusive transport in geometrically complex environments underlies a broad variety of biophysical phenomena, ranging from transcriptional regulation in the nucleus [1,2], to reactions inside organelle structures [3,4], to intercellular communication through a variety of channel and bridge arrangements [5]. The morphology of the confining environment is known to fundamentally alter the kinetics of diffusion-limited chemical reactions, switching between compact and noncompact search processes depending on the effective dimensionality of the domain [6,7]. Multi-molecular reaction systems such as phosphorylation cascades may acquire novel dynamic behaviors such as ultrasensitivity and bistability depending on the degree of confinement [8,9].
A particularly important class of confined diffusion processes occurs on network structures, which have been used to describe porous media [10,11], neuronal trees [12], and organelle morphologies [13,14]. These 'spatial networks' are characterized by nodes and edges embedded in physical space, a restriction which limits the network topology. Encompassing a broad variety of transport and communications networks, spatial networks have limited node degree, with each node connected only to a handful of neighbors in close physical a e-mail: ekoslover@ucsd.edu (corresponding author) proximity [15]. There is an extensive body of literature on characterizing the behavior of random walks on general networks (see [16] for a review). Many studies focus on systems where particles exhibit a well-defined hopping time across each edge, with hops treated either as discrete time steps [17,18] or as constant-rate Poisson processes [19,20]. Others allow for generalized distributions of hop times that are nevertheless uniform throughout the network [21,22]. Recently, a general theory for heterogeneous continuous-time random walks on networks has been developed [23], which incorporates transition times with arbitrary distributions that are specific to each node. A similar approach has previously been applied to modeling transitions on a network of states embedded in an energy landscape [24].
Particles diffusing along the edges of a network exhibit a broad range of inter-node transition times, whose distribution is dependent on the edge length. Prior work focusing on simple networks of tubes and containers [25], as well as planar networks resembling percolation clusters [4], highlighted the importance of edge length in overall search times on the network. Here, we develop mathematical methodology for computing reaction mean first passage times (MFPT) on arbitrary spatial networks, with diffusion incorporated as a concrete physical transport process along each edge. Whereas past work on diffusive processes simplified individual node transitions to a single effective rate constant [19,20], we explicitly incorporate the edge-length-dependent distribution of transition times, bridging local diffusive particle dynamics and largescale transport on spatial networks.
For many reaction-diffusion systems, the behavior of interest requires quantities beyond the mean first passage time and other low-order moments of the firstpassage distribution. For example, biochemical processes may rely on extreme value statistics that dictate the timescales for the first of many signaling particles to reach a target [26]. Activation cascades can be modulated by processive rebinding processes wherein one enzyme can return repeatedly to the same target after its first encounter [8]. Targets that themselves undergo diffusive motion are prevalent in most biomolecular reaction systems. Modeling of these more complex processes requires moving beyond analytically tractable methods to leverage stochastic simulations of diffusing particles on network structures.
A family of agent-based simulation methods, known as kinetic Monte Carlo [27] or Green's function reaction dynamics [28,29], are particularly well suited for simulating sparse populations of particles diffusing in complex geometries. These methods rely on analytically determined propagator functions to evolve individual particles within 'protective domains'-regions where they do not come in contact with other particles. By sampling from an appropriate propagator, such simulations allow time steps that are tuned to the local structure of the domain, minimizing the computational time involved in propagating a particle through empty space. Several general propagators have been developed for three-dimensional regions [30], and this approach has been employed for simulating systems such as kinase cascades [8], target search by DNAbinding proteins [2], and multimodal transport of peroxisome vesicles in fungal hyphae [31]. In this work, we develop exact analytical propagators for the passage of diffusing particles between network nodes. By allowing for step sizes comparable to the local edge length, these propagators enable simulations that can be run much more efficiently than classical Brownian dynamics. We thus present an efficient propagator-accelerated algorithm optimized for stochastic simulations of diffusing particles confined in spatial networks.
We focus specifically on tubular networks similar to those formed by intracellular reticulated organelles. The peripheral endoplasmic reticulum is one such network; it forms a dynamic web of interconnected tubules with a topologically continuous lumen, spread throughout the cell periphery [32]. The ER hosts a variety of biochemical reaction pathways and plays a crucial role in calcium dynamics, lipid delivery, and protein synthesis and quality control [33]. Another reticulated organelle structure is formed by the fusion of mitochondria in yeast and many mammalian cell types [34,35]. Mitochondrial network structures share many topological features with geographical transportation networks [13] and are thought to reside in the percolation regime, exhibiting just barely enough connectivity to form a large cell-spanning connected cluster [35]. The functional role of mitochondrial network formation remains a topic of much debate [36], but is thought to include complementation of mtDNA defects [37], quality control through selective fusion and mitophagy [38,39], and enhanced energy transmission [40].
In both the ER and mitochondrial networks, critical biomolecular reactions require individual diffusive components to find each other within the extensive network architecture. Some functions, such as the packaging of newly synthesized secretory proteins into ER exit sites or the regulation of transcription in mitochondrial nucleoids, rely on proteins reaching relatively stationary punctate target sites in the network. Although some recent evidence indicates the possibility of directed transport for ER luminal proteins driven by local fluid flow [41], the major form of transport within organelle networks is still believed to be diffusive.
In this work, we develop new algorithms for quantifying target search and reaction kinetics inside tubular network structures similar to those exhibited by reticulated cellular organelles. Specifically, our approach is well suited to spatial networks with well-defined edge lengths and low node degrees (typically 3 or less for ER [14] and mitochondrial networks [13]). Furthermore, we rely on the simplifying assumption that motion along tubular edges, rather than trapping at voluminous nodes, dominates diffusive transport times. Our overarching goal is to be able to accurately compute the distribution of search and encounter times for diffusive particles within network morphologies. To this end, we employ both analytical methods to extract low-order moments (mean and variance) of the search times, as well as describing an efficient algorithm for agent-based stochastic simulations that can incorporate mutually reactive diffusing particles. The result is a mathematical framework optimally suited for modeling the kinetics of a broad variety of molecular processes confined in tubular networks.

Model development and transition time distributions
We consider the diffusive motion of particles on a network embedded in physical space. Specifically, the network structure consists of point-like nodes (i, j, . . .), connected by one-dimensional edges of length ij . The edges can be curved, and thus longer than the Euclidian distance between the connected nodes, but can only connect to other edges at a node.
Particles diffuse in one dimension along these edges, with diffusivity D. They do not spend any finite time trapped at the nodes themselves, which serve merely as point-like edge intersections. A particle that starts at such an intersection will diffuse around the edges adjacent to that node (a 'node neighborhood') until it hits an adjacent node. It will then continue to diffuse in the neighborhood of the new node. We can thus consider the particle as moving from neighborhood to neighborhood with a certain distribution of transition Fig. 1 Model schematic, showing small section of an example network. Blue lines show the neighborhood of node i; magenta lines show the neighborhood of node k. The coordinate system for two edges within neighborhood i is labeled, with x going from 0 (at adjacent node) to ij (at node i itself) times between adjacent neighborhoods. It is important to note that the current neighborhood of a particle is defined not by the edge on which it is located but rather by the last node that it has crossed (Fig. 1). With this definition, the motion of the particle can be treated as a Markov state model [42], with each Markov state corresponding to a neighborhood. Transitions between neighborhoods are memoryless-once a particle hits a given node, its subsequent distribution is no longer dependent on the previous nodes it has passed through. However, unlike prior applications of Markov state models [42] or 'discrete path sampling' [20,43] in the context of molecular rearrangements, the transition times between states are not Poisson distributed. Instead, this model falls in the category of heterogeneous continuous time random walks, which can be analyzed on arbitrary networks for arbitrary distributions of transition times [23].
To quantify the behavior of such a system, we need to know the local transition time distribution P ik (t), which gives the probability density that a particle which starts at node i at time 0 will first hit an adjacent node k between time t and t + dt, without first reaching any other nodes in the meantime. We note that in contrast to previous analyses of random walks on networks [16,23], the distribution of waiting times to leave the neighborhood and the splitting probability of which node is next encountered are not independent random variables (i.e., the conditional distribution of first passage times differs depending on which of the adjacent nodes is reached first). To calculate the local transition time distributions, we generalize a well-known approach for finding the flux of diffusive particles to the edges of a linear segment with absorbing boundaries [44]. A onedimensional coordinate system (0 ≤ x ≤ ik ) is placed along each edge attached to node i, with x = 0 corresponding to node k and x = ik corresponding to the junction node i where the particle starts (see Fig. 1).
Along each edge ik of the neighborhood, the Green's function distribution c ik (x, t) of a diffusing particle obeys the usual diffusion equation: where d i is the degree of the i th node in the network. Equation 1b gives the initial condition, indicating that the particle distribution is concentrated in a Diracdelta function at the junction node. Equation 1c gives the boundary conditions, with each neighboring node treated as an absorbing boundary. The transition time distribution function is then given by the flux into each of these boundaries: Integrating each P ik over time gives the probability that a particle will hit adjacent node k before any other (i.e., the splitting probability from node i). An additional boundary condition at each edge is set by enforcing continuity of the particle distribution function at the junction node: The homogeneous solution is where α = s/D and the product is over all edges attached to node i, other than edge k. The prefactor A is set by the initial condition and can be found by integrating Eq. 3 over an infinitesimally small interval around the junction node. This gives where the sums and products are over all edges attached to node i. Finally, the flux to the absorbing boundaries is given by Equation 6 gives the Laplace-transformed distribution of times for a particle starting at junction node i to first reach adjacent node k without hitting any other neighboring node. We can also define the survival time distribution Q i (t)-the probability that the particle has not reached any of the neighboring nodes by time t. Its Laplace-transformed form is: Expanding around s = 0 gives the splitting probability to each neighboring node (P * ik ) and the overall average waiting time (Q * i ) before the particle hits one of the neighboring nodes. Specifically, The next higher-order term for small s can be used to calculate the variance in the transition time to one of the neighboring nodes (see Sect. 3.1). The above expressions enable propagation of particles that start specifically on a node to the neighboring nodes. In many applications, it is useful instead to consider particles that start distributed along the edges of the network. Such a particle must first be propagated to one of the nodes bounding that edge, after which its behavior can again be described by the node-to-node propagator (Eq. 6.) For a particle starting at position x 0 along edge m, of length m , the Laplace-transformed flux to either of the two boundaries has the well-known form [44] If the particle starts uniformly distributed along edge m, the corresponding flux to each of the bounding nodes ( P (E) mj ) and the survival probability on the edge ( Q (E) m ) are given by Expanding around s = 0 gives the trivial splitting probability for a particle starting uniformly on the edge: P (E * ) mj = 1/2, and the average waiting time to leave the edge: The splitting probabilities and survival times enable the calculation of mean first passage times on the network (Sect. 3). In order to sample from the full distri-bution of transition times, an inverse Laplace transform must be applied to the propagators in Eqs. 6 and 10, as discussed in Sect. 4.

Diffusion-limited reactions
We next present an analytic approach for calculating low-order moments of the reaction time distribution for particles that react instantaneously upon reaching a set of target nodes in the network. We note that the derivation in this section largely reiterates previously published work [4,23,24], but is presented here for completeness and consistency of notation. The probability that a particle starting at node i at time 0 is in the neighborhood of node j at time t is defined by G ij (t). The Laplace-transformed form of this propagator has been previously derived, both for general continuous-time random walks on networks [23] and for specific applications involving diffusive motion of particles in interconnected tubules [4] or over multistate energy landscapes [24,43]. It can be expressed as where the elements of matrix P are given by Eq. 6 if two nodes are connected by an edge in the network, and are zero otherwise. The propagator G ij (t) gives the probability that the particle last hit node j sometime before time t and has not yet left the neighborhood of that node. To calculate the distribution of first passage times to any set target of nodes {k} in the network, we treat those nodes as being perfect absorbers. That is, whenever the particle first hits node k, it instantaneously vanishes from the network. The case of finite reaction rates in localized network regions is treated separately in the next section. We remove all rows and columns corresponding to the target neighborhoods from the matrix P as well as the vector − → Q . As a result, the time a particle spends in the neighborhood of any network node is not altered, but when the particle leaves that neighborhood by moving to a target node, it is removed entirely from the network rather than continuing to propagate further [4,24]. The survival probability that a particle starting at node i has not left the network by time t is H i (t) = N k=1 G ik (t), where the summation is over all nodes on the network. For particles initially distributed over nodes, with V i the probability of starting at node i, the survival probability is given by the following matrix expression: The central inverted matrix is a normalized form of a weighted discrete Laplacian over the network, which is used in a broad class of problems involving random walks on networked structures [16,23]. A natural extension is to consider particles starting on the edges of the network, with probability W m of starting (uniformly distributed) along edge m. In this case, the Laplace-transformed survival probability can be expressed as Here, the first term represents particles that never leave their initial edge and the second term includes a propagator for moving from the edge to one of its bounding nodes, convolved with the propagators for moving across all node-to-node paths through the network, and finally the survival probability of remaining at some final node neighborhood. Columns of P (E) corresponding to target nodes are again removed from the matrix.
The elements of P (E) and − → Q (E) are given in Eq. 10. Regardless of whether particles start on nodes or edges of the network, the mean first passage time to encounter the set of targets is given by which can be evaluated directly with the aid of Eqs. 8a, 8b, and 11. Similarly, the variance in the time to find a target is given by where From this, the mean square first passage time is expressed as where the derivatives of P and − → Q are 3.1.1 Example: target search times in the endoplasmic reticulum As an example application of the calculations above, we consider network structures extracted from confocal images of the peripheral endoplasmic reticulum in COS7 cells. A data set of 9 peripheral ER images, obtained as described in prior work [4], was used to extract tubular network structures ( Fig. 2a; details in Appendix B). For these biologically important tubular networks, we consider how the distribution of times to find target nodes varies with the target concentration. This question is particularly important in the context of the early secretory pathway. Proteins destined for secretion are co-translationally inserted into the ER membrane or lumen, undergo folding and quality control [45,46], and must leave the ER through punctate ER exit sites (ERES). These ERES are largely immobile sites scattered throughout the network [47] ( Fig. 2b) and proteins are assumed to diffuse to one of these sites for capture and packaging into vesicles that enable them to leave the ER and proceed to further steps of secretory processing [48,49].
It is interesting to consider what ERES density is sufficient to enable diffusing proteins to rapidly encounter exit sites. In a three-dimensional continuum, reaction rates are proportional to the concentration of the target. However, in a geometry that is less than or equal to two-dimensional, the usual assumption of mass-action kinetics ceases to hold, and we expect a steeper dependence of rates upon target concentration [6].
For each individual ER network structure, we randomly distribute different numbers of target nodes across the network and compute the mean first passage time (MFPT) for a diffusive particle to first hit a target. The particles are assumed to start uniformly distributed over the edges of the network, with W m = m / n n the probability of starting on edge m. In Fig. 2c, we plot the search rate, defined as the inverse of the averaged mean first passage time for many choices of target node location. Across a wide range of target concentrations ρ, we see a search rate scaling as ρ/ log ρ. This scaling indicates the ER is well connected and behaves largely as a two-dimensional system, with a logarithmic correction factor to the linear concentration scaling expected for mass action kinetics. A limit is reached when 1/ρ becomes comparable where a is taken as average ER edge length and ρ2D is the two-dimensional target concentration]. Horizontal dotted line shows limiting case of average search rate on a network composed entirely of target nodes. Yellow line gives ERES density extracted from b. Particles are assumed to have a diffusivity of D = 1 µm 2 /s to the typical edge length of the ER network structures: ≈ 1.2 ± 0.1 µm (expected value of starting edge length for uniformly distributed particles, with standard error of the mean computed over different networks). In this limit, particles need only diffuse along a single edge before encountering a target site. This gives rise to effectively one-dimensional kinetics or ρ 2 scaling. It should be noted that the estimated physiological exit site density (yellow line in Fig. 2c) is in a range where the search rate is super-linearly dependent on ERES concentration. Increasing the number of target sites should thus disproportionately speed up the encounter process.

Variability of arrival times
One important question in considering kinetics on complex geometries is the extent to which the mean first passage time can be used to characterize the full distribution of reaction times. For compact diffusive search on fractal geometries of dimension less than two, the first passage time distribution is known to exhibit a broad range of relevant timescales, so that the search process is not well-characterized by the MFPT [6,50]. Although the search for very sparse targets in ER networks appears to be effectively two-dimensional, signatures of geometry-controlled kinetics (such as a strong dependence on source and target position [6]) are nevertheless observed. In particular, the mean first passage time varies substantially depending on the distance of the starting node from the target (Fig. 3). Nodes at similar spatial (Euclidean) distances can also exhibit very different mean first passage times, due to the heterogeneous nature of the ER network connec-tivity. Because diffusing particles explore many paths from the source to the target, the MFPT can also be very different for nodes with similar values of the 'network distance,' defined as the shortest distance between two points measured along the network edges. Furthermore, the standard deviation of the arrival time from a given starting node can be substantially larger than the mean first passage time itself, particularly for nodes located close to the target (Fig. 3c). This effect again arises from the multiple timescales associated with particles following a variety of different paths to the target site. These observations imply that diffusion-limited reactions within the ER network deviate from the expectations of bulk kinetics, where arrival times generally represent a Poisson process with a well-characterized MFPT and a comparable standard deviation. Instead, particles starting in regions nearby and well connected to the target arrive much faster than particles from far away. Furthermore, even for a given starting point, some particles travel rapidly directly to the target, while others meander away to explore the rest of the network, leading to broadly distributed first passage times.

Finite reaction rates
First passage times to perfectly absorbing network nodes represent purely diffusion-limited kinetics, where a reaction occurs as soon as the particle finds its target. A biologically relevant complication to this model would include finite reaction rates in certain regions of the network. Such rates become relevant when a reaction requires particles to undergo rearrangements, rota- tions, or conformational changes in addition to simply finding each other diffusively. If those rearrangements occur on a timescale that is relatively slow compared to the time for the reactants to diffusively separate again, then the reaction kinetics cannot be simply treated as first passage to a perfectly absorbing target site. Instead, the target site is assumed to have a particular rate of reacting with the particle, that is applicable only when the particle is within some minimal contact distance from the target. Models with spatially localized finite reaction rates have previously been employed in quantifying the kinetics of multiconformation DNA-binding proteins searching for their genomic target sites [51], and of vesicles encountering cytoskeletal filaments to initiate motor-driven transport [52]. For one-dimensional models of a tubular geometry, finite reaction rates can also be used as a simplification to account for the radial diffusion time required to find a target by a particle that approaches its axial position [53].
In our model of diffusion on tubular networks, particles spend all their time on network edges, with nodes serving only as intersections that allow transitions between edges. We therefore consider reaction rates that are associated with each edge of the network, defining γ ij as the reaction rate on the edge connecting nodes i and j. Reactions near a particular node can be represented by setting the reaction rates in all edges around that node. If necessary, additional degree-2 nodes can be inserted along the edge to confine the reactive area still further.
To solve for the mean reaction time in this model, we first consider the propagation of the particle from a single neighborhood (i). The Laplace-transformed probability distribution on each edge around node i, c ik , obeys a modified form of Eq. 3. Namely, This can be solved to find the flux into each of the adjacent nodes: where α ij = (s + γ ij )/D. The splitting probability P * ik of hitting an adjacent node before any reaction occurs is given by plugging s = 0 into the expression above. The probability of reacting before leaving the neighborhood of node i can then be calculated as 1 − k P * ik . The Laplace-transformed probability that the particle is still in the neighborhood by a certain time (having neither reacted nor reached an adjacent node) is given by Evaluating this expression at s = 0 gives the average waiting time to leave the neighborhood. Similarly, for particles starting uniformly distributed along network edge m, we can find the flux into one of the bordering nodes j (defined as P (E) mj ) and the survival probability on the edge ( Q (E) m ) using Eq. 10, where we replace α with the edge-dependent α m .
These expressions can then be plugged directly into Eq. 13 or Eq. 14 to compute the mean first passage time to leave the network through either the finite-rate reactions along network edges or through reaching a perfectly absorbing target node. To find the MFPT in the presence of perfectly absorbing targets, all elements corresponding to the target nodes should be removed from the matrix expressions as before, so that reaching the targets is treated as permanently leaving the network.  Reaction times for localized finite reactive region in one dimension. a Schematic of cylindrical domain representing a cellular projection (such as a neuronal axon), with reactive points representing microtubule tips distributed over a region of length , with ka the absorbance rate for a particle that reaches an axial position within distance ξ of a tip. b The cylindrical system is mapped to a one-dimensional model, with effective reaction rate kreg in the region where microtubule tips are distributed, a reflecting boundary at z = 0 representing the distal tip of the projection, and an absorbing boundary at z = L representing the cell body. c Scaled mean absorption time for particles originating at z = 0 and diffusing in the partially reactive one-dimensional domain

Example: extended absorbing region in one dimension
A simple example of the calculations described above involves particles on a one-dimensional interval containing a region with a finite reaction rate k reg . Such a system can be thought of as a simplified representation of a tubular cellular domain, such as a fungal hypha or neuronal axon [54]. Organelles such as signaling endosomes and autophagosomes that are produced at the distal end of this domain must be loaded onto microtubules to be delivered in a retrograde fashion to the nuclear region [55,56]. There is evidence that some cellular cargos begin their retrograde journeys by binding preferentially to microtubule plus-end tips, which accumulate high concentrations of dynein motors and associated activator proteins to form a 'loading zone' at the distal cell tip [57,58]. An interesting question then arises regarding how the distribution of microtubule tips near the distal end affects the overall rate of loading the organelles. If all tips are localized right at the distal end, particles originating at the distal end will have a chance to bind as soon as they are formed. However, any particles that diffuse axially past the tips may end up exploring the full domain over long time periods without returning to the distally localized tips. On the other hand, a broader distribution of tip positions may make particles more likely to latch on before diffusing away.
We explore this trade-off by mapping the distribution of microtubule tips in a cylindrical domain to an effective one-dimensional model (Fig. 4a, b), where represents the length of the region over which microtubule tips are distributed. The overall attachment rate in this region can be approximated as k reg = nk a ξ/ , where n is the number of microtubule tips, ξ is the contact radius for binding a tip, and k a is an effec-tive binding rate that incorporates rapid radial diffusion to encounter the tip while at the appropriate axial position. We assume a reflecting boundary at z = 0 representing the distal end, and an absorbing boundary at z = L representing the region near the nucleus that serves as the target for the particles. Particles are initiated at z = 0 and diffuse with diffusivity D until they are either absorbed in the reactive region or reach the soma through diffusion alone. For simplicity, we neglect the motor-driven transport time to reach the soma after loading on the microtubules, focusing instead on the optimal dispersion of microtubule tips to minimize the loading time. For a given number of microtubules, k reg is expected to be constant and we explore how distribution over different region lengths affects the first passage time to loading.
Treating the 1D simplified system (Fig. 4b) as a network with only two edges, one of which is absorbing, we plot (in Fig. 4c) the mean first passage time for a particle to either react with the microtubule tips or reach the far end of the domain. Interestingly, an optimum is observed with respect to the length over which the absorbing tips are distributed, indicating that it is advantageous to spread out microtubule tips in the distal region rather than placing them all as near as possible to the distal end. The optimum value of increases as the overall reactivity goes down. When the tip reaction rate k a is very rapid, opt → 0 as no particle can make it past the most distal tips. By contrast, when k a is very low, the optimum disappears entirely as particles have the chance to explore the entire domain and reach the distal absorbing boundary without ever binding in the absorbing region, regardless of its size. The effect of maturation rates, λ, on the optimal maximum target distance, with various absorption rates, γ. Dashed lines indicate optimal maximum target distance in limiting case of instantaneous maturation (λ = ∞). Inset networks illustrate particle distribution at time of maturation for two different choices of maturation rate

Example: target distribution on a 2D network
Similar to the one-dimensional case described in the previous section, we can explore how the distribution of reactive regions in a two-dimensional network such as the peripheral endoplasmic reticulum affects diffusive search times. Here, we use a synthetic network consisting of a honeycomb lattice structure in a circular band with dimensions comparable to the peripheral ER in COS7 cells (Fig. 2, insets). The network has an edge length 0.8 µm (equal to average edge length for ER networks used in this study), an inner radius of 8 µm representing the nucleus, and an outer radius of 20 µm representing the cell boundary. Most protein synthesis in the ER is thought to occur in the ribosome-studded perinuclear sheets [32], so we consider particles that are initiated at the innermost nodes of the network. Localized reactive regions are distributed over the network edges to represent ER exit site structures. A finite reaction rate on each exit-site edge accounts for any additional process that a particle must undergo after reaching an exit site before it can be stably captured. Such processes could include rotation, molecular rearrangement, or entry into a narrow-necked ERES structure [49].
One question of particular interest is whether there is any functional advantage to scattering ERES throughout the peripheral network, rather than concentrating them in the perinuclear region where proteins are initially translated. Given that both luminal and membrane proteins have been shown to penetrate throughout the peripheral tubular structure [32], one possible advantage to well-dispersed ERES is to efficiently capture proteins that happen to diffuse deeply into the periphery. We therefore consider how the average reaction time varies when a fixed number of reactive sites are distributed across regions of different width surrounding the interior boundary where particles are initiated.
Interestingly, unlike the one-dimensional case in Fig. 4, there is very little advantage to dispersing reaction regions over a broader region of the twodimensional lattice network. The dashed black line in Fig. 5a shows the MFPT for a network with 30 reactive edges with reaction rate γ = 1s −1 , spread out over increasingly broad regions of the network. While there is a slight optimum when the reactive edges are allowed to spread to a radial distance of 12 µm, the difference between this system and one where targets are placed in the innermost region of the network (in the same location where particles originate) is less than 3%. Higher values of reactivity γ make it even more advantageous to concentrate all reactive sites closer to the inner radius, while lower values of γ make the system independent of the reactive edge distribution (data not shown), much as in the one-dimensional case. In no case does there appear to be a substantial advantage to spreading out the reactive edges.
This result underscores a fundamental distinction between a well-connected 2D network and a 1D interval. In the network, moving target sites out from the central region where particles are initiated necessitates spreading those sites out over a longer band, leaving gaps for particles to be able to diffuse through without hitting any target. Particularly in the case of high reactivity γ, such gaps allow escape of particles into the periphery that would not be possible if the targets were concentrated near the inner radius of the network. This effect counterbalances the advantage to capturing particles which do manage to disperse through the network. As a result, there is no substantial benefit to placing target sites further out in the periphery for the 2D network case.
However, the dispersed placement of reactive sites can greatly enhance kinetics in the case where newly synthesized particles are incapable of reacting immediately upon production, as discussed in the subsequent section.

Example: maturing particles
Another potentially important complication for a variety of biomolecular search processes is the existence of a 'maturation time,' during which particles diffuse through the domain but are not able to undergo the relevant reactions. For example, newly manufactured proteins in the ER must undergo folding and quality control processes that can take from minutes to hours before they are able to be loaded at ER exit sites for export [46,59]. Such particle maturation can be easily incorporated in our model as a Poisson process of rate λ that occurs simultaneously with diffusion. While the particle is maturing, it is not capable of reacting even if it reaches the reactive edges. As soon as the particle matures, reactivity is enabled and the particle's mean first passage time can be determined from its maturation point using an extension of the usual techniques outlined above.
Specifically, we define ψ m (x, t) as the overall density of particles on edge m at time t. Its Laplacetransformed form is given by where the entries c im (x, s) contain the Laplace transformed particle densities along edge m defined for the node neighborhood i, as given by Eq. 4. This approach allows for non-uniform particle densities along each edge. In order to find mean first passage time after maturation, we need to compute the overall survival probability, H (E) m (x, t), for a particle starting at position x on edge m. Such a particle can remain on the edge until time t, react during that time, or hit either of the bounding nodes (i, j) before time t. In the latter case, its survival probability can be obtained by convolving with the expression in Eq. 13 for particles initiated on a node. The overall Laplace-transformed survival probability is obtained as Here, Q m (x, s) and P (E) m,i (x, s) are the survival probability and flux to the bounding node, respectively, given the particle starts at x. These quantities can be obtained using the standard solutions for diffusion on a one-dimensional interval with two absorbing boundaries [44] (i.e., from Eq. 9).
The overall mean first passage time after maturation (not including the maturation time of 1/λ itself) is then m (x, s = 0)dx, (25) where the sum is over all edges in the network. Again considering the synthetic honeycomb networks, we can investigate the effect of particle maturation on mean first passage time and probe the functional advantage of widely distributed ER exit sites. In Fig. 5a, we see that by adding a maturation process (e.g., λ ≤ 0.1s −1 ), the MFPT of particles starting at the inner boundary exhibits a pronounced minimum when the reactive regions are spread out over a broader region of the network. As the maturation rate becomes slower (e.g., λ = 0.001s −1 ), the particles have time to spread uniformly across the network before maturing and it becomes advantageous to disperse targets over the entire network structure.
The interplay of maturation and local reactivity is highlighted in Fig. 5b. For lower maturation rates, it is best to distribute reactive regions throughout the network, regardless of local reaction rate γ. For higher maturation rates, we see the optimal distance vary depending on reactivity. For rapid absorption (γ = 100s −1 ) concentrating targets near the inner boundary is advantageous, as most particles can be captured shortly after maturation before they have a chance to explore the network. For slower reactivity, many particles have a chance to explore the full network structure and placing the target regions more broadly dispersed throughout the network becomes advantageous.
These results highlight how the placement of reactive regions in a tubular network can lead to nontrivial effects on the overall reaction rate. The analytic approach described here allows for rapid, easily implemented calculations of the mean and variance of reaction times. This approach thus makes practical an extensive exploration of how network morphology and the distribution of target positions and/or reaction rates modulate kinetic processes involving stationary network structures.

Simulating particle trajectories
The analytic first passage time calculations described in the previous section are limited in several important aspects. First of all, they directly provide only the low-order moments (mean and variance) of first passage time distributions, without enabling the exploration of more detailed features, such as the extreme statistics for the earliest and latest arriving particles, which are important in a variety of biological signaling processes [26]. In the complex, compact geometry of a reticulated network, the relevant arrival timescales can be very broadly distributed and are not necessarily well characterized by the mean and variance alone [6,50]. Furthermore, our calculations thus far have been restricted to immobile targets or reactive regions within the network. Modeling the behavior of more complex reaction-diffusion processes, which may involve interaction between multiple mobile particles, can be achieved by switching from analytically tractable methods to agent-based stochastic simulations.
Agent-based simulations are particularly relevant when the reacting molecules are present in small copy numbers and substantial fluctuations of local concentration make mean-field descriptions of particle concentrations inaccurate. The simplest such reaction-diffusion simulations rely on Brownian dynamics, with particles taking very small discrete time steps and checking for a reaction on each step [60]. A series of alternate schemes have been developed to minimize the computational cost of propagating particles when they are far away from each other or the domain boundaries. Such methods, which have been variously termed Green's function reaction dynamics or first-passage kinetic Monte Carlo [27][28][29][30], leverage analytically computed propagator functions to move individual particles over large time steps within a 'protected domain' where interaction with other particles or structures does not occur. They thus enable rapid propagation in regions where particle motion is purely diffusive, interspersed with a finer time-resolution in regions where reactions may take place. The main required assumption is that each propagated step of the particle is Markovian (memoryless) and that there are no reactions, obstacles, or interactions with other particles while the particle is propagating within the protected region.
Kinetic Monte Carlo approaches all rely on sampling the time interval for the next event of interest to occur, from an appropriate distribution of transition times. Original schemes relied on exponentially distributed transition times [61], while the more recent approaches sample from the analytically known distributions of first passage times in simple domains such as a one-dimensional interval or three-dimensional sphere [27,30]. Here, we leverage our diffusive propagator between network node neighborhoods (Sect. 2) to develop an efficient kinetic Monte Carlo simulation algorithm optimized for diffusive particles on tubular networks. In this section, we focus on instantaneous reactions with perfectly absorbing target nodes, although the method can easily be expanded to include finite reactivity on edges.

Single particle propagator
For a single particle propagating on a network, we consider the particle starting at node i at time t = 0. A protected domain can then correspond to the local neighborhood, containing all the edges connected to node i. The distribution of times to leave this domain is given by the flux into all the neighboring nodes, which are treated as absorbing boundaries. Specifically, we begin by sampling which neighboring node k is first reached by the particle, from the discrete splitting probability P * ik given in Eq. 8a. The distribution of times to first hit this node, conditional upon not previously leaving the neighborhood, can then be obtained by the Laplace inversion of the flux P ik (Eq. 6), normalized by P * ik . To perform the Laplace inversion, we first numerically calculate the poles of P ik . These poles occur at discrete values s p , which fall on the negative real axis and can be expressed as s p = −Du 2 p , where the u p satisfy the following equation The residues r (ik) p at the poles can be found by evaluating the derivative of Eq. 26 with respect to s, yielding Finally, we evaluate the inverse Laplace transform using the standard Bromwich integral together with the Cauchy residue theorem [62]: In a kinetic Monte Carlo simulation, we initiate a particle on node i, sample the next neighboring node to be reached (k) according to probabilities P * ik and then use inverse transform sampling to select the time interval Δt to first reach this node according to the normalized probability distribution Δt ∼ P ik (Δt)/P * ik . Details of the sampling procedure are provided in Appendix C. To validate the simulations, we evaluate the mean and standard deviation in first passage times from different starting positions to a particular target on a 2D lattice-like network, showing a close match to analytical predictions (Fig. 6a).

Examples: first passage time distributions
Beyond the low-order moments, simulations allow us to explore the full distribution of first passage times to a target node. Figure 6b, c shows such distributions from several different starting nodes on an example yeast mitochondrial network [13] and a peripheral ER network from a COS7 cell. These distributions are compared to the exponential distribution expected for a constant-rate Poisson process with the corresponding average time. For particles starting far from the target (orange curves), there is a peak 'most likely' time of target encounter. Shorter search times are precluded by the need to traverse a substantial distance in the network before ever hitting the target. Particles that start near the target (black curves) exhibit long Dashed lines show expected exponential decay for a Poisson process with the same mean. c Analogous plot for particles diffusing on a peripheral ER network structure tails in the first passage time distribution, which are a known signature of compact search processes [6]. These tails highlight the multiple timescales that contribute to the search, as some particles move toward the target immediately while others follow long meandering paths over the network before reaching the target. The deviation from a Poisson distribution, for both nearby and distant starting locations, indicate that reaction kinetics on these networks should have qualitatively different behaviors than would be expected in a bulk threedimensional continuum. Another application of stochastic particle hopping simulations is to explore the extreme arrival time-the average time for the first of many particles to find a target on the network. Such calculations are relevant to signaling processes where one or a few molecules are sufficient to trigger a response, so that the shortest rather than the mean arrival times set the timescale of signal initiation [26]. In Fig. 7, we run simulations of N independent particles starting from a given position on the network and show the time for the first of these particles to hit a particular target node. For a small number of simulated particles, the average first hitting timescales roughly as ∼ 1/N , as would be expected in a bulk continuum. In other words, the reaction rate is approximately proportional to the particle concentration. However, for large numbers of particles, we observe a δ 2 / log N dependence, where δ is the minimal distance along the network between the starting point and the target. These results are consistent with extreme first passage statistics in one-dimensional or two-dimensional systems [63,64] and are similar to previous simulations of particle hopping on networks which assumed a single timescale for each individual hop [19].

Synchronizing trajectories
In certain applications, it is desirable to calculate snapshots of the particle position at prespecified times. For Fig. 7 Extreme arrival statistics on an ER network structure. Plotted is the average first passage time for the first of N particles to hit a target node (green), starting from either a nearby source (blue) or a distant source (magenta). Scaling laws are shown for the small N limit (solid, ∼ 1/N ) and large N limit (dashed, ∼ δ 2 / log N , where δ is the minimal network distance between start node and target). Diffusivity is set to D = 1 µm 2 /s example, such trajectory information is needed to compute the mean squared displacement of a particle over different time intervals, a common analysis tool for quantifying the rate of diffusive spread. In this case, during each step of the kinetic Monte Carlo procedure, we check whether the time point t + Δt exceeds the next save-time t s . If that is the case, the particle needs to be propagated first over a time interval δt = t s − t. To achieve this, we leverage a spatial 'no-passage' propagator within the neighborhood of node i, which gives the distribution of particle positions conditional on not leaving the neighborhood by time δt. For a particle that To invert the Laplace transform, we note that this expression has the same poles as the flux P ik , so that To propagate the particle forward over a time interval δt, we first sample which edge ik the particle is positioned on, using the discrete probabilities Y ik (0, Δt). The position along the edge is then sampled according to the conditional cumulative distribution: Once the particle has been placed at position x 0 along a specific edge m (bounded by nodes i and k), we can use a Laplace inversion of Eq. 9 to sample the next time interval Δt for the particle to first hit either node i or node k. If this time interval would again exceed the next desired save point, the particle is propagated spatially along the edge (see Appendix C for details).
Simulations of complete particle trajectories can be used to explore the mean squared displacement (MSD) of particles diffusing over a network structure. As seen Fig. 9 Protective domains used in multi-particle simulations. The network region is shown in black, the particle of interest in red, and the protective domain containing it in blue. An edge segment domain is confined to a single edge and can contain a pair of particles (green). A node segment domain is centered on a node, with equal-length segments along all edges; it is employed when a nearby particle with its own domain (green) prevents a direct hop onto an adjacent node. A node neighborhood domain encompasses the full edges connected to a given node and requires the particle to start on the node itself in Fig. 8, particles on a poorly connected network with many dead ends exhibit a lower, apparently subdiffusive, MSD than particles on a lattice-like network. This result implies that MSD analysis alone may indicate subdiffusive motion even when the particles are in fact undergoing classic diffusive motion, due to confinement on a network structure with missing connectivity.

Simulating multiple particles
Many problems concerning reaction kinetics on networked geometries require the ability to simulate not just individual particles searching for stationary target sites, but also multiple mobile particles that encounter and react with each other. Additional complications arise in the multi-particle case because the possibility of reaction with a neighbor alters the distribution of each particle after any given time interval. This issue was addressed in previous studies by introducing 'protective domains' that break up the available space into disjoint regions wherein each particle propagates independently of the others with no chance of interaction [27,29]. For example, on a simple 1D interval, such protective domains can be defined by placing boundaries at all points half-way between the positions of neighboring particles. This notion was refined further by noting that when two particles approach close to each other, infinitesimal time steps can be avoided by defining a single protective domain surrounding both of them and then jointly propagating the pair distribution of the two particles [27].
In our system, a protective domain around a particle has one of the following three forms (Fig. 9). An edge segment domain is a single linear segment with end-points on one network edge. This domain can contain one or two particles and is made as big as possible given the edge length and the presence of any additional particles. A node segment domain is centered on a node and surrounded by equal-length segments of the adjacent edges. The segment lengths are set to the minimum of the distance to the nearest unoccupied node or half the distance to the nearest other particle along each edge. Finally, the full node neighborhood domain is employed in the case where there are no other particles on the nodes or edges adjacent to the current node. The asynchronous time propagation for multiple particles proceeds as described in [27] and summarized below.
At the start of the simulation, all particles are distributed into non-overlapping protective domains of the form illustrated in Fig. 9. The particles all begin synchronously with the global time set to zero. We then proceed to sample the first passage time for each particle or pair of particles to leave its protective domain, as well as the boundary through which they leave. This results in an ordered queue of times t i < · · · < t k for leaving the domain. The particle with the shortest leaving time t i is propagated to one of the edges of its domain. Any other particle (j 1 , j 2 , etc.) whose domain touches the boundary reached by particle i is also propagated forward to time t i , using the spatial propagator appropriate to its domain (e.g., Eqs. 30, C.9). The affected particles i, j 1 , j 2 , . . . are then partitioned into protective domains. New exit times are selected for these particles and added into the priority queue. Each step of the algorithm thus consists of propagating a single particle using the appropriate first-passage time distribution for its domain and one or more particles using the spatial 'no-passage' distribution within their domain. The number of such no-passage particles is at most equal to two (if particle i ends on an edge) or the degree of the network node to which it has transitioned.
The first-passage and no-passage propagators for a single particle have already been derived for a nodeneighborhood domain (Eqs. 28 and 30, respectively) and an edge-segment domain (Eqs. C.8 and C.9). A node-segment domain, consisting of d segments of equal length , can be treated identically to a single one-dimensional interval with absorbing boundaries at (− , ) and the particle starting at x 0 = 0. Given the symmetry of the domain, the particle has a 1/d chance of ending a first-passage or a no-passage step on any one of the edges. The joint propagation of a pair of particles that share an edge segment is described in Appendix C.4.

Example: pair encounter times
We use simulations on a variety of network structures to compare the encounter time for two diffusive particles (τ enc ) versus the mean first passage of a single diffusive particle searching for a stationary target placed anywhere on the network (target-averaged global MFPT, or tagMFPT). On an infinite line or plane, the separation between a pair of particles is itself diffusive, with an effective diffusivity 2D. The pair encounter time is thus expected to be half that of the MFPT to a stationary target. In a finite domain, the pair encounter time is dependent on the initial separation between cos (kπ) − sinh k + 1 2 π (2k + 1) 5 cosh k + 1 2 π ≈ 0.42 × tagMFPT.
Simulation results using our algorithm reproduce this expected behavior on a simple network consisting of a line of nodes (Fig. 10a). We next look at pair particle behavior on a planar lattice-like network structure with degree 3 nodes and multiple edges removed to reduce network connectivity. The edges are chosen at random while keeping a single connected cluster within the network. For a full lattice network, the pair encounter time is nearly half of the tagMFPT. However, as the network connectivity decreases and approaches a treelike loop-less structure, the pair encounter time drops substantially lower, to about 0.3 tagMFPT (Fig. 10b). On poorly connected networks the ability of a target to move diffusively can thus greatly speed up the encounter time, beyond what would be expected in a bulk continuum geometry. This result stems from the fact that poorly connected networks have highly heterogeneous global mean first passage times, depending on where a stationary target is placed [4]. If the target is located in regions of the network that are difficult to access, the MFPT can be several times higher than the average over all target positions [4]. Even when averaging over different target locations, the extremely poor accessibility of some target positions leads to tagMF-PTs that are more than twice as slow as the pair encounter time where both particles are diffusive and capable of leaving the hard-to-access regions.
We also compare the pair encounter time to the stationary target search time for several organelle network structures (Fig. 10c). Given their high connectivity, peripheral ER network structures have a pair encounter time that is, on average, τ (ER) enc /tagMFPT ≈ 0.40 ± 0.007 (standard error over networks). Even for these highly looped structures, the pair encounter time is less than half the averaged first passage time to a stationary target. Yeast mitochondrial network structures are less well connected (less looped) than the mammalian ER [4], and their pair encounter time is slightly lower: τ (mito) enc /tagMFPT ≈ 0.35±0.009. These results imply that diffusion of ER and mitochondrial structures such as ERES components or nucleoids may be helpful in allowing for rapid search by diffusing proteins.

Discussion
The methodology outlined in this work allows for precise modeling of the propagation of diffusive particles confined in tubular network structures. We first describe analytic calculations for the mean and variance of the first passage time to reach one of several stationary target sites. Our approach is distinct from past studies of transport on spatial networks [16,19,23,66] by explicitly considering the physical process of diffusion between network nodes, allowing the exact calculation of appropriate splitting probabilities and mean hopping times between adjacent nodes, as a function of the relevant edge lengths. Applications to peripheral ER network structures indicate the effective kinetics in the ER are intermediate between those expected in a 1D vs. 2D geometry (Fig. 2), as well as highlighting the spatial heterogeneity in first passage times between different regions of a network (Fig. 3).
The analytic calculations are then further expanded to consider partially reactive edges scattered throughout the network, giving spatially heterogeneous reaction rates. This model allows an exploration of how the spatial distribution of a fixed total absorbance affects reaction kinetics. In a single long tube, we show that spreading out an absorbing region over an intermediate length-scale results in optimal mean reaction times (Fig. 4). This result is applied to distal cargo capture by microtubule tips and implies a benefit to heterogeneous microtubule lengths in extended cell domains such as neuronal axons and fungal hyphae. In a twodimensional lattice-like network, dispersal of partially absorbing regions away from the source of particle production is shown to be advantageous primarily when particles have a finite maturation time period before they can react (Fig. 5). While protein production in the endoplasmic reticulum is thought to occur largely in the perinuclear rough ER, secreted proteins must undergo a folding and maturation process over timescales of minutes to hours before they can exit the network [59]. Our results thus indicate a potential functional role for the dispersion of ER exit sites throughout the periphery, where they can catch diffusing proteins as they mature.
Complementing the analytic MFPT calculations, we also present an exact, efficient algorithm for agentbased reaction-diffusion simulations of particles on a tubular network. This algorithm constitutes a special case of kinetic Monte Carlo [27] or Green's function reaction dynamics [29] approaches, tailored for a network geometry. Unlike classic Brownian dynamics, it allows for step sizes on the order of entire edge lengths, while sampling from the exact node propagator distribution function. In contrast to a variety of prior studies of stochastic trajectories on networks [17,19,67], we do not assume a single well-defined timescale for each node transition and instead incorporate the full distribution of transition times and splitting probabilities based on physical diffusion over edges of arbitrary length. Such simulations allow for calculations that go beyond the mean target search time, to explore reaction time distributions ( Fig. 6), extreme particle statistics (Fig. 7), spatial dispersion (Fig. 8), and pair encounter times between multiple diffusive particles (Fig. 10). Interestingly, the pair encounter times are found to be less than half the timescale for hitting a stationary target, particularly in the case of poorly connected networks. This finding implies that allowing targets to become diffusively mobile, rather than fixed to a specific network region, can significantly increase their encounter rates with other diffusing particles.
Our approach is relevant to any spatial network that can be described by curved one-dimensional edges (tubules) connecting nodes of negligible volume. For realistic reticulated networks, the implied assumption is that particles spend a negligible amount of time in tubule junctions and are equally likely to enter any of the edges emerging from the junction. While mitochondrial networks generally have nodes that appear to simply be junctions of joining edges [13], the endoplasmic reticulum may include more complex node morphologies such as small regions of fenestrated sheets [68]. While our methods do not currently describe diffusion within such peripheral sheets, they can incorporate the dense patches of tubular intersections that have been hypothesized to comprise some such regions [69]. Including non-negligible trapping times within expanded nodal regions could serve as an important avenue for future work in modeling diffusive transport throughout the ER.
Another potential source of complication in cellular organelles is the combination of diffusive transport with other dynamic processes such as network structural remodeling and the recently postulated intratubule flows that may contribute to rapid motion of ER luminal proteins [19,41]. Topological rearrangements of both mitochondria and the ER occur on the tens of seconds to minutes timescales [14,34,70]. Network remodeling is thus unlikely to have a substantial effect on local protein propagation but may modulate the long search times to reach poorly connected regions of the network. Putative flows in the ER lumen have been proposed to rapidly drive luminal proteins between adjoining nodes, without affecting the diffusion of membraneembedded proteins [41]. Simulations incorporating such flows would require modifying the local node-to-node propagator function for diffusion with drift along individual edges. Both time-varying flows and network rearrangements would require propagating particles forward to synchronization times when such network-level changes occur. In the case of localized changes (i.e., flow reversal along a given edge, or extension of a single tubule), substantial speed-up could still be obtained using the asynchronous kinetic Monte Carlo approach described above.
The methodology presented here has broad applicability to modeling the diffusion of particles over networks with physical edges. Our examples focus on applications to intracellular organelle networks, forming a mathematical framework for exploring diffusion-limited reaction processes in reticulated mitochondria and the ER. These two organelles host a variety of biomolecular pathways of interest, and understanding the kinetics of diffusive search is critical to investigating dynamics of such disparate cellular processes as the early secretory pathway (ER), calcium release and replenishment (ER), and mitochondrial gene transcription. The described framework for simulation and analytic computation of diffusive reaction times in reticulated structures forms an important foundation for exploring the link between morphology and function in complex biological architectures.
To create the synthetic peripheral ER networks featured in Fig. 5, we began with a regular honeycomb lattice, 30 lattice cells across, and excised an annular region. The inner and outer radii of the annulus were chosen to correspond with the dimensions of the nucleus (8 µm) and the cell boundary (20 µm) for a typical COS7 cell. The network edge length is 0.8 µm, matching the average edge length (0.78 ± 0.02 µm, mean plus or minus standard error of the mean) computed for the extracted ER networks used in this study.
The synthetic networks from Figs. 6, 8 and 10 were also initiated as honeycomb lattice networks, 10 lattice cells across. The spatial positions of the nodes were then randomly perturbed by an amount δd ∈ (0, 0.2 ), with the minimum edge length on the network. As shown in Fig. 10, random sets of edges were selected for removal, such that the network retained a single connected component with each subsequent edge removed. The results are averaged over 10 different network structures generated by removing distinct sets of edges.
All edges in the synthetic networks were treated as straight lines between connected nodes.

Appendix C: Sampling transition times in simulations Appendix C.1: Transition times between node neighborhoods
For a particle that starts at node i, we sample the distribution of times t for leaving the neighborhood of i according to the following algorithm.
First, we select the next node reached by the particle, using the discrete splitting probabilities P * ik (Eq. 8a). Next, consider the distribution of survival times S ik (t), conditional on the particle eventually leaving the neighborhood through node k: (C.1) The roots up for the Laplace inversion are precalculated for each neighborhood prior to the start of the simulation. The infinite summation is truncated to up < umax, with the maximum root for each neighborhood selected as described in Appendix C.2. Sampling of the transition time is done through the inverse cumulant method, by first selecting a uniformly distributed value w ∈ (0, 1) and then numerically solving for the value of t with S ik (t) = w.
In practice, we pre-tabulate the distributions of leaving times S ik (t) for each node and each adjacent edge in a network, allowing for rapid sampling of many particle transitions initiating at that node. Appendix C.2: Short time asymptotic limit Equation 28 for the Laplace inversion of the leaving time distribution converges quickly for long times and short edges, with the number of required summation terms scaling as 2 /(Dt). In the limit of short times, an alternate approach is taken for the Laplace inversion. Specifically, we expand Eq. 6 in the limit of s → ∞ to get the lowest order terms where α = s/D and n is the degree of node i. We then use the relation to invert the individual terms of Eq. C.2, integrated over time. This yields the final expression for the cumulative conditional probability that a particle leaves the neighborhood of node i by time t, given it eventually leaves to node k: (C.4) In order for this limit to be accurate, the next highest term in the expansion (Eq. C.2) needs to be sufficiently small. The next highest term for any given time is determined by the shortest edge length ( i,min) and must be at most Erfc 5 i,min/(2 √ Dt) . Therefore, if we set a tolerance of and define the cutoff ξ = − log , then the expression in Eq. C.4 is accurate for all times t below 4ξD . (C.5) For times above t * , we can employ the converging series of Eq. 28. The series is truncated by considering only those poles that satisfy Dt * u 2 max > ξ, or equivalently umax = 2ξ 5 min .

Equation 26
has poles at mπ/ ij for all integer m and a root between every pair of consecutive poles. The maximum number of roots up to umax is then given by j mij,max = 2ξ 5π min j ij . (C.6) The cumulative distribution function can therefore be evaluated efficiently for all values of time, so long as the ratio of longest to shortest edge length in the neighborhood is not too large.
An analogous approach can be used to find the no-passage spatial propagation of a particle over a very short time interval, conditional on never leaving the neighborhood of the node. For a particle starting on node i that has never passed any of the adjacent nodes, the probability that after time t it is located on edge ik, between x and ik can be derived from Eq. 29 as

(C.7)
This expression is normalized by Y ik (0, Δt) and allows for a sampling of the x coordinate using the inverse cumulant method.

Appendix C.3: Propagation on edges
For a particle starting at position x0 on edge ik, the survival probability to time t given that it eventually leaves at one of the bounding nodes can be obtained directly via Eqs. C.1, C.4 by treating the starting position as its own node with adjacent nodes i and k connected by edges of length ik − x0 and x0, respectively. Analogously, Eqs. 30, C.7 can be leveraged to sample the spatial propagation along an edge over a time interval δt until the next save-point. For this special case, the splitting probability and survival probability over time match to the known solutions 80 Page 18 of 20 Eur. Phys. J. E (2021) 44 :80 for a particle on a one-dimensional interval with two absorbing boundaries [27,44]. Namely, for a particle beginning at position x0 on an edge of length m, we have m,± (t) correspond to the probability the particle has not left by time t, given it eventually leaves through the boundaries at m and 0, respectively. Similarly, the nopassage spatial propagator for the particle on an edge can be expressed as, For the short-time limit, analogous functions for a particle propagating on an edge can be derived from Eqs. C.4 and C.7.

Appendix C.4: Particle pair propagation
In order to avoid infinitesimally small steps when particles approach each other, it is necessary to enable two particles to share a single domain, where particle encounter is a finite-probability event within the domain. We follow the algorithm for paired particle propagation that was outlined previously in [27]. The essential points of the algorithm are presented here for completeness and generalized to particles with arbitrary diffusivity.
Specifically, assume x < y describe the coordinates of two particles along a segment with absorbing boundaries at 0 and L. If we make the coordinate change defined by then the time evolution for the joint distribution of the two particles can be expressed as a two-dimensional diffusion equation [73], ∂c(u, v) ∂t = (Dx + Dy) ∂ 2 c ∂u 2 + ∂ 2 c ∂v 2 . (C.11) The joint evolution of the transformed variables can thus be treated as two independent 1D diffusion processes, both with diffusivity Dx + Dy. The edge segment domain containing a pair of particles is illustrated in Fig. 11, which highlights the three boundaries for exiting the domain: x = 0 (first particle hits a segment boundary), y = L (second particle hits a segment boundary), or x = y (particles encounter each other). For simplicity of sampling, we propagate the system forward within a smaller region inscribed within this Fig. 11 Propagators used for an edge-segment protective domain containing a pair of particles. Blue lines mark absorbing boundaries in the domain. Red dot marks x0, y0, the initial positions of the two particles. Two propagation approaches are possible. The x and y coordinates can be propagated directly in an inscribed rectangular domain (black dashed lines). Alternately, the transformed coordinates u, v can be propagated in the region outlined in purple, allowing for particle encounter (u = 0) as a finite-probability outcome of the propagation step. The choice of propagation is based on greatest minimum distance to the boundary-in this case, the purple region would be used two-dimensional domain. One option is to draw a rectangle (black dashed line in the figure), aligned with the x and y axes contained within the allowed domain. The particles are then propagated individually to the boundaries of the rectangle, using Eq. C.8 to find the earliest time for either particle to hit a boundary and Eq. C.9 to spatially propagate the other particle on the condition that it does not leave the rectangle. This approach, however, does not allow the particles to encounter each other and results in infinitesimally small time steps as the particles come close together. An alternate approach is to inscribe a parallelogram within the domain that has one edge on the x = y line (corresponding to u = 0) and the other edges parallel to the v axis, along v = a and v = b. The coordinates u and v are propagated diffusively within this parallelogram according to Eqs. C.8 and C.9, and the two particle positions x, y are then recalculated accordingly. If the exit from the parallelogram happens along the line u = 0, then the particles encounter each other before leaving the domain and a reaction event is recorded.
The choice between the two subdomains (rectangle in x, y coordinates or in u, v coordinates) is made by picking the one with the biggest minimum distance of the initial pair position to the boundaries of the domain. In other words, when the particles start close together (u0 close to 0), the u, v coordinate system is selected to allow an encounter to occur. When they are further apart, the x, y coordinate system is used to allow larger time steps in propagating to a domain boundary.
It should be noted that the time steps in this algorithm can get very small when two particles approach each other in the vicinity of a node, resulting in x and y both close to 0. However, our propagation approach allows for a substantial probability of either the particles encountering each other or one of the particles moving away from the node on a different segment, so that this unfavorable case does not persist for many time steps and does not substantially slow down the simulations when particle density is sparse.