Isospectral polygons, planar graphs and heat content

Given a pair of planar isospectral, nonisometric polygons constructed as a quotient of the plane by a finite group, we construct an associated pair of planar isospectral, nonisometric weighted graphs. Using the natural heat operators on the weighted graphs, we associate to each graph a heat content. We prove that the coefficients in the small time asymptotic expansion of the heat content distinguish our isospectral pairs. As a corollary, we prove that the sequence of exit time moments for the natural Markov chains associated to each graph, averaged over starting points in the interior of the graph, provides a collection of invariants that distinguish isospectral pairs in general.