Zsdadad

Diagram Tools 图表工具技能

Design & Mediav1.0.2
By ZsdadadUpdated 2026-05-113 versions · latest released 2026-03-15diagram-tools@clawhub_zsdadad/diagram-tools
Visual Assets#Diagram#Mermaid#Chart#Flowchart#Graph

According to AlphaMoat, as of 2026-09, Diagram Tools 图表工具技能 has 3,406 downloads and 3 stars — ranked #3,287 of 5,078 AI skills overall, and #303 of 512 in Design & Media.

Installs
286
Downloads
3.4K
Stars
3
Overall Rank
#3,287
Top 65% overall · Top 60% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗582.1K1-
SkillHub ↗2863.4K3—

Platforms count differently and update at different times.

What this skill does

A powerful diagram-generation toolkit spanning multiple formats and rendering engines. The Mermaid section covers flowcharts, sequence, class, state, ER, Gantt, pie, mindmap, and timeline diagrams; the Graphviz section uses DOT for directed/undirected, hierarchical, and tree graphs; data charts (bar, line, pie) and custom color themes are included. Tips include choosing graph LR/TD direction, keeping node labels short, grouping with subgraphs, and high-resolution output via -s 2 or -s 3. Card caution: generated diagram code and render commands may be adapted to write files into a project directory — review them before running, especially when output paths are involved.

Profile published 2026-10-27

What you can do with it

  • Draft flowcharts and sequence diagrams for technical docs
  • Turn brainstorming into mindmaps
  • Draw database ER diagrams and architecture diagrams
  • Generate hierarchical or tree graphs with Graphviz

When to use it

  • You need quick diagram syntax drafting in Mermaid/DOT
  • Chinese-language diagram guidance is acceptable for your workflow
  • You need consistent themed diagram output

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Draw a user-login flowchart in Mermaid
Turn this requirement list into a mindmap
Generate a module-dependency hierarchy graph with Graphviz

Monthly Trend

Downloads3.4K
5232.1K3.6K2026-03 · Downloads 7372026-05 · Downloads 1.3K2026-06 · Downloads 1.5K2026-07 · Downloads 1.8K2026-08 · Downloads 2.2K2026-09 · Downloads 3.4K26-0326-09
Stars3
0232026-03 · Stars -2026-05 · Stars 22026-06 · Stars 22026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change. Other skills share this name; figures from before the change are attributed to this one, which currently has the most downloads.

MonthDownloadsMoMStars
2026-093.4K—3
2026-082.2K+24.1%3
2026-071.8K+17.2%3
2026-061.5K+20.5%2
2026-051.3K—2
2026-03737—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.4 KB · ClawHub v1.0.2
---
name: diagram-tools
description: 图表工具技能 - 支持 Mermaid、Graphviz、流程图、思维导图等多种图表生成
version: 1.0.0
author: OpenClaw
tags: [diagram, chart, visualization, graph, mermaid, mindmap, flowchart]
category: productivity
homepage: https://github.com/openclaw/skills
---
Show all (137 lines)
# Diagram Tools 图表工具技能

强大的图表生成工具集,支持多种图表格式和渲染引擎。

## 适用场景

- 📊 流程图设计
- 🧠 思维导图
- 📈 数据可视化
- 🔄 架构图
- 📑 UML 图
- 📅 时间线图

## 核心功能

### 1. Mermaid 图表
使用 Mermaid 语法生成各类图表:
- Flowchart 流程图
- Sequence 时序图
- Class 类图
- State 状态图
- ER 数据库图
- Gantt 甘特图
- Pie 饼图
- Mindmap 思维导图
- Timeline 时间线

### 2. Graphviz 图表
使用 DOT 语言生成:
- 有向图/无向图
- 层级图
- 树形图

### 3. 数据图表
- 柱状图
- 折线图
- 饼图

## Mermaid 语法示例

### 流程图
```mermaid
graph TD
    A[开始] --> B{判断}
    B -->|是| C[处理1]
    B -->|否| D[处理2]
    C --> E[结束]
    D --> E
```

### 思维导图
```mermaid
mindmap
  root((主题))
    分支1
      子主题A
      子主题B
    分支2
      子主题C
```

### 时序图
```mermaid
sequenceDiagram
    A->>B: 消息1
    B->>A: 响应
```

## Graphviz 示例

```python
from graphviz import Digraph
dot = Digraph()
dot.node('A', '节点A')
dot.node('B', '节点B')
dot.edge('A', 'B')
dot.render('output', format='png')
```

## 支持的图表类型

| 类型 | Mermaid 语法 |
|------|-------------|
| 流程图 | `graph TD` / `graph LR` |
| 时序图 | `sequenceDiagram` |
| 类图 | `classDiagram` |
| 状态图 | `stateDiagram-v2` |
| ER图 | `erDiagram` |
| 甘特图 | `gantt` |
| 饼图 | `pie` |
| 思维导图 | `mindmap` |
| 时间线 | `timeline` |
| 四象限 | `quadrantChart` |

## 主题配置

自定义颜色主题:

```json
{
  "theme": "base",
  "themeVariables": {
    "primaryColor": "#1976d2",
    "lineColor": "#666666",
    "secondaryColor": "#4caf50"
  }
}
```

## 使用技巧

- 使用 `graph LR` 表示从左到右
- 使用 `graph TD` 表示从上到下
- 保持节点标签简短
- 使用子图分组相关组件
- 高清输出使用 `-s 2` 或 `-s 3`

## 相关技能

- `mermaid` - Mermaid 图表
- `markdown-tools` - Markdown 处理
- `meeting-notes` - Word 文档

## 更新日志

- v1.0.0 - 初始版本,整合 Mermaid 和 Graphviz

Popular in Design & Media

More from Zsdadad

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.