title: record nodes and rankdir in graphviz
body: <p>When I changed the rankdir of my graph from LR to TD, my record nodes also changed their layout direction so they no longer look like a 'record'. I tried applying a separate rankdir to the nodes, but this had no effect.</p>
  
  <p>How does one keep the record nodes with the correct layout?</p>
  
  <pre><code>digraph sample { 
    graph [rankdir=TD];
    node [shape=record];
  
    A [label="ShouldBeTop | ShouldBeBottom"];
    B [label="Top | Bottom"];
    A -&gt; B;
  }
  </code></pre>