Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add draw-column-headers Function in bytefield-svg #46

Closed
manipuladordedados opened this issue Mar 15, 2024 · 3 comments
Closed

Add draw-column-headers Function in bytefield-svg #46

manipuladordedados opened this issue Mar 15, 2024 · 3 comments

Comments

@manipuladordedados
Copy link

A new function/helper called draw-column-headers. This would make the header line format resemble the one used in this example: Packet Diagram Example.

@brunchboy
Copy link
Member

If you would like to write that, you can put it in a file that you include for use in your own diagrams, the way I do for my own shared diagram features in my reverse engineering documentation (here is such a reusable include file, and here is an example of using it).

That’s the whole point of this being an extensible starting point: it can draw any kind of diagram anyone wants, without having to implement everything itself. So this doesn’t belong in bytefield-svg itself, but in an include file for people who want to draw diagrams like that.

@brunchboy
Copy link
Member

If you would like help writing this, and to explore other ideas, I’d encourage you to join the Deep Symmetry Zulip community and talk about it in the other projects stream.

@brunchboy
Copy link
Member

brunchboy commented Mar 15, 2024

Also, you would want to call the function something else perhaps draw-packetdiag-style-column-headers, because if you look at the documentation, there already is a draw-column-headers function, which draws them the way I like them to look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants