Fluxes, Laplacians, and Kasteleyn’s theorem | Synapse