Text this: Testing CP properties of the Higgs boson coupling to τ leptons with heterogeneous graphs