Changing rankdir messes up `shape = record` nodes
This problem cropped up on Stackoverflow occasionally. When changing the
rankdir in a graph with
record nodes, the nodes get messed up since they now also "grow" from left to right, instead of having a record shape.
It would be useful to have the two orientations be independent somehow.