pythonic生物人

再见Visio,再见draw.io

Visio和draw.io出的远古流程图不好看,本期给大家安利一个流行的流程图神器——diagram-design。

diagram-design是一个图表设计skill。

你告诉diagram-design要什么图,它去读一下你的网站,然后生成一张跟你的品牌风格匹配的图表,前后不到一分钟。

你白话文描述: 
"onboard diagram-design to https://你的网站或blog.com"

diagram-design开始干活:   
         → fetches the homepage
         → extracts the dominant palette + font stack
         → maps detected values to semantic roles:
             paper, ink, muted, accent, link
         → shows a proposed diff
         → writes your tokens to references/style-guide.md

让他执行:     "yes, apply it"

生成出来的图就是个HTML文件,双击浏览器打开就能看,不依赖任何外部资源。

例如,ER / data model,适合Entities + fields

Image

Process,适合Multi-actor sequential workflow

Image

Pyramid / funnel,适合Ranked hierarchy or drop-off

Image

Gantt,适合Tasks + phases on a timeline

Image

Sankey,适合Quantities that split + merge

Image

等等......,目前,支持53种图类型,

ImageImage

每种都有亮色、暗色和完整版三个版本可选。

Image

开源地址: https://github.com/cathrynlavery/diagram-design



往期精彩

2026可视化工具TOP3

复现IF50.0期刊上6张图

复现Science正刊图

复现顶刊forestplot

师姐认为你会的55个科研图表

师弟师妹偷偷用的7大科研图表

复现Nature中的PCA图

复现Cell图