Convert graphs generated by Graphviz to LaTeX friendly formats