diff options
Diffstat (limited to 'src/doc/book/dot/trpl04-05.dot')
-rw-r--r-- | src/doc/book/dot/trpl04-05.dot | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/doc/book/dot/trpl04-05.dot b/src/doc/book/dot/trpl04-05.dot new file mode 100644 index 000000000..ca1f7e06e --- /dev/null +++ b/src/doc/book/dot/trpl04-05.dot @@ -0,0 +1,32 @@ +digraph { + rankdir=LR; + overlap=false; + dpi=300.0; + node [shape="plaintext"]; + + table0[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> + <TR><TD COLSPAN="2" SIDES="B">s</TD></TR> + <TR><TD>name</TD><TD>value</TD></TR> + <TR><TD>ptr</TD><TD PORT="borrower"></TD></TR> + </TABLE>>]; + table1[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> + <TR><TD COLSPAN="2" SIDES="B">s1</TD></TR> + <TR><TD>name</TD><TD>value</TD></TR> + <TR><TD PORT="borrowee">ptr</TD><TD PORT="pointer"></TD></TR> + <TR><TD>len</TD><TD>5</TD></TR> + <TR><TD>capacity</TD><TD>5</TD></TR> + </TABLE>>]; + table2[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> + <TR><TD>index</TD><TD>value</TD></TR> + <TR><TD PORT="pointee">0</TD><TD>h</TD></TR> + <TR><TD>1</TD><TD>e</TD></TR> + <TR><TD>2</TD><TD>l</TD></TR> + <TR><TD>3</TD><TD>l</TD></TR> + <TR><TD>4</TD><TD>o</TD></TR> + </TABLE>>]; + + edge[tailclip="false"]; + table1:pointer:c -> table2:pointee; + table0:borrower:c -> table1:borrowee; +} + |