title: Changing edge direction in dot
body: <p>I'm trying to draw a pretty simple diagram in dot.</p>
  
  <pre><code>digraph untitled
      {
      rankdir = LR;
      {rank=same; S; A}
      B -&gt; A;
      B -&gt; S;
      A -&gt; A;
      S -&gt; S;
      A -&gt; S ;
      S -&gt; A;
      A -&gt; T;
      S -&gt; T;
  }
  </code></pre>
  
  <p>The results I get is</p>
  
  <p><img src="https://i.stack.imgur.com/MkvVD.png" alt="enter image description here"></p>
  
  <p>I really have to change the edge from <code>S -&gt; S</code>, but I would also like to change the orientation of the arrows so they loop from left to right.</p>