Debian Codegraph @

texmf-dist/doc/latex/tikzpackets/README

raw
1 Package tikzPackets provide command for simple build network packets illustration with tikz.
2
3 Usage example (UDP):
4
5 \begin{tikzpicture}
6 \packetsInit
7 \packetsPrintBitScale{31}
8
9 \packetsPutField{16}{Source Port}
10 \packetsPutField{16}{Destination Port}
11 \packetsEndLine{0}{}
12
13 \packetsPutField{16}{Length}
14 \packetsPutField{16}{Checksum}
15 \packetsEndLine{32}{}
16
17 \packetsPutField[protocolsField, minimum height = 1.5cm]{32}{Data}
18 \packetsEndLine{64}{}
19 \end{tikzpicture}
20
21
22 Version 1.0 (2020-07-13): first public release
23
24
25 Copyright (C) 2020, Robert Ryszard Paciorek <[email protected]>
26
27 This is free software distributed under terms of The MIT License.