TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Generate diagrams programmatically with D2

9 点作者 alixanderwang超过 2 年前

1 comment

ranguna超过 2 年前
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 未加载