Skip to content

Commit

Permalink
graphviz is terrible
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Mar 3, 2017
1 parent 07310e5 commit 87609b1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions dot/trpl15-04.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
digraph {
rankdir="LR";
dpi=300.0;
node [shape="plaintext"];

table0[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD SIDES="B" PORT="pte3">a</TD><TD SIDES="B" PORT="ptr0"></TD></TR>
</TABLE>>];

table1[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD PORT="pte0">5</TD><TD PORT="ptr1"> </TD></TR>
</TABLE>>];


table3[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD PORT="pte2">10</TD><TD PORT="ptr3"> </TD></TR>
</TABLE>>];


table2[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD SIDES="B" PORT="pte1">b</TD><TD SIDES="B" PORT="ptr2"></TD></TR>
</TABLE>>];


edge[tailclip="false"];
table0:ptr0:c -> table1:pte0;
table1:ptr1:c -> table2:pte1;
table2:ptr2:c -> table3:pte2;
table3:ptr3:c -> table0:pte3;

{ rank="same"; table3; table0; }
{ rank="same"; table1; table2; }

}

0 comments on commit 87609b1

Please sign in to comment.