Search code examples
graphvizdot

graphviz record Alignment in rounded box


digraph Trasaction {
bbb [ shape=record,
    label="{ {Level 0} | { First | Second | Third } | { 0 | 1 | 2} }"
]}

graphviz output with arrows

Could the place that the arrow assign to be alignment?


Solution

  • You could just construct the label differently:

    label="{ {Level 0} | { {First | 0} | {Second | 1} | {Third | 2} } }"
    

    Perfect alignment!