Show HN: CASCII – Put Diagrams in Your Code
1–5 of 5 posts
Re: Show HN: CASCII – Put Diagrams in Your Code
#2I have previously used graph-easy[1] to turn Graphviz/DOT files into ASCII for code comments. It is great for state machines or explaining the relationship between different systems or classes, and if you check in the DOT file alongside the code, it is not too difficult to update later if something changes.
[1] https://metacpan.org/release/TELS/Graph-Easy-0.64/view/bin/g...
Re: Show HN: CASCII – Put Diagrams in Your Code
#3I have previously used graph-easy[1] to turn Graphviz/DOT files into ASCII for code comments. It is great for state machines or explaining the relationship between different systems or classes, and if you check in the DOT file alongside the code, it is not too difficult to update later if something changes. [1] https://metacpan.org/release/TELS/Graph-Easy-0.64/view/bin/g...
Interesting. I haven't come across this one before. I always found auto-rendering ones to be annoyingly less predictable. Thanks for sharing.
Re: Show HN: CASCII – Put Diagrams in Your Code
#4This is pure genius! Interactiy building ASCII diagrams!! Well executed
Re: Show HN: CASCII – Put Diagrams in Your Code
#5This is pure genius! Interactiy building ASCII diagrams!! Well executed
Thank you! I’m hoping the short link feature makes it useful over time / maintainable which would otherwise be tricky for when code changes.