Right to left edges in dot (Graphviz)
I have no alternative to your usage of dir, but i can make it slightly shorter, if you want horizontal alignment, use the rankdir property of graph, to force direction from left to right. digraph { rankdir=LR; a->b; c->a [dir=”back”]; }