diff options
Diffstat (limited to '')
-rw-r--r-- | src/doc/book/second-edition/dot/trpl04-06.dot | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/doc/book/second-edition/dot/trpl04-06.dot b/src/doc/book/second-edition/dot/trpl04-06.dot new file mode 100644 index 000000000..a23f179a7 --- /dev/null +++ b/src/doc/book/second-edition/dot/trpl04-06.dot @@ -0,0 +1,41 @@ +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">world</TD></TR> + <TR><TD>name</TD><TD>value</TD></TR> + <TR><TD>ptr</TD><TD PORT="pointer2"></TD></TR> + <TR><TD>len</TD><TD>5</TD></TR> + </TABLE>>]; + + table3[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="pointer"></TD></TR> + <TR><TD>len</TD><TD>11</TD></TR> + <TR><TD>capacity</TD><TD>11</TD></TR> + </TABLE>>]; + table4[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> + <TR><TD>5</TD><TD> </TD></TR> + <TR><TD PORT="pointee2">6</TD><TD>w</TD></TR> + <TR><TD>7</TD><TD>o</TD></TR> + <TR><TD>8</TD><TD>r</TD></TR> + <TR><TD>9</TD><TD>l</TD></TR> + <TR><TD>10</TD><TD>d</TD></TR> + </TABLE>>]; + + + edge[tailclip="false"]; + table0:pointer2:c -> table4:pointee2; + table3:pointer:c -> table4:pointee; +} + |