Text this: Graphs, surfaces and homology