TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Generate diagrams programmatically with D2

9 pointsby alixanderwangover 2 years ago

1 comment

rangunaover 2 years ago
I admit that I skimmed the article because I already have a good solution for this (mermaid rendered in gitlab&#x2F;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&#x27;s api.<p>Fun little experiment, but if you want to get serious about documentation, I&#x27;ll just suggest mermaid instead of rolling your own custom text-to-diagram tool.<p>But if instead you want to have some fun generating diagrams, this looks like a good starting point.
评论 #34386756 未加载