I admit that I skimmed the article because I already have a good solution for this (mermaid rendered in gitlab/github markdown files), but by the looks of it, this just looks like a limited (lacking inheritance and the like) entity relationship diagram custom generator using D2's api.
Fun little experiment, but if you want to get serious about documentation, I'll just suggest mermaid instead of rolling your own custom text-to-diagram tool.
But if instead you want to have some fun generating diagrams, this looks like a good starting point.
2 comments
[ 13.2 ms ] story [ 31.7 ms ] threadFun little experiment, but if you want to get serious about documentation, I'll just suggest mermaid instead of rolling your own custom text-to-diagram tool.
But if instead you want to have some fun generating diagrams, this looks like a good starting point.
If you want to compare Mermaid against D2, take a look at https://text-to-diagram.com. The maintainers of Mermaid have contributed to it.