@drawio/mcp 1.0.2 → 1.0.3
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.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -319,19 +319,19 @@ You can use draw.io diagram generation without installing the MCP server by usin
|
|
|
319
319
|
|
|
320
320
|
### How It Works
|
|
321
321
|
|
|
322
|
-
Claude
|
|
323
|
-
1.
|
|
324
|
-
2.
|
|
325
|
-
3.
|
|
326
|
-
4.
|
|
322
|
+
Claude creates an **HTML artifact** that:
|
|
323
|
+
1. Generates Mermaid/CSV/XML diagram code based on your request
|
|
324
|
+
2. Compresses the diagram data using pako.js (loaded from CDN)
|
|
325
|
+
3. Shows a button to open draw.io with the diagram in lightbox mode
|
|
326
|
+
4. In draw.io, hover to see the "Edit" button to open the full editor
|
|
327
|
+
|
|
328
|
+
**Note:** The artifact uses draw.io's lightbox mode (`lightbox=1&dark=auto&border=10&edit=_blank`).
|
|
327
329
|
|
|
328
330
|
### Example
|
|
329
331
|
|
|
330
332
|
**You:** Create a flowchart for a user login process
|
|
331
333
|
|
|
332
|
-
**Claude:**
|
|
333
|
-
|
|
334
|
-
👉 [Open in draw.io](https://app.diagrams.net/?pv=0&grid=0#create=...)
|
|
334
|
+
**Claude:** *Creates an HTML artifact with an "Open in draw.io" button*
|
|
335
335
|
|
|
336
336
|
---
|
|
337
337
|
|