  In this paper we develop a theory of Fourier-like transforms on the space of
stable graphs. In particular, we introduce a duality theory of stable graphs.
As an application, we derive the holomorphic anomaly equations for general
propagators in the work of Aganagic, Bouchard and Klemm.
