title: How to get directed graph by dot
body: <p>When i test this undirected graph is normal:</p>
  
  <pre><code>graph test{
  A -- B
  }
  </code></pre>
  
  <p>But When i test</p>
  
  <pre><code>graph test{
  A -&gt; B
  }
  </code></pre>
  
  <p>It report this </p>
  
  <blockquote>
    <p>Error: call-graph2018-08-06.dot: syntax error in line 2 near '->' </p>
  </blockquote>
  
  <p>I follow this link:</p>
  
  <p><a href="https://en.wikipedia.org/wiki/DOT_(graph_description_language)" rel="nofollow noreferrer">DOT</a></p>