4 ms·
WireViz is great, are there similar tools for other areas? I tried to find a good way to illustrate packets in a simple protocol and went for the bytefield pac
by tjoff 3y ago
WireViz is great, are there similar tools for other areas?
I tried to find a good way to illustrate packets in a simple protocol and went for the bytefield package for latex (pdf manual https://texdoc.org/serve/bytefield.pdf/0 https://texdoc.org/serve/bytefield.pdf/0 ). It is a bit heavy, as if requiring latex wasn't heavy enough, so at first I dismissed it and thought there would be something simpler. But I couldn't find anything else that I liked so I stuck with it and think it was worthwhile in the end, the output looks great and is very clear.
- arrw 3y agoQuite a few years ago I wrote a tool as a university project that can extract C (and to a lesser degree C++ and Pascal) struct definitions from DWARF debug symbols and output VHDL or LaTeX/TikZ diagrams: https://gitlab.cs.fau.de/arw/st https://gitlab.cs.fau.de/arw/st
- mjsir911 3y agoI've been looking for the same, and the closest I've come to is the protocol utility & the more-maintained protocol-go re-implementation. https://www.luismg.com/protocol/ https://www.luismg.com/protocol/ https://github.com/ryungmin/protocol-go https://github.com/ryungmin/protocol-go
- heffer 3y agoThere is nwdiag which is part of blockdiag: http://blockdiag.com/en/nwdiag/index.html http://blockdiag.com/en/nwdiag/index.html Unfortunately, it seems the package is abandoned with the maintainer being unresponsive. But I've been using it within Sphinx to generate some documentation for a Bluetooth protocol, and it generates pretty useful diagrams.
- v9v 3y agoThere's https://wavedrom.com https://wavedrom.com for digital timing diagrams, not exactly the type of diagram you want but still useful.
- nickthenerd 3y agobytefield-svg is an npm package: https://github.com/Deep-Symmetry/bytefield-svg https://github.com/Deep-Symmetry/bytefield-svg
- bartlettD 3y agoWaveDrom also have a package for making bitfield diagrams (https://github.com/wavedrom/bitfield https://github.com/wavedrom/bitfield). Has anyone used both of these? I'd be interested to see how they compare.