@littledragon_wxl/drawio-style-graph 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/LICENSE +21 -0
  3. package/README.md +175 -0
  4. package/README_zh.md +171 -0
  5. package/SKILL.md +419 -0
  6. package/data/SHAPE-INDEX-NOTICE.md +17 -0
  7. package/data/lobe-icons.json +878 -0
  8. package/data/shape-index.json.gz +0 -0
  9. package/package.json +43 -0
  10. package/references/autolayout.md +125 -0
  11. package/references/diagram-types.md +83 -0
  12. package/references/shapes.md +151 -0
  13. package/references/style-application-guide.md +120 -0
  14. package/references/style-diagram-matrix.md +159 -0
  15. package/references/style-extraction.md +255 -0
  16. package/references/style-presets.md +110 -0
  17. package/references/styles/style-1-flat-icon.md +79 -0
  18. package/references/styles/style-2-dark-terminal.md +80 -0
  19. package/references/styles/style-3-blueprint.md +84 -0
  20. package/references/styles/style-4-notion-clean.md +78 -0
  21. package/references/styles/style-5-glassmorphism.md +85 -0
  22. package/references/styles/style-6-claude-official.md +84 -0
  23. package/references/styles/style-7-openai.md +94 -0
  24. package/references/styles/style-8-dark-luxury.md +109 -0
  25. package/references/troubleshooting.md +63 -0
  26. package/scripts/aiicons.py +201 -0
  27. package/scripts/autolayout.py +341 -0
  28. package/scripts/encode_drawio_url.py +58 -0
  29. package/scripts/goimports.py +141 -0
  30. package/scripts/jsimports.py +162 -0
  31. package/scripts/pyclasses.py +156 -0
  32. package/scripts/pyimports.py +153 -0
  33. package/scripts/repair_png.py +37 -0
  34. package/scripts/rustimports.py +203 -0
  35. package/scripts/shapesearch.py +162 -0
  36. package/scripts/validate.py +137 -0
  37. package/styles/built-in/corporate.json +49 -0
  38. package/styles/built-in/default.json +49 -0
  39. package/styles/built-in/handdrawn.json +49 -0
  40. package/styles/schema-drawio.json +112 -0
  41. package/styles/schema.json +213 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 (2026-06-16)
4
+
5
+ ### Initial Release — Fully Self-Contained
6
+
7
+ - **8 visual styles** adapted from fireworks-tech-graph:
8
+ - Style 1: Flat Icon (default) — clean, colorful, draw.io-native
9
+ - Style 2: Dark Terminal — neon-on-dark, monospace font
10
+ - Style 3: Blueprint — cyan-on-navy, sharp corners, technical feel
11
+ - Style 4: Notion Clean — minimal, warm gray, documentation-friendly
12
+ - Style 5: Glassmorphism — frosted glass, layered depth on dark bg
13
+ - Style 6: Claude Official — warm, Anthropic-style, thick borders
14
+ - Style 7: OpenAI Official — clean, precise, minimal borders
15
+ - Style 8: Dark Luxury — gold-on-black, premium editorial
16
+
17
+ - **Style to Draw.io token mapping** for all 8 styles
18
+
19
+ - **Style Application Guide** with role-to-color mapping
20
+
21
+ - **Style-to-Diagram-Type Compatibility Matrix** (14 types x 8 styles)
22
+
23
+ - **JSON Schema** for validating style presets
24
+
25
+ - **Bundled drawio-skill engine** (no external dependency):
26
+ - 11 Python scripts (shapesearch, aiicons, validate, repair_png, autolayout,
27
+ encode_drawio_url, pyimports, jsimports, goimports, rustimports, pyclasses)
28
+ - Shape index data (10,446 shapes) and AI brand icons database (321 brands)
29
+ - All references (diagram types, shapes, troubleshooting, autolayout, style presets)
30
+
31
+ - Full workflow: gather requirements > load style > plan > generate .drawio >
32
+ export preview > self-check > review > final export
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Agents365-ai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,175 @@
1
+ # drawio-style-graph
2
+
3
+ **English** · [中文](README_zh.md)
4
+
5
+ > **8 professional visual styles x draw.io editable format.**
6
+ > Describe your system in natural language — get a styled, editable .drawio diagram.
7
+
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
9
+ [![8 Visual Styles](https://img.shields.io/badge/Styles-8-purple)]()
10
+ [![14 Diagram Types](https://img.shields.io/badge/Diagram%20Types-14-green)]()
11
+ [![10k+ Shapes](https://img.shields.io/badge/Shapes-10,446-blue)]()
12
+ [![321 AI Logos](https://img.shields.io/badge/AI%20Logos-321-orange)]()
13
+
14
+ ---
15
+
16
+ ## What Is This?
17
+
18
+ Two excellent open-source diagram tools, fused into one:
19
+
20
+ | 🔥 fireworks-tech-graph | 📐 drawio-skill |
21
+ |---|---|
22
+ | by [@yizhiyanhua-ai](https://github.com/yizhiyanhua-ai) | by [@Agents365-ai](https://github.com/Agents365-ai) |
23
+ | **8 hand-crafted visual styles**<br>Flat Icon, Dark Terminal, Blueprint,<br>Notion Clean, Glassmorphism,<br>Claude Official, OpenAI, Dark Luxury | **Complete draw.io engine**<br>10,446 vendor shapes, 321 AI logos,<br>diagram type presets, auto-layout,<br>PNG/SVG/PDF export pipeline |
24
+ | 🎨 Color palettes · Typography systems<br>Arrow semantics · Design tokens | 🔍 shapesearch.py · 🤖 aiicons.py<br>✅ validate.py · 🔧 repair_png.py<br>📐 autolayout.py · 🌐 encode_drawio_url.py |
25
+
26
+ Both ecosystems are fully bundled — no external skill dependencies:
27
+
28
+ ```
29
+ fireworks-tech-graph drawio-skill
30
+ (SVG design tokens) (draw.io engine + scripts)
31
+
32
+ │ │
33
+ │ 8 visual styles │ 10,446 shapes search
34
+ │ color palettes │ 321 AI brand logos
35
+ │ typography systems │ diagram type presets
36
+ │ arrow semantics │ auto-layout (Graphviz)
37
+ │ shape preferences │ validation + repair
38
+ │ extras (shadow/glass/sketch) │ browser fallback URLs
39
+ │ │
40
+ └──────────────┬───────────────────────┘
41
+ │ SVG tokens mapped to draw.io style= strings
42
+
43
+ ┌─────────────────────┐
44
+ │ drawio-style-graph │
45
+ │ │
46
+ │ 8 styles │
47
+ │ x │
48
+ │ .drawio format │
49
+ │ │
50
+ │ Fully self-contained
51
+ │ Zero extra installs │
52
+ └─────────────────────┘
53
+ ```
54
+
55
+ **The result:** the visual polish of fireworks-tech-graph's SVG styles,
56
+ rendered as fully **editable .drawio files** with draw.io's entire shape ecosystem.
57
+
58
+ ---
59
+
60
+ ## 8 Built-in Styles
61
+
62
+ Each style is a complete design system mapped to draw.io `style=` token strings:
63
+
64
+ | # | Style | Palette | Typography | Signature |
65
+ |---|-------|---------|------------|-----------|
66
+ | 1 | **Flat Icon** | Blue · Green · Orange · Purple | Helvetica, 14px | `rounded=1` |
67
+ | 2 | **Dark Terminal** | Purple · Blue · Green neon | SF Mono, 13px | `shadow=1`, bg `#0f0f1a` |
68
+ | 3 | **Blueprint** | Cyan · Green · Orange | Courier New, 13px | `rounded=0`, bg `#0a1628` |
69
+ | 4 | **Notion Clean** | Warm gray · Single blue accent | System UI, 14px | Minimal · Flat |
70
+ | 5 | **Glassmorphism** | Blue · Purple · Green glow | Inter, 14px | `glass=1;shadow=1`, bg `#0d1117` |
71
+ | 6 | **Claude Official** | Teal · Blue · Beige · Gray | System UI, 16px | `strokeWidth=2.5`, thick borders |
72
+ | 7 | **OpenAI Official** | White · `#10a37f` green accent | System UI, 16px | `strokeWidth=1.5`, precision |
73
+ | 8 | **Dark Luxury** | 6-color buckets · Gold arrows | Georgia + Sans, 14px | Dual font, bg `#0a0a0a` |
74
+
75
+ → [Style-diagram compatibility matrix](references/style-diagram-matrix.md)&nbsp;&nbsp;← [How to apply styles](references/style-application-guide.md)
76
+
77
+ ---
78
+
79
+ ## Quick Start
80
+
81
+ ### Prerequisites
82
+
83
+ 1. Install draw.io desktop: [download](https://github.com/jgraph/drawio-desktop/releases)
84
+ 2. Python 3 (for helper scripts)
85
+ 3. Graphviz (optional): `brew install graphviz`
86
+
87
+ **That's it.** No other skills needed — everything is bundled.
88
+
89
+ ### Usage
90
+
91
+ ```
92
+ "Draw a microservices architecture with Dark Terminal style"
93
+ "Create an ERD for a blog system with Notion Clean style"
94
+ "Generate an AI agent architecture diagram with Glassmorphism style"
95
+ ```
96
+
97
+ ---
98
+
99
+ ## How SVG Tokens Map to Draw.io
100
+
101
+ | SVG / Design Token | Draw.io Equivalent |
102
+ |---|---|
103
+ | `fill: #eff6ff` | `fillColor=#eff6ff` in vertex style |
104
+ | `stroke: #bfdbfe` | `strokeColor=#bfdbfe` in vertex style |
105
+ | `rx: 8px` (border-radius) | `rounded=1` (or `rounded=0` for sharp) |
106
+ | `font-family: Helvetica` | `fontFamily=Helvetica` in vertex style |
107
+ | `font-size: 14px` | `fontSize=14` in vertex style |
108
+ | `font-weight: 600` | `fontStyle=1` (bold) in vertex style |
109
+ | `color: #111827` | `fontColor=#111827` in vertex style |
110
+ | Arrow marker `fill` | `strokeColor=#xxxxxx` on edge |
111
+ | `stroke-dasharray: 5,3` | `dashed=1` on edge |
112
+ | `filter: drop-shadow` | `shadow=1` or `glass=1` in vertex style |
113
+ | Sketch/rough edges | `sketch=1` in vertex + edge styles |
114
+
115
+ ---
116
+
117
+ ## What's Bundled
118
+
119
+ | Directory | Contents |
120
+ |-----------|----------|
121
+ | `scripts/` | 11 Python scripts: shapesearch (10,446 shapes), aiicons (321 AI logos), validate, repair_png, autolayout, encode_drawio_url, 5 project importers |
122
+ | `data/` | `shape-index.json.gz` + `lobe-icons.json` |
123
+ | `references/` | diagram-types.md, shapes.md, troubleshooting.md, autolayout.md, style-presets.md, style-extraction.md, style-diagram-matrix.md, style-application-guide.md, 8 style reference files |
124
+ | `styles/` | 3 built-in draw.io presets (`default.json`, `corporate.json`, `handdrawn.json`) + 2 JSON schemas |
125
+
126
+ **Supported diagram types:** Architecture · Data Flow · Flowchart · Agent/Memory ·
127
+ Sequence · UML Class · Use Case · State Machine · ER Diagram · Network Topology ·
128
+ ML/DL Model · Mind Map · Comparison Matrix · Timeline/Gantt
129
+
130
+ ---
131
+
132
+ ## License
133
+
134
+ MIT
135
+
136
+ ---
137
+
138
+ ## Acknowledgments
139
+
140
+ This project stands on the shoulders of two excellent open-source communities:
141
+
142
+ ### 🔥 fireworks-tech-graph
143
+
144
+ The 8 visual styles and their design tokens are adapted from
145
+ **[fireworks-tech-graph](https://github.com/yizhiyanhua-ai/fireworks-tech-graph)**
146
+ by [@yizhiyanhua-ai](https://github.com/yizhiyanhua-ai).
147
+
148
+ What we inherited: meticulously crafted color palettes for every semantic role
149
+ (primary `#eff6ff`/`#bfdbfe`, success `#f0fdf4`/`#bbf7d0`, warning `#fff7ed`/`#fed7aa`,
150
+ accent `#faf5ff`/`#e9d5ff`, danger `#fef2f2`/`#fecaca`, secondary `#f0fdfa`/`#ccfbf1`,
151
+ neutral `#f9fafb`/`#e5e7eb`), complete typography systems (from Helvetica to SF Mono
152
+ to Georgia), color-coded arrow semantics by flow type, style-to-diagram-type
153
+ compatibility research (14 types x 8 styles), and the Dark Luxury AI-authored style
154
+ with its dual serif/sans typography and 6 semantic color buckets.
155
+
156
+ ### 📐 drawio-skill
157
+
158
+ The draw.io engine is integrated from
159
+ **[drawio-skill](https://github.com/Agents365-ai/drawio-skill)**
160
+ by [@Agents365-ai](https://github.com/Agents365-ai).
161
+
162
+ What we inherited: 11 production-hardened Python scripts covering the complete
163
+ draw.io lifecycle — shape search across 10,446 vendor icons (AWS/Azure/GCP/Cisco/K8s),
164
+ AI/LLM brand logo resolution (321 brands via lobe-icons + simple-icons CDN),
165
+ deterministic structural validation (dangling edges, duplicate IDs, broken parent
166
+ references), PNG IEND chunk repair for draw.io's CLI truncation bug,
167
+ Graphviz-based auto-layout for large diagrams, browser-fallback URL encoding,
168
+ and project structure importers for Python, JS/TS, Go, and Rust. Also the
169
+ diagram-type preset system (ERD/UML Class/Sequence/ML-DL/Flowchart) and the
170
+ style preset learn/save/manage framework.
171
+
172
+ ### Icon Libraries
173
+
174
+ - AI/LLM brand logos via [lobe-icons](https://github.com/lobehub/lobe-icons) (MIT)
175
+ - Data store icons via [simple-icons](https://simpleicons.org) (CC0)
package/README_zh.md ADDED
@@ -0,0 +1,171 @@
1
+ # drawio-style-graph
2
+
3
+ [English](README.md) · **中文**
4
+
5
+ > **8 种专业视觉风格 × draw.io 可编辑格式。**
6
+ > 用自然语言描述你的系统 —— 获得一张带风格、可编辑的 .drawio 图表。
7
+
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
9
+ [![8 Visual Styles](https://img.shields.io/badge/Styles-8-purple)]()
10
+ [![14 Diagram Types](https://img.shields.io/badge/Diagram%20Types-14-green)]()
11
+ [![10k+ Shapes](https://img.shields.io/badge/Shapes-10,446-blue)]()
12
+ [![321 AI Logos](https://img.shields.io/badge/AI%20Logos-321-orange)]()
13
+
14
+ ---
15
+
16
+ ## 这是什么?
17
+
18
+ 两个优秀的开源图表工具,融合为一:
19
+
20
+ | 🔥 fireworks-tech-graph | 📐 drawio-skill |
21
+ |---|---|
22
+ | 作者 [@yizhiyanhua-ai](https://github.com/yizhiyanhua-ai) | 作者 [@Agents365-ai](https://github.com/Agents365-ai) |
23
+ | **8 种精心设计的视觉风格**<br>Flat Icon、Dark Terminal、Blueprint、<br>Notion Clean、Glassmorphism、<br>Claude Official、OpenAI、Dark Luxury | **完整的 draw.io 引擎**<br>10,446 个厂商图标、321 个 AI Logo、<br>图表类型预设、自动布局、<br>PNG/SVG/PDF 导出管线 |
24
+ | 🎨 色彩体系 · 字体系统<br>箭头语义 · 设计 Token | 🔍 shapesearch.py · 🤖 aiicons.py<br>✅ validate.py · 🔧 repair_png.py<br>📐 autolayout.py · 🌐 encode_drawio_url.py |
25
+
26
+ 两套生态完全内置 —— 无需安装任何其他 skill:
27
+
28
+ ```
29
+ fireworks-tech-graph drawio-skill
30
+ (SVG 设计 Token) (draw.io 引擎 + 脚本)
31
+
32
+ │ │
33
+ │ 8 种视觉风格 │ 10,446 形状搜索
34
+ │ 色彩体系 │ 321 AI 品牌 Logo
35
+ │ 字体系统 │ 图表类型预设
36
+ │ 箭头语义 │ 自动布局 (Graphviz)
37
+ │ 形状偏好 │ 验证 + 修复
38
+ │ 特效 (阴影/玻璃/手绘) │ 浏览器回退 URL
39
+ │ │
40
+ └──────────────┬───────────────────────┘
41
+ │ SVG Token → draw.io style= 字符串映射
42
+
43
+ ┌─────────────────────┐
44
+ │ drawio-style-graph │
45
+ │ │
46
+ │ 8 种风格 │
47
+ │ × │
48
+ │ .drawio 格式 │
49
+ │ │
50
+ │ 完全自包含 │
51
+ │ 零额外安装 │
52
+ └─────────────────────┘
53
+ ```
54
+
55
+ **最终效果:** 拥有 fireworks-tech-graph SVG 风格的视觉品质,
56
+ 同时输出为完全**可编辑的 .drawio 文件**,可使用 draw.io 的全部形状生态。
57
+
58
+ ---
59
+
60
+ ## 8 种内置风格
61
+
62
+ 每种风格都是完整的设计系统,已映射为 draw.io `style=` token 字符串:
63
+
64
+ | # | 风格 | 色板 | 字体 | 特征 |
65
+ |---|------|------|------|------|
66
+ | 1 | **Flat Icon** | 蓝 · 绿 · 橙 · 紫 | Helvetica, 14px | `rounded=1` |
67
+ | 2 | **Dark Terminal** | 紫 · 蓝 · 绿 霓虹 | SF Mono, 13px | `shadow=1`, 背景 `#0f0f1a` |
68
+ | 3 | **Blueprint** | 青 · 绿 · 橙 | Courier New, 13px | `rounded=0`, 背景 `#0a1628` |
69
+ | 4 | **Notion Clean** | 暖灰 · 单蓝色强调 | System UI, 14px | 极简 · 扁平 |
70
+ | 5 | **Glassmorphism** | 蓝 · 紫 · 绿 光晕 | Inter, 14px | `glass=1;shadow=1`, 背景 `#0d1117` |
71
+ | 6 | **Claude Official** | 青绿 · 蓝 · 米色 · 灰 | System UI, 16px | `strokeWidth=2.5`, 粗边框 |
72
+ | 7 | **OpenAI Official** | 白 · `#10a37f` 绿色强调 | System UI, 16px | `strokeWidth=1.5`, 精密 |
73
+ | 8 | **Dark Luxury** | 6色语义桶 · 金色箭头 | Georgia + Sans, 14px | 双字体, 背景 `#0a0a0a` |
74
+
75
+ → [风格-图表类型兼容矩阵](references/style-diagram-matrix.md)&nbsp;&nbsp;← [如何应用风格](references/style-application-guide.md)
76
+
77
+ ---
78
+
79
+ ## 快速开始
80
+
81
+ ### 前置条件
82
+
83
+ 1. 安装 draw.io 桌面版:[下载](https://github.com/jgraph/drawio-desktop/releases)
84
+ 2. Python 3(用于辅助脚本)
85
+ 3. Graphviz(可选):`brew install graphviz`
86
+
87
+ **仅此而已。** 无需安装其他 skill —— 一切已内置。
88
+
89
+ ### 使用方式
90
+
91
+ ```
92
+ "用 Dark Terminal 风格画一个微服务架构图"
93
+ "用 Notion Clean 风格生成博客系统的 ER 图"
94
+ "用 Glassmorphism 风格生成一个 AI Agent 架构图"
95
+ ```
96
+
97
+ ---
98
+
99
+ ## SVG Token 到 Draw.io 的映射
100
+
101
+ | SVG / 设计 Token | Draw.io 等效写法 |
102
+ |---|---|
103
+ | `fill: #eff6ff` | `fillColor=#eff6ff`(顶点 style 中) |
104
+ | `stroke: #bfdbfe` | `strokeColor=#bfdbfe`(顶点 style 中) |
105
+ | `rx: 8px`(圆角半径) | `rounded=1`(`rounded=0` 为直角) |
106
+ | `font-family: Helvetica` | `fontFamily=Helvetica`(顶点 style 中) |
107
+ | `font-size: 14px` | `fontSize=14`(顶点 style 中) |
108
+ | `font-weight: 600` | `fontStyle=1`(粗体,顶点 style 中) |
109
+ | `color: #111827` | `fontColor=#111827`(顶点 style 中) |
110
+ | 箭头 marker `fill` | `strokeColor=#xxxxxx`(边上) |
111
+ | `stroke-dasharray: 5,3` | `dashed=1`(边上) |
112
+ | `filter: drop-shadow` | `shadow=1` 或 `glass=1`(顶点 style 中) |
113
+ | 手绘/粗糙边缘 | `sketch=1`(顶点 + 边 style 中) |
114
+
115
+ ---
116
+
117
+ ## 内置内容
118
+
119
+ | 目录 | 内容 |
120
+ |------|------|
121
+ | `scripts/` | 11 个 Python 脚本:shapesearch(10,446 形状)、aiicons(321 AI Logo)、validate、repair_png、autolayout、encode_drawio_url,以及 5 个项目结构导入器 |
122
+ | `data/` | `shape-index.json.gz` + `lobe-icons.json` |
123
+ | `references/` | diagram-types.md、shapes.md、troubleshooting.md、autolayout.md、style-presets.md、style-extraction.md、style-diagram-matrix.md、style-application-guide.md,以及 8 个风格参考文件 |
124
+ | `styles/` | 3 个 draw.io 内置预设(`default.json`、`corporate.json`、`handdrawn.json`)+ 2 个 JSON Schema |
125
+
126
+ **支持的图表类型:** 架构图 · 数据流图 · 流程图 · Agent/记忆架构 ·
127
+ 时序图 · UML 类图 · 用例图 · 状态机 · ER 图 · 网络拓扑 ·
128
+ ML/DL 模型 · 思维导图 · 对比矩阵 · 时间线/甘特图
129
+
130
+ ---
131
+
132
+ ## 许可证
133
+
134
+ MIT
135
+
136
+ ---
137
+
138
+ ## 致谢
139
+
140
+ 本项目站在两个优秀开源社区的肩膀上:
141
+
142
+ ### 🔥 fireworks-tech-graph
143
+
144
+ 8 种视觉风格及其设计 Token 改编自
145
+ **[fireworks-tech-graph](https://github.com/yizhiyanhua-ai/fireworks-tech-graph)**
146
+ 作者 [@yizhiyanhua-ai](https://github.com/yizhiyanhua-ai)。
147
+
148
+ 继承的能力:为每种语义角色精心调配的色板(primary `#eff6ff`/`#bfdbfe`、
149
+ success `#f0fdf4`/`#bbf7d0`、warning `#fff7ed`/`#fed7aa`、accent `#faf5ff`/`#e9d5ff`、
150
+ danger `#fef2f2`/`#fecaca`、secondary `#f0fdfa`/`#ccfbf1`、neutral `#f9fafb`/`#e5e7eb`),
151
+ 完整的字体系统(从 Helvetica 到 SF Mono 到 Georgia),按流向类型颜色编码的箭头语义,
152
+ 风格与图表类型兼容性研究(14 种类型 × 8 种风格),以及 AI 创作的 Dark Luxury 风格
153
+ (双衬线/无衬线字体系统,6 语义色桶)。
154
+
155
+ ### 📐 drawio-skill
156
+
157
+ draw.io 引擎整合自
158
+ **[drawio-skill](https://github.com/Agents365-ai/drawio-skill)**
159
+ 作者 [@Agents365-ai](https://github.com/Agents365-ai)。
160
+
161
+ 继承的能力:11 个经过生产环境验证的 Python 脚本,覆盖完整的 draw.io 生命周期 ——
162
+ 跨 10,446 个厂商图标的形状搜索(AWS/Azure/GCP/Cisco/K8s)、AI/LLM 品牌 Logo 解析
163
+ (321 个品牌,通过 lobe-icons + simple-icons CDN)、确定性结构验证(悬空边、重复 ID、
164
+ 断裂的父引用)、针对 draw.io CLI 截断 bug 的 PNG IEND 块修复、基于 Graphviz 的大图
165
+ 自动布局、浏览器回退 URL 编码,以及 Python/JS-TS/Go/Rust 的项目结构导入器。此外还有
166
+ 图表类型预设系统(ERD/UML Class/Sequence/ML-DL/Flowchart)和风格预设学习/保存/管理框架。
167
+
168
+ ### 图标库
169
+
170
+ - AI/LLM 品牌 Logo 来自 [lobe-icons](https://github.com/lobehub/lobe-icons)(MIT)
171
+ - 数据存储图标来自 [simple-icons](https://simpleicons.org)(CC0)