Potential Mean-Field Games and Gradient Flows | Synapse