Packet Diagram (v11.0.0+) β
Introduction β
A packet diagram is a visual representation used to illustrate the structure and contents of a network packet. Network packets are the fundamental units of data transferred over a network.
Usage β
This diagram type is particularly useful for developers, network engineers, educators, and students who require a clear and concise way to represent the structure of network packets.
Syntax β
md
packet-beta
start: "Block name" %% Single-bit block
start-end: "Block name" %% Multi-bit blocks
... More Fields ...
Examples β
Code:
mermaid
Code:
mermaid
Details of Syntax β
- Ranges: Each line after the title represents a different field in the packet. The range (e.g.,
0-15
) indicates the bit positions in the packet. - Field Description: A brief description of what the field represents, enclosed in quotes.
Configuration β
Please refer to the configuration guide for details.