title: How to force straight splines with Graphviz record
body: <p>There are multiple questions e.g. <a href="https://stackoverflow.com/questions/3006792/straight-edge-between-clusters-in-graphviz">here</a>, <a href="https://stackoverflow.com/questions/7115870/creating-straight-edges-in-graphviz/12869546">here</a>, and <a href="https://forum.graphviz.org/t/force-straight-edges-above-through-a-node/741" rel="nofollow noreferrer">here</a>. Asking how to force straight edges for connectors in Graphviz (dot).</p>
  <p>The answers include:</p>
  <ul>
  <li><code>splines=line;</code></li>
  <li><code>splines=false;</code></li>
  <li>compiling with neato</li>
  <li>and a <a href="https://stackoverflow.com/questions/7115870/creating-straight-edges-in-graphviz">longer example</a> that creates straight lines by creating invisible nodes.</li>
  </ul>
  <p>(How) can I force straight connectors from the top of one record to another with this example without resorting to invisible nodes (if possible)?</p>
  <pre><code>digraph select {
      splines=line;
      // splines=false;
      node [shape=record];
      rec1 [label=&quot;&lt;f0&gt; left|&lt;f1&gt; middle|&lt;f2&gt; right&quot;];
      rec1:f0:n -&gt; rec1:f2:n;
  }
  </code></pre>
  <p>Edit: a question was asked - how can the record have a connecting edge if it's one record and how can that not be straight?</p>
  <p>A record can point at different parts of itself. The question is how to get that to be straight i.e. go out turn at a 90 degree angle, go, turn at a 90 degree angle, and connect?</p>
  <p>i.e. not a curved edge:
  <a href="https://i.stack.imgur.com/pQ9Hk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pQ9Hk.png" alt="connector with curved edge" /></a></p>