A Graph-Theoretic Approach To The Construction Of Lyapunov Functions For Coupled Systems On Networks