Skip to content

Packet Diagrams

Packet diagrams display the structure of network packets or binary data formats, showing bit ranges and field labels.

packet-beta
0-15: "Source Port"
16-31: "Destination Port"
32-63: "Sequence Number"
64-95: "Acknowledgment Number"

Mermaid Studio provides basic support for packet diagrams:

  • Syntax highlighting for bit ranges and field names
  • Live preview with packet structure visualization
  • Error detection for invalid syntax

For complete syntax documentation including row configuration and styling, see the Mermaid.js Packet documentation.