code your diagrams, because drawing them really sucks