Python code for the paper "Reaction Networks Resemble Low-Dimensional Regular Lattices". Included is code to generate networks and analyze them.
The generation codes can create Erdős–Rényi (ER) networks, bipartite random (BR) networks,
regular lattices networks with non-periodic boundary conditions (LNP) and periodic boundary conditions (LP),
Watts–Strogatz (WS) networks, and modified regular lattices networks (LNP-R and LP-R), which generalize the WS
construction to higher dimensions by adding random shortcuts with probability
The analysis code calculates basic properties (number of nodes