Materializr
開源參數式 3D CAD 給創客 — 受限草圖、實體建模、螺紋、SVG 與文字雕刻、STL/STEP 匯出。Android、iPad、Linux、Mac、Windows。Vibe 編碼。
AI 翻譯
Interactive dependency graph for DTCG design tokens: visualize aliasing, blast radius, and cycles as a design system grows.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
dtgraph turns DTCG design token files into an
interactive dependency graph.
It parses DTCG token files and renders the reference graph between tokens — which
primitives feed which semantic tokens, what breaks if a value changes, and where
cycles hide — as an interactive node graph, so token lineage and blast radius stay
legible as a design system grows.檢視完整 README ↗It parses DTCG token files and renders the reference graph between tokens — which primitives feed which semantic tokens, what breaks if a value changes, and where cycles hide — as an interactive node graph, so token lineage and blast radius stay legible as a design system grows.
Open the playground and drop a DTCG file on it
(or a *.resolver.json with the files it references, then switch between its contexts):
tokens cluster by what they reference, the most-depended-on primitives are the biggest dots,
hovering spotlights relations, clicking opens a detail panel, / searches. Nothing is uploaded.
| Package | What it is |
|---|---|
@dtgraph/core | Parse DTCG files and resolver documents, resolve aliases (across files and per context), build the token graph, render a static SVG. |
dtgraph | CLI: dtgraph validate and dtgraph render for one or more token files, or a resolver plus its files. |
@dtgraph/viewer | The interactive WebGL map: clusters, blast radius, hover/click focus, search, detail panel. |
@dtgraph/mdx | <TokenGraph> for MDX/Astro pages, static SVG or interactive. |
@dtgraph/storybook | Storybook addon panel showing each story's token graph. |
Full docs live at https://julien-deramond.github.io/dtgraph/docs/.
| Page | What's in it |
|---|---|
| Getting started | Two ways to start using dtgraph — the playground, or the CLI. |
| DTCG primer | What a DTCG token file looks like, for someone who's never seen one before. |
| Interactive viewer | Explore a token graph as a zoomable map — clusters, blast radius, search, and a detail panel for every token. |
| CLI reference | Every dtgraph CLI command, flag, and exit code. |
Early-stage / pre-release. Core parsing, graph model, and rendering are still being designed — see the open issues for what's in progress.
Contributions are welcome. See CONTRIBUTING.md for how issues and pull requests are triaged and reviewed, including the workflow for AI-agent-submitted issues. To report a bug or request a feature, open an issue.
Code: MIT. The brand files (the mark and the artwork, including the header image) are all rights reserved.