title: Right to left edges in dot (Graphviz)
body: <p>I'm trying to display edges going from right to left (i.e. backwards) using dot:</p>
  
  <pre><code>C &lt;- A -&gt; B
  </code></pre>
  
  <p>The best I could do was:</p>
  
  <pre><code>digraph {
    a -&gt; b;
    c -&gt; a [dir="back"];
    {rank=same;c a b}
  }
  </code></pre>
  
  <p>..which is fine, except I don't like using <code>c -&gt; a</code> when the edge is directed the other way.</p>
  
  <p>So I wanted to share this solution (which didn't seem to be mentioned on SO) and check if I'm missing something obvious.</p>
  
  <p>See: <a href="http://www.graphviz.org/doc/info/attrs.html#k:dirType" rel="noreferrer">http://www.graphviz.org/doc/info/attrs.html#k:dirType</a></p>