 Graphons offer a simple way to compute homomorphism densities.Indeed, given a graph formula_59 with associated graphon formula_58 and another formula_128, we have

formula_151

where the integral is multidimensional, taken over the unit hypercube formula_152.This follows from the definition of an associated graphon, by considering when the above integrand is equal to formula_120.