Loading...
Loading...
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "画图", "流程图", "思维导图", "可视化", "diagram", "标准Excalidraw", "standard excalidraw", "Excalidraw动画", "动画图", "animate".
npx skill4agent add axtonliu/axton-obsidian-visual-skills excalidraw-diagram| Trigger Words | Output Mode | File Format | Usage |
|---|---|---|---|
| Obsidian (Default) | | Open directly in Obsidian |
| Standard | | Open/edit/share on excalidraw.com |
| Animated | | Drag to excalidraw-animate to generate animation |
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
# Excalidraw Data
## Text Elements
%%
## Drawing
\`\`\`json
{JSON 完整数据}
\`\`\`
%%tags: [excalidraw]%%excalidraw-plugin: parsed.md{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}sourcehttps://excalidraw.com.excalidrawcustomData.animate{
"id": "element-1",
"type": "rectangle",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...其他标准字段
}orderdurationorder.excalidraw.excalidraw| Type | English | Usage Scenario | Implementation |
|---|---|---|---|
| Flowchart | Flowchart | Step-by-step instructions, workflows, task execution sequences | Connect steps with arrows to clearly express process flow |
| Mind Map | Mind Map | Concept divergence, theme classification, inspiration capture | Radiate outward from a central core in a radial structure |
| Hierarchy Chart | Hierarchy | Organizational structures, content classification, system decomposition | Build hierarchical nodes from top to bottom or left to right |
| Relationship Diagram | Relationship | Influence, dependency, interaction between elements | Use connections between shapes to represent relationships, with arrows and explanations |
| Comparison Chart | Comparison | Comparative analysis of two or more solutions or viewpoints | Use two-column or table format, clearly marking comparison dimensions |
| Timeline | Timeline | Event development, project progress, model evolution | Use time as the axis, marking key time points and events |
| Matrix Chart | Matrix | Two-dimensional classification, task priority, positioning | Establish X and Y dimensions, place elements on the coordinate plane |
| Freeform Layout | Freeform | Dispersed content, inspiration recording, initial information collection | No structural restrictions, freely place blocks and arrows |
fontFamily: 5"『』()「」lineHeight: 1.25#1e40af#3b82f6#374151#f59e0b{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin",
"elements": [...],
"appState": { "gridSize": null, "viewBackgroundColor": "#ffffff" },
"files": {}
}{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": { "gridSize": null, "viewBackgroundColor": "#ffffff" },
"files": {}
}{
"id": "unique-id",
"type": "rectangle",
"x": 100, "y": 100,
"width": 200, "height": 50,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a1",
"roundness": {"type": 3},
"seed": 123456789,
"version": 1,
"versionNonce": 987654321,
"isDeleted": false,
"boundElements": [],
"updated": 1751928342106,
"link": null,
"locked": false
}{
"text": "显示文本",
"rawText": "显示文本",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "显示文本",
"autoResize": true,
"lineHeight": 1.25
}customData{
"id": "title-1",
"type": "text",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...其他字段
}## Text Elements%%id{
"id": "unique-identifier",
"type": "rectangle|text|arrow|ellipse|diamond",
"x": 100, "y": 100,
"width": 200, "height": 50,
"angle": 0,
"strokeColor": "#color-hex",
"backgroundColor": "transparent|#color-hex",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid|dashed",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a1",
"roundness": {"type": 3},
"seed": 123456789,
"version": 1,
"versionNonce": 987654321,
"isDeleted": false,
"boundElements": [],
"updated": 1751928342106,
"link": null,
"locked": false
}{
"text": "显示文本",
"rawText": "显示文本",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "显示文本",
"autoResize": true,
"lineHeight": 1.25
}"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
}"files": {}| Mode | Filename Format | Example |
|---|---|---|
| Obsidian | | |
| Standard | | |
| Animated | | |
{current_directory}/[filename].md---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
# Excalidraw Data
## Text Elements
%%
## Drawing
\`\`\`json
{完整的 JSON 数据}
\`\`\`
%%fontFamily: 5"『』()「」idappStatefiles: {}Excalidraw diagram generated!
Save Location: 商业模式.relationship.md
Usage:
1. Open this file in Obsidian
2. Click the MORE OPTIONS menu in the top right corner
3. Select Switch to EXCALIDRAW VIEWExcalidraw diagram generated!
Save Location: 商业模式.relationship.excalidraw
Usage:
1. Open https://excalidraw.com
2. Click the top-left menu → Open → Select this file
3. Or directly drag and drop the file onto the excalidraw.com pageExcalidraw animated diagram generated!
Save Location: 商业模式.relationship.animate.excalidraw
Animation Sequence: Title(1) → Main Framework(2-4) → Connectors(5-7) → Explanatory Text(8-10)
Generate Animation:
1. Open https://dai-shi.github.io/excalidraw-animate/
2. Click Load File to select this file
3. Preview animation effect
4. Click Export to export as SVG or WebM