Text this: Graphs, Dioids and Semirings