Large Deviations for Marked Sparse Random Graphs with Applications to Interacting Diffusions | Synapse