the regex for building the DOT text was too greedy! in cases where there
were more than two branches in a given text, it would only match the
first branch and the second branch. because of how greedy it was.
so hopefully this should fix that. at least, graph.png looks correct to