Pātuhitia tēnei: Theory and applications of graphs