#svg #protocols #documentation #binary

protoviz

A fast and intuitive way of creating figures for protocol documentation

15 releases

0.6.0 Nov 26, 2025
0.5.3 Oct 2, 2024
0.5.2 Sep 24, 2024
0.5.1 Jul 12, 2024
0.1.0 Jul 1, 2024

#374 in Images

MIT license

60KB
780 lines

ProtoViz

A fast and intuitive way of creating figures for protocol documentation.

For an example of how to use this library, check the examples folder or the ProtoViz Website.


ProtoViz

Example

A fast and intuitive way of creating figures for protocol documentation.

Supports many features:

  • Fixed and variable size fields
  • Big and Little Endianness
  • Many styling options (Background color, field color, text color)
  • Line wrapping
  • Field length and position subtitles
  • Custom field width

It uses Tera for generating the SVG file.

For a pratical use case, check the examples readme or the ProtoViz Website.

Dependencies

~7–11MB
~199K SLoC