@senad-d/drawme 0.1.0 → 0.1.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/CHANGELOG.md +38 -0
- package/README.md +21 -19
- package/SECURITY.md +33 -0
- package/assets/data/SHAPE-INDEX-NOTICE.md +2 -2
- package/assets/references/diagram-types.md +7 -7
- package/assets/references/mermaid-authoring.md +50 -39
- package/assets/references/troubleshooting.md +2 -17
- package/assets/references/xml-authoring.md +4 -4
- package/docs/agent-guide.md +518 -0
- package/example/drawme-how-it-works.drawio +118 -0
- package/example/drawme-installation-guide.drawio +101 -0
- package/example/git-graph-example.drawio +209 -0
- package/package.json +31 -11
- package/src/dom.ts +2 -2
- package/src/drawio.ts +64 -8
- package/src/explain.ts +4 -5
- package/src/index.ts +16 -9
- package/src/png.ts +2 -3
- package/src/shapesearch.ts +6 -8
- package/src/validate.ts +3 -4
- package/src/workflow.ts +9 -6
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
# DrawMe Extension Agent Reference
|
|
2
|
+
|
|
3
|
+
> Official operational reference for AI agents using the DrawMe Pi extension.
|
|
4
|
+
|
|
5
|
+
DrawMe turns diagram requirements into editable `.drawio` sources and local PNG, SVG, PDF, or JPG exports. The extension provides commands that start guided workflows and tools for CLI detection, Mermaid conversion, XML layout, structural validation, shape lookup, export, explanation, and file opening.
|
|
6
|
+
|
|
7
|
+
This document defines the extension's public functionality, options, defaults, decision rules, and expected agent behavior.
|
|
8
|
+
|
|
9
|
+
## Core operating rules
|
|
10
|
+
|
|
11
|
+
1. Treat the `.drawio` file as the source of truth. Exports are derived artifacts.
|
|
12
|
+
2. Call `drawio_check` once before conversion, layout, preview, or final export.
|
|
13
|
+
3. Use DrawMe tools for draw.io CLI operations; do not invoke `drawio` through a shell.
|
|
14
|
+
4. Use `drawio_shapesearch` instead of guessing official shape styles.
|
|
15
|
+
5. Keep hand-authored XML uncompressed and structurally valid.
|
|
16
|
+
6. Run `drawio_validate` and fix all errors before export.
|
|
17
|
+
7. Use `drawio_export` with `mode: "preview"` for visual inspection and `mode: "final"` for deliverables. A successful final export removes previews previously created for the same source.
|
|
18
|
+
8. Inspect every tool's text result. Several tools return failure text rather than throwing a tool-call error.
|
|
19
|
+
9. Offer `drawio_open` for manual fine-tuning; call it only when the user wants a desktop application opened.
|
|
20
|
+
|
|
21
|
+
## Functional availability
|
|
22
|
+
|
|
23
|
+
| Functionality | draw.io CLI required | draw.io 30+ required |
|
|
24
|
+
| --- | --- | --- |
|
|
25
|
+
| Write or edit uncompressed `.drawio` XML with normal file tools | No | No |
|
|
26
|
+
| `drawio_validate` | No | No |
|
|
27
|
+
| `drawio_shapesearch` | No | No |
|
|
28
|
+
| `drawio_explain` | No | No |
|
|
29
|
+
| `drawio_open` | No CLI check; requires an OS file handler | No |
|
|
30
|
+
| `drawio_export` | Yes | No |
|
|
31
|
+
| `drawio_from_mermaid` | Yes | Yes |
|
|
32
|
+
| `drawio_layout` | Yes | Yes |
|
|
33
|
+
|
|
34
|
+
When the CLI is unavailable, an agent can still author, edit, validate, explain, and search for shapes. It must skip conversion, layout, preview, and final export.
|
|
35
|
+
|
|
36
|
+
When the CLI is older than version 30, export remains available. Mermaid conversion and ELK layout do not.
|
|
37
|
+
|
|
38
|
+
## Commands
|
|
39
|
+
|
|
40
|
+
Commands are user-facing shortcuts. Agents should use model-callable tools when they need explicit options or structured results.
|
|
41
|
+
|
|
42
|
+
| Command | Functionality |
|
|
43
|
+
| --- | --- |
|
|
44
|
+
| `/drawme <description>` | Starts the full diagram creation workflow: check, plan, author, validate, preview, review, and final export. |
|
|
45
|
+
| `/drawme-check` | Displays the detected draw.io path and version, or reports that the CLI is unavailable. |
|
|
46
|
+
| `/drawme-export <file> [png\|svg\|pdf\|jpg]` | Performs a final export of an existing `.drawio`; format defaults to PNG. |
|
|
47
|
+
|
|
48
|
+
`/drawme-export` intentionally exposes only the source path and format. Use `drawio_export` for output naming, dimensions, border, transparency, embedding, page selection, or binary selection. The command uses whitespace-separated arguments and is unsuitable for paths containing spaces.
|
|
49
|
+
|
|
50
|
+
## Tools
|
|
51
|
+
|
|
52
|
+
DrawMe registers eight model-callable tools.
|
|
53
|
+
|
|
54
|
+
### `drawio_check`
|
|
55
|
+
|
|
56
|
+
Detects the draw.io desktop CLI, its version, and version-gated features.
|
|
57
|
+
|
|
58
|
+
#### Options
|
|
59
|
+
|
|
60
|
+
| Option | Type | Required | Description |
|
|
61
|
+
| --- | --- | --- | --- |
|
|
62
|
+
| `binary` | string | No | Explicit binary path to test first. Standard platform candidates are tried afterward if it fails. |
|
|
63
|
+
|
|
64
|
+
#### Result behavior
|
|
65
|
+
|
|
66
|
+
A successful result includes:
|
|
67
|
+
|
|
68
|
+
- `available: true`;
|
|
69
|
+
- resolved `binary` path or command;
|
|
70
|
+
- `version` and numeric `major` version;
|
|
71
|
+
- `supportsMermaid` and `supportsLayout` flags.
|
|
72
|
+
|
|
73
|
+
An unavailable result includes `available: false` and guidance that XML authoring can continue without export.
|
|
74
|
+
|
|
75
|
+
#### Use
|
|
76
|
+
|
|
77
|
+
Call once at the start of any workflow that may use conversion, layout, preview, or export.
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
drawio_check({})
|
|
81
|
+
drawio_check({ "binary": "/custom/path/to/drawio" })
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
### `drawio_export`
|
|
87
|
+
|
|
88
|
+
Exports an existing `.drawio` through the local draw.io desktop CLI.
|
|
89
|
+
|
|
90
|
+
#### Options
|
|
91
|
+
|
|
92
|
+
| Option | Type | Required | Default | Description |
|
|
93
|
+
| --- | --- | --- | --- | --- |
|
|
94
|
+
| `input` | string | Yes | — | Existing `.drawio` source path. |
|
|
95
|
+
| `format` | `png` \| `svg` \| `pdf` \| `jpg` | No | `png` | Output format. |
|
|
96
|
+
| `mode` | `preview` \| `final` | No | `final` | Selects inspection or deliverable defaults. |
|
|
97
|
+
| `output` | string | No | Derived beside input | Explicit output path. |
|
|
98
|
+
| `scale` | number | No | `2` | Scale for final PNG/JPG when `width` is absent. |
|
|
99
|
+
| `width` | number | No | Preview: `2000` | Target width in pixels. Overrides `scale`. |
|
|
100
|
+
| `transparent` | boolean | No | `false` | Enables transparency for PNG only. |
|
|
101
|
+
| `border` | number | No | `10` | Export border in pixels. Use `0` for no border. |
|
|
102
|
+
| `pageIndex` | number | No | draw.io default | Positive, 1-based page number for multi-page files. |
|
|
103
|
+
| `embed` | boolean | No | Mode/format dependent | Controls embedding of editable diagram XML. |
|
|
104
|
+
| `binary` | string | No | Auto-detected | Explicit binary path to test first. |
|
|
105
|
+
|
|
106
|
+
#### Mode and naming behavior
|
|
107
|
+
|
|
108
|
+
For an input named `name.drawio`:
|
|
109
|
+
|
|
110
|
+
| Export | Default output | Raster sizing | Embedded XML |
|
|
111
|
+
| --- | --- | --- | --- |
|
|
112
|
+
| Preview PNG | `name.png` | Width 2000 | No |
|
|
113
|
+
| Final PNG | `name.drawio.png` | Scale 2 | Yes |
|
|
114
|
+
| Final SVG | `name.svg` | Vector | Yes |
|
|
115
|
+
| Final PDF | `name.pdf` | Vector | Yes |
|
|
116
|
+
| Final JPG | `name.jpg` | Scale 2 | No |
|
|
117
|
+
|
|
118
|
+
Additional behavior:
|
|
119
|
+
|
|
120
|
+
- An explicit `output` replaces the derived name.
|
|
121
|
+
- An explicit `width` replaces raster scaling.
|
|
122
|
+
- `scale` is ignored in preview mode and for vector formats.
|
|
123
|
+
- `transparent` has no effect outside PNG.
|
|
124
|
+
- Preview mode defaults to unembedded output suitable for vision inspection.
|
|
125
|
+
- Final PNG, SVG, and PDF default to embedded/editable output.
|
|
126
|
+
- JPG cannot carry editable XML; never set `embed: true` for JPG.
|
|
127
|
+
- Embedded PNG exports are checked for draw.io's known truncated IEND chunk and repaired automatically when necessary.
|
|
128
|
+
- Every successful preview output is tracked, including explicit `output` paths. The first successful final export for the same source automatically removes those preview artifacts; cleanup failures are returned as warnings without invalidating the final output.
|
|
129
|
+
- Headless Linux handling is automatic, including `xvfb-run`, GPU disabling, and the root sandbox flag.
|
|
130
|
+
|
|
131
|
+
#### Use
|
|
132
|
+
|
|
133
|
+
```text
|
|
134
|
+
# Vision-safe inspection artifact
|
|
135
|
+
drawio_export({ "input": "architecture.drawio", "mode": "preview" })
|
|
136
|
+
|
|
137
|
+
# Editable final SVG
|
|
138
|
+
drawio_export({
|
|
139
|
+
"input": "architecture.drawio",
|
|
140
|
+
"format": "svg",
|
|
141
|
+
"mode": "final"
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
# A specific page with an unambiguous path
|
|
145
|
+
drawio_export({
|
|
146
|
+
"input": "system.drawio",
|
|
147
|
+
"format": "pdf",
|
|
148
|
+
"mode": "final",
|
|
149
|
+
"pageIndex": 2,
|
|
150
|
+
"output": "system-page-2.pdf"
|
|
151
|
+
})
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Use a distinct `output` for each format or page. Never present a preview artifact as the final deliverable when a final export was requested. Do not manually delete tracked preview artifacts after a final export; the tool handles that cleanup.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
### `drawio_validate`
|
|
159
|
+
|
|
160
|
+
Structurally lints uncompressed `.drawio` XML without launching draw.io.
|
|
161
|
+
|
|
162
|
+
#### Options
|
|
163
|
+
|
|
164
|
+
| Option | Type | Required | Description |
|
|
165
|
+
| --- | --- | --- | --- |
|
|
166
|
+
| `input` | string | Yes | Path to the `.drawio` file. |
|
|
167
|
+
|
|
168
|
+
#### Checks
|
|
169
|
+
|
|
170
|
+
Errors include:
|
|
171
|
+
|
|
172
|
+
- duplicate cell IDs;
|
|
173
|
+
- vertices or edges reusing reserved root IDs `0` or `1`;
|
|
174
|
+
- references to missing parents;
|
|
175
|
+
- edge references to missing sources or targets;
|
|
176
|
+
- missing or invalid vertex geometry.
|
|
177
|
+
|
|
178
|
+
Warnings include:
|
|
179
|
+
|
|
180
|
+
- non-positive vertex dimensions;
|
|
181
|
+
- negative vertex positions;
|
|
182
|
+
- overlapping sibling leaf vertices;
|
|
183
|
+
- explicitly waypointed edges routed through unrelated vertices;
|
|
184
|
+
- explicitly waypointed edges crossing one another;
|
|
185
|
+
- compressed pages that cannot be inspected.
|
|
186
|
+
|
|
187
|
+
The result also includes a readability score:
|
|
188
|
+
|
|
189
|
+
- route through vertex: 20 points;
|
|
190
|
+
- edge crossing: 10 points;
|
|
191
|
+
- overlap: 5 points.
|
|
192
|
+
|
|
193
|
+
Lower is better, but scores are meaningful only when comparing layout variants of the same graph.
|
|
194
|
+
|
|
195
|
+
#### Use
|
|
196
|
+
|
|
197
|
+
Fix every error and rerun validation. Investigate warnings before preview.
|
|
198
|
+
|
|
199
|
+
```text
|
|
200
|
+
drawio_validate({ "input": "architecture.drawio" })
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Validation is structural rather than visual. It cannot guarantee readable labels, correct semantic content, valid rendering of a guessed shape, color contrast, visual balance, or clear auto-routed edges. It does not replace preview inspection.
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
### `drawio_from_mermaid`
|
|
208
|
+
|
|
209
|
+
Converts Mermaid into an automatically laid-out, editable native `.drawio`. Requires draw.io 30 or newer.
|
|
210
|
+
|
|
211
|
+
#### Options
|
|
212
|
+
|
|
213
|
+
| Option | Type | Required | Default | Description |
|
|
214
|
+
| --- | --- | --- | --- | --- |
|
|
215
|
+
| `mermaid` | string | One of `mermaid`/`input` | — | Inline Mermaid text. A temporary `.mmd` is removed after conversion. |
|
|
216
|
+
| `input` | string | One of `mermaid`/`input` | — | Existing `.mmd` source path. |
|
|
217
|
+
| `output` | string | No | See below | Destination `.drawio` path. |
|
|
218
|
+
| `binary` | string | No | Auto-detected | Explicit binary path to test first. |
|
|
219
|
+
|
|
220
|
+
Output defaults:
|
|
221
|
+
|
|
222
|
+
- file input: same directory and stem with `.drawio`;
|
|
223
|
+
- inline Mermaid: `diagram.drawio` in the current working directory.
|
|
224
|
+
|
|
225
|
+
Provide exactly one of `mermaid` or `input`. Normally provide `output` explicitly to avoid ambiguous names or accidental replacement.
|
|
226
|
+
|
|
227
|
+
#### Best use
|
|
228
|
+
|
|
229
|
+
Use for standard structure-first diagrams without precise draw.io styling requirements, including:
|
|
230
|
+
|
|
231
|
+
- flowcharts;
|
|
232
|
+
- sequence diagrams;
|
|
233
|
+
- class diagrams;
|
|
234
|
+
- state diagrams;
|
|
235
|
+
- ER diagrams;
|
|
236
|
+
- gantt charts;
|
|
237
|
+
- mind maps.
|
|
238
|
+
|
|
239
|
+
Do not choose Mermaid conversion when the requested artifact needs official vendor icons, exact UML/BPMN styles, custom containers or swimlanes, precise coordinates, explicit edge waypoints, or multi-page drill-down behavior.
|
|
240
|
+
|
|
241
|
+
The conversion already lays out the graph. Never run `drawio_layout` afterward.
|
|
242
|
+
|
|
243
|
+
```text
|
|
244
|
+
drawio_from_mermaid({
|
|
245
|
+
"mermaid": "flowchart LR\n A[Client] --> B[API]\n B --> C[(Database)]",
|
|
246
|
+
"output": "request-flow.drawio"
|
|
247
|
+
})
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Continue with validation, preview, visual inspection, and final export.
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
### `drawio_layout`
|
|
255
|
+
|
|
256
|
+
Repositions nodes and routes edges in an XML-authored `.drawio` using a safe ELK preset. Requires draw.io 30 or newer.
|
|
257
|
+
|
|
258
|
+
#### Options
|
|
259
|
+
|
|
260
|
+
| Option | Type | Required | Default | Description |
|
|
261
|
+
| --- | --- | --- | --- | --- |
|
|
262
|
+
| `input` | string | Yes | — | Existing `.drawio` source. |
|
|
263
|
+
| `preset` | layout preset | Yes | — | One of the six allowlisted values below. |
|
|
264
|
+
| `output` | string | No | `<name>.layout.drawio` | Destination path beside the input. May equal `input` for intentional in-place layout. |
|
|
265
|
+
| `binary` | string | No | Auto-detected | Explicit binary path to test first. |
|
|
266
|
+
|
|
267
|
+
#### Presets
|
|
268
|
+
|
|
269
|
+
| Preset | Functionality |
|
|
270
|
+
| --- | --- |
|
|
271
|
+
| `verticalFlow` | Layered top-to-bottom process or pipeline layout. |
|
|
272
|
+
| `horizontalFlow` | Layered left-to-right process or pipeline layout. |
|
|
273
|
+
| `verticalTree` | Top-to-bottom hierarchy or org-chart layout. |
|
|
274
|
+
| `horizontalTree` | Left-to-right hierarchy layout. |
|
|
275
|
+
| `radialTree` | Tree arranged around a center. |
|
|
276
|
+
| `organic` | Force-directed network or mind-map-like layout. |
|
|
277
|
+
|
|
278
|
+
Use this tool for large or graph-heavy hand-authored XML, typically above approximately 15 nodes. Unknown presets are rejected because unsupported values can open a modal dialog and hang a headless process.
|
|
279
|
+
|
|
280
|
+
```text
|
|
281
|
+
drawio_layout({
|
|
282
|
+
"input": "services-rough.drawio",
|
|
283
|
+
"preset": "horizontalFlow",
|
|
284
|
+
"output": "services.drawio"
|
|
285
|
+
})
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
After layout, treat the returned output path as the current source and validate it again. Do not apply this tool to Mermaid-converted diagrams.
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
### `drawio_shapesearch`
|
|
293
|
+
|
|
294
|
+
Searches a bundled local index of more than 10,000 official draw.io shapes.
|
|
295
|
+
|
|
296
|
+
#### Options
|
|
297
|
+
|
|
298
|
+
| Option | Type | Required | Default | Description |
|
|
299
|
+
| --- | --- | --- | --- | --- |
|
|
300
|
+
| `query` | string | Yes | — | Shape keywords such as `aws lambda`, `uml actor`, `bpmn timer event`, or `k8s pod`. |
|
|
301
|
+
| `limit` | number | No | `10` | Maximum number of ranked results. |
|
|
302
|
+
|
|
303
|
+
Each result contains:
|
|
304
|
+
|
|
305
|
+
- official shape title;
|
|
306
|
+
- exact draw.io `style=` string;
|
|
307
|
+
- recommended width and height.
|
|
308
|
+
|
|
309
|
+
Copy the selected style exactly and start with the returned dimensions. If the top result is not correct, search again with more specific vendor, notation, and component terms. The index contains official draw.io library shapes; it does not retrieve third-party logos.
|
|
310
|
+
|
|
311
|
+
```text
|
|
312
|
+
drawio_shapesearch({ "query": "aws lambda", "limit": 5 })
|
|
313
|
+
drawio_shapesearch({ "query": "bpmn exclusive gateway" })
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
### `drawio_explain`
|
|
319
|
+
|
|
320
|
+
Reads a `.drawio` and returns a structured Markdown description without launching draw.io.
|
|
321
|
+
|
|
322
|
+
#### Options
|
|
323
|
+
|
|
324
|
+
| Option | Type | Required | Description |
|
|
325
|
+
| --- | --- | --- | --- |
|
|
326
|
+
| `input` | string | Yes | Path to the `.drawio` file. |
|
|
327
|
+
|
|
328
|
+
The result:
|
|
329
|
+
|
|
330
|
+
- lists leaf components;
|
|
331
|
+
- groups components by named container;
|
|
332
|
+
- lists relations between labeled endpoints;
|
|
333
|
+
- uses edge labels as relation verbs;
|
|
334
|
+
- produces a separate section for each page.
|
|
335
|
+
|
|
336
|
+
Use it to understand an existing diagram before editing, verify high-level structure, or create documentation text. It returns Markdown in the tool result but does not create a Markdown file.
|
|
337
|
+
|
|
338
|
+
Compressed pages cannot be explained.
|
|
339
|
+
|
|
340
|
+
```text
|
|
341
|
+
drawio_explain({ "input": "current-architecture.drawio" })
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
Explanation is a structural summary, not a validator and not a visual renderer.
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
### `drawio_open`
|
|
349
|
+
|
|
350
|
+
Opens a local `.drawio` source or exported file with the operating system's default application.
|
|
351
|
+
|
|
352
|
+
#### Options
|
|
353
|
+
|
|
354
|
+
| Option | Type | Required | Description |
|
|
355
|
+
| --- | --- | --- | --- |
|
|
356
|
+
| `path` | string | Yes | Existing local file to open. |
|
|
357
|
+
|
|
358
|
+
Platform behavior:
|
|
359
|
+
|
|
360
|
+
- macOS: `open`;
|
|
361
|
+
- Windows: `start`;
|
|
362
|
+
- Linux: `xdg-open`.
|
|
363
|
+
|
|
364
|
+
Use it when the user requests desktop review or accepts an offer to fine-tune the source manually. Opening an application is a user-visible side effect.
|
|
365
|
+
|
|
366
|
+
```text
|
|
367
|
+
drawio_open({ "path": "architecture.drawio" })
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
## Authoring-mode selection
|
|
371
|
+
|
|
372
|
+
| Requirement | Recommended path |
|
|
373
|
+
| --- | --- |
|
|
374
|
+
| Standard diagram with no custom styling and CLI 30+ | Mermaid → `drawio_from_mermaid`. |
|
|
375
|
+
| Vendor icons, exact UML/BPMN notation, custom styling, swimlanes, containers, precise routing, or multi-page output | Hand-authored uncompressed XML plus `drawio_shapesearch`. |
|
|
376
|
+
| Large hand-authored graph and CLI 30+ | Rough XML → `drawio_layout`. |
|
|
377
|
+
| CLI unavailable or older than 30 | Hand-authored XML; validation and shape search remain available. |
|
|
378
|
+
| Existing diagram must be understood | `drawio_explain`, then inspect the source XML. |
|
|
379
|
+
| Existing diagram only needs validation | `drawio_validate`; no CLI check is necessary. |
|
|
380
|
+
| Existing diagram only needs export | `drawio_check` → `drawio_export`; do not rebuild it. |
|
|
381
|
+
|
|
382
|
+
DrawMe does not expose a single natural-language-to-file tool. The agent authors or edits Mermaid/XML with normal file tools, then uses DrawMe for conversion, layout, validation, rendering, explanation, or opening.
|
|
383
|
+
|
|
384
|
+
## Creation workflow
|
|
385
|
+
|
|
386
|
+
### 1. Check
|
|
387
|
+
|
|
388
|
+
Call `drawio_check` and record whether export is available and whether Mermaid/layout features are supported.
|
|
389
|
+
|
|
390
|
+
### 2. Plan
|
|
391
|
+
|
|
392
|
+
Choose:
|
|
393
|
+
|
|
394
|
+
- diagram type;
|
|
395
|
+
- components and relations;
|
|
396
|
+
- groups or containers;
|
|
397
|
+
- top-to-bottom or left-to-right direction;
|
|
398
|
+
- Mermaid or XML authoring mode;
|
|
399
|
+
- source path, pages, and final formats.
|
|
400
|
+
|
|
401
|
+
Call `drawio_shapesearch` during planning whenever an exact library shape is required.
|
|
402
|
+
|
|
403
|
+
### 3. Author
|
|
404
|
+
|
|
405
|
+
For Mermaid, write concise valid Mermaid and convert it with `drawio_from_mermaid`.
|
|
406
|
+
|
|
407
|
+
For XML, use an uncompressed `<mxGraphModel>`. The minimum authoring contract is:
|
|
408
|
+
|
|
409
|
+
- include root cells `id="0"` and `id="1"`;
|
|
410
|
+
- reserve IDs `0` and `1` for those root cells;
|
|
411
|
+
- assign every other cell a unique ID and valid parent;
|
|
412
|
+
- assign every vertex positive geometry;
|
|
413
|
+
- assign every edge valid source and target IDs;
|
|
414
|
+
- include `<mxGeometry relative="1" as="geometry" />` in every edge;
|
|
415
|
+
- escape XML attribute characters and use `
` for label line breaks;
|
|
416
|
+
- use coordinates relative to the actual parent container;
|
|
417
|
+
- leave spacing and routing corridors for labels, edges, and arrowheads.
|
|
418
|
+
|
|
419
|
+
For large XML graphs on draw.io 30+, run `drawio_layout` and continue using its returned path.
|
|
420
|
+
|
|
421
|
+
### 4. Validate
|
|
422
|
+
|
|
423
|
+
Run `drawio_validate` on the exact source that will be exported. Fix every error and rerun validation. Assess warnings before continuing.
|
|
424
|
+
|
|
425
|
+
### 5. Preview and inspect
|
|
426
|
+
|
|
427
|
+
Export a PNG with:
|
|
428
|
+
|
|
429
|
+
```text
|
|
430
|
+
drawio_export({ "input": "<source>.drawio", "mode": "preview" })
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
Read the PNG with vision and verify:
|
|
434
|
+
|
|
435
|
+
- requested components and relations are present;
|
|
436
|
+
- labels are readable and not clipped;
|
|
437
|
+
- nodes do not overlap or leave the canvas;
|
|
438
|
+
- edges connect the intended endpoints;
|
|
439
|
+
- arrowheads and decision labels are visible;
|
|
440
|
+
- edges do not stack, cross unnecessarily, or route through unrelated nodes;
|
|
441
|
+
- grouping, alignment, spacing, contrast, and hierarchy are clear.
|
|
442
|
+
|
|
443
|
+
Make targeted source corrections, validate again, and re-preview. Limit automatic visual correction to two rounds before requesting focused feedback or offering desktop fine-tuning.
|
|
444
|
+
|
|
445
|
+
### 6. Final export
|
|
446
|
+
|
|
447
|
+
After visual review, export each requested format and page with `mode: "final"`. The first successful final export automatically removes preview artifacts for that source. Report:
|
|
448
|
+
|
|
449
|
+
- source `.drawio` path;
|
|
450
|
+
- validation status and retained warnings;
|
|
451
|
+
- preview inspection outcome, noting that the temporary artifact was removed;
|
|
452
|
+
- every final output path and format;
|
|
453
|
+
- whether each output embeds editable XML;
|
|
454
|
+
- any unavailable or skipped functionality.
|
|
455
|
+
|
|
456
|
+
## Existing-diagram workflows
|
|
457
|
+
|
|
458
|
+
### Explain
|
|
459
|
+
|
|
460
|
+
Use `drawio_explain` for a structured read-back. For exact edits, inspect the XML after obtaining the summary.
|
|
461
|
+
|
|
462
|
+
### Validate
|
|
463
|
+
|
|
464
|
+
Use `drawio_validate` directly. A CLI check is unnecessary unless an export will follow.
|
|
465
|
+
|
|
466
|
+
### Edit
|
|
467
|
+
|
|
468
|
+
1. Preserve the original unless replacement was requested.
|
|
469
|
+
2. Explain and inspect the source.
|
|
470
|
+
3. Make the smallest targeted XML change.
|
|
471
|
+
4. Validate the edited source.
|
|
472
|
+
5. Preview and compare the requested behavior visually.
|
|
473
|
+
6. Export to a new path unless in-place replacement was requested.
|
|
474
|
+
|
|
475
|
+
Do not blindly edit compressed pages. The validator and explainer cannot inspect them; they must first be saved as uncompressed XML through a compatible editor.
|
|
476
|
+
|
|
477
|
+
### Export
|
|
478
|
+
|
|
479
|
+
Check the CLI, then call `drawio_export` with the requested format and options. Do not reconstruct a valid existing source merely to export it.
|
|
480
|
+
|
|
481
|
+
### Re-layout
|
|
482
|
+
|
|
483
|
+
Use `drawio_layout` only for XML-authored or existing native diagrams on draw.io 30+. Preserve the original by using a distinct output unless replacement is intentional. Validate and preview the layout result.
|
|
484
|
+
|
|
485
|
+
## Output and editability semantics
|
|
486
|
+
|
|
487
|
+
- `.drawio` is always the canonical editable source.
|
|
488
|
+
- Final PNG, SVG, and PDF embed XML by default and can be reopened in draw.io where supported.
|
|
489
|
+
- JPG cannot embed XML.
|
|
490
|
+
- Preview PNG is intentionally clean and unembedded for vision compatibility, and is automatically removed after a successful final export for the same source.
|
|
491
|
+
- A final embedded PNG normally uses the `.drawio.png` double extension.
|
|
492
|
+
- Multi-page exports should use `pageIndex` and explicit unique output names.
|
|
493
|
+
- `drawio_explain` returns Markdown as text; it does not write a documentation file.
|
|
494
|
+
- `drawio_layout` creates a sibling `.layout.drawio` unless `output` is supplied.
|
|
495
|
+
- Inline Mermaid conversion creates `diagram.drawio` in the working directory unless `output` is supplied.
|
|
496
|
+
|
|
497
|
+
## Functional limitations
|
|
498
|
+
|
|
499
|
+
- Validation cannot inspect compressed pages.
|
|
500
|
+
- Explanation cannot describe compressed pages.
|
|
501
|
+
- Structural validation cannot replace visual inspection.
|
|
502
|
+
- Route-through and crossing analysis is limited to edges with explicit waypoints.
|
|
503
|
+
- Shape search covers bundled official draw.io shapes, not arbitrary third-party logos.
|
|
504
|
+
- Mermaid conversion cannot express all draw.io styles, containers, routing, or multi-page behavior.
|
|
505
|
+
- ELK layout accepts only the six registered presets; arbitrary JSON layouts are not exposed.
|
|
506
|
+
- The extension does not expose XML compression/decompression, Python generators, or arbitrary draw.io CLI arguments.
|
|
507
|
+
- A failed operation may be returned as text beginning with `Export failed`, `Layout failed`, `Mermaid conversion failed`, `Explain failed`, or `Open failed`. Treat that result as failure.
|
|
508
|
+
|
|
509
|
+
## Authoring references
|
|
510
|
+
|
|
511
|
+
Use these packaged references when additional notation or XML detail is needed:
|
|
512
|
+
|
|
513
|
+
- [`../assets/references/xml-authoring.md`](../assets/references/xml-authoring.md) — XML cells, containers, edges, palette, and spacing;
|
|
514
|
+
- [`../assets/references/diagram-types.md`](../assets/references/diagram-types.md) — notation-specific shapes and layout conventions;
|
|
515
|
+
- [`../assets/references/mermaid-authoring.md`](../assets/references/mermaid-authoring.md) — Mermaid syntax and conversion guidance;
|
|
516
|
+
- [`../assets/references/troubleshooting.md`](../assets/references/troubleshooting.md) — rendering and platform failure patterns.
|
|
517
|
+
|
|
518
|
+
Use the registered DrawMe tools and options documented here rather than invoking the draw.io CLI directly.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<mxfile host="drawio" version="26.0.9">
|
|
3
|
+
<diagram id="drawme-overview" name="How DrawMe Works">
|
|
4
|
+
<mxGraphModel dx="1800" dy="1300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="1360" math="0" shadow="0" background="#ffffff">
|
|
5
|
+
<root>
|
|
6
|
+
<mxCell id="0" />
|
|
7
|
+
<mxCell id="1" parent="0" />
|
|
8
|
+
<mxCell id="2" value="DrawMe: from a prompt to an editable diagram" style="text;html=1;align=left;verticalAlign=middle;fontSize=30;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
|
|
9
|
+
<mxGeometry x="40" y="20" width="1350" height="50" as="geometry" />
|
|
10
|
+
</mxCell>
|
|
11
|
+
<mxCell id="3" value="A Pi extension that coordinates authoring, validation, visual review, and editable draw.io exports" style="text;html=1;align=left;verticalAlign=middle;fontSize=16;fontColor=#4F6475;" vertex="1" parent="1">
|
|
12
|
+
<mxGeometry x="40" y="70" width="1350" height="40" as="geometry" />
|
|
13
|
+
</mxCell>
|
|
14
|
+
<mxCell id="4" value="GUIDED WORKFLOW • EDITABLE • MULTI-FORMAT" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
|
|
15
|
+
<mxGeometry x="1450" y="35" width="390" height="50" as="geometry" />
|
|
16
|
+
</mxCell>
|
|
17
|
+
<mxCell id="5" value="1 END-TO-END WORKFLOW" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
18
|
+
<mxGeometry x="40" y="130" width="1800" height="400" as="geometry" />
|
|
19
|
+
</mxCell>
|
|
20
|
+
<mxCell id="6" value="<b><font color="#1F4E78">1 · CHECK</font></b><br><br>Find the draw.io CLI<br>Read its version<br>Gate v30+ features" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
21
|
+
<mxGeometry x="30" y="80" width="210" height="215" as="geometry" />
|
|
22
|
+
</mxCell>
|
|
23
|
+
<mxCell id="7" value="<b><font color="#1F4E78">2 · PLAN</font></b><br><br>Choose diagram type<br>Define shapes and links<br>Select LR or TB flow" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
24
|
+
<mxGeometry x="280" y="80" width="210" height="215" as="geometry" />
|
|
25
|
+
</mxCell>
|
|
26
|
+
<mxCell id="8" value="<b><font color="#1F4E78">3 · AUTHOR</font></b><br><br>Mermaid on v30+<br>or native draw.io XML<br>Use exact official shapes" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
27
|
+
<mxGeometry x="530" y="80" width="210" height="215" as="geometry" />
|
|
28
|
+
</mxCell>
|
|
29
|
+
<mxCell id="9" value="<b><font color="#1F4E78">4 · VALIDATE</font></b><br><br>Check IDs and parents<br>Check edge endpoints<br>Flag overlap and routing" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
30
|
+
<mxGeometry x="780" y="80" width="210" height="215" as="geometry" />
|
|
31
|
+
</mxCell>
|
|
32
|
+
<mxCell id="10" value="<b><font color="#1F4E78">5 · PREVIEW</font></b><br><br>Export a clean PNG<br>Cap width at 2000 px<br>Visually inspect, max 2 rounds" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
33
|
+
<mxGeometry x="1030" y="80" width="210" height="215" as="geometry" />
|
|
34
|
+
</mxCell>
|
|
35
|
+
<mxCell id="11" value="<b><font color="#1F4E78">6 · REVIEW</font></b><br><br>Show the preview<br>Apply targeted feedback<br>Re-validate and re-preview" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
36
|
+
<mxGeometry x="1280" y="80" width="210" height="215" as="geometry" />
|
|
37
|
+
</mxCell>
|
|
38
|
+
<mxCell id="12" value="<b><font color="#2D5E36">7 · FINAL EXPORT</font></b><br><br>PNG by default<br>SVG, PDF, or JPG<br>Keep source editable" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
39
|
+
<mxGeometry x="1530" y="80" width="210" height="215" as="geometry" />
|
|
40
|
+
</mxCell>
|
|
41
|
+
<mxCell id="13" value="2 ARCHITECTURE AND RESPONSIBILITIES" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
42
|
+
<mxGeometry x="40" y="560" width="1800" height="300" as="geometry" />
|
|
43
|
+
</mxCell>
|
|
44
|
+
<mxCell id="14" value="<b>Natural-language request</b><br><br>User runs /drawme" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
45
|
+
<mxGeometry x="50" y="70" width="230" height="120" as="geometry" />
|
|
46
|
+
</mxCell>
|
|
47
|
+
<mxCell id="15" value="<b>Pi AI agent</b><br><br>Plans and authors<br>Orchestrates the loop" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
48
|
+
<mxGeometry x="360" y="70" width="270" height="120" as="geometry" />
|
|
49
|
+
</mxCell>
|
|
50
|
+
<mxCell id="16" value="<b>DrawMe extension</b><br><br>check • validate • export • shape search<br>Mermaid • layout • explain • open" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#EAF2F8;strokeColor=#1F4E78;strokeWidth=3;shadow=1;" vertex="1" parent="13">
|
|
51
|
+
<mxGeometry x="710" y="70" width="370" height="120" as="geometry" />
|
|
52
|
+
</mxCell>
|
|
53
|
+
<mxCell id="17" value="<b>draw.io desktop CLI</b><br><br>Renders and exports<br>Invoked by DrawMe tools" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
54
|
+
<mxGeometry x="1160" y="70" width="250" height="120" as="geometry" />
|
|
55
|
+
</mxCell>
|
|
56
|
+
<mxCell id="18" value="<b>Deliverables</b><br><br>.drawio source<br>PNG • SVG • PDF • JPG" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="13">
|
|
57
|
+
<mxGeometry x="1490" y="70" width="260" height="120" as="geometry" />
|
|
58
|
+
</mxCell>
|
|
59
|
+
<mxCell id="19" value="<b>Compatibility</b> • XML authoring, validation, preview, and export work on older releases • Mermaid conversion and ELK auto-layout require draw.io v30+" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontColor=#405466;fillColor=#F3F6F8;strokeColor=#AAB7C4;dashed=1;" vertex="1" parent="13">
|
|
60
|
+
<mxGeometry x="80" y="220" width="1640" height="45" as="geometry" />
|
|
61
|
+
</mxCell>
|
|
62
|
+
<mxCell id="20" value="3 WHAT DRAWME IS CAPABLE OF" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
63
|
+
<mxGeometry x="40" y="890" width="1800" height="390" as="geometry" />
|
|
64
|
+
</mxCell>
|
|
65
|
+
<mxCell id="21" value="<b><font color="#1F4E78">AUTHOR AND UNDERSTAND</font></b><br><br>• Natural language → draw.io<br>• Flowchart, architecture, UML, BPMN, ERD, C4, network, ML<br>• Mermaid on v30+ or native XML<br>• 10k+ indexed official shapes" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
66
|
+
<mxGeometry x="40" y="75" width="400" height="250" as="geometry" />
|
|
67
|
+
</mxCell>
|
|
68
|
+
<mxCell id="22" value="<b><font color="#1F4E78">QUALITY AND REVIEW</font></b><br><br>• Deterministic structural lint<br>• IDs, parents, endpoints, geometry<br>• Overlap, crossing, and route warnings<br>• Preview vision check<br>• Human feedback refinement loop" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
69
|
+
<mxGeometry x="480" y="75" width="400" height="250" as="geometry" />
|
|
70
|
+
</mxCell>
|
|
71
|
+
<mxCell id="23" value="<b><font color="#1F4E78">EXPORT AND DELIVER</font></b><br><br>• PNG, SVG, PDF, and JPG<br>• Editable XML embedded in final PNG, SVG, and PDF<br>• Scale, width, border, transparency<br>• Multi-page selection<br>• Open in desktop for fine-tuning" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
72
|
+
<mxGeometry x="920" y="75" width="400" height="250" as="geometry" />
|
|
73
|
+
</mxCell>
|
|
74
|
+
<mxCell id="24" value="<b><font color="#2D5E36">EXTEND AND REUSE</font></b><br><br>• Explain existing diagrams as Markdown<br>• ELK layouts on v30+<br>• macOS, Linux, Windows, WSL, and headless Linux<br>• Packaged authoring references<br>• Eight model-callable tools and three commands" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#F3F9F1;strokeColor=#82B366;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
75
|
+
<mxGeometry x="1360" y="75" width="400" height="250" as="geometry" />
|
|
76
|
+
</mxCell>
|
|
77
|
+
<mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="6" target="7">
|
|
78
|
+
<mxGeometry relative="1" as="geometry" />
|
|
79
|
+
</mxCell>
|
|
80
|
+
<mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="7" target="8">
|
|
81
|
+
<mxGeometry relative="1" as="geometry" />
|
|
82
|
+
</mxCell>
|
|
83
|
+
<mxCell id="27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="8" target="9">
|
|
84
|
+
<mxGeometry relative="1" as="geometry" />
|
|
85
|
+
</mxCell>
|
|
86
|
+
<mxCell id="28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="9" target="10">
|
|
87
|
+
<mxGeometry relative="1" as="geometry" />
|
|
88
|
+
</mxCell>
|
|
89
|
+
<mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="10" target="11">
|
|
90
|
+
<mxGeometry relative="1" as="geometry" />
|
|
91
|
+
</mxCell>
|
|
92
|
+
<mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="11" target="12">
|
|
93
|
+
<mxGeometry relative="1" as="geometry" />
|
|
94
|
+
</mxCell>
|
|
95
|
+
<mxCell id="31" value="issues or feedback → targeted edit" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=8 4;strokeColor=#6C8EBF;strokeWidth=2;fontSize=12;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.5;entryY=1;" edge="1" parent="1" source="11" target="8">
|
|
96
|
+
<mxGeometry relative="1" as="geometry">
|
|
97
|
+
<Array as="points">
|
|
98
|
+
<mxPoint x="1425" y="500" />
|
|
99
|
+
<mxPoint x="675" y="500" />
|
|
100
|
+
</Array>
|
|
101
|
+
</mxGeometry>
|
|
102
|
+
</mxCell>
|
|
103
|
+
<mxCell id="32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="14" target="15">
|
|
104
|
+
<mxGeometry relative="1" as="geometry" />
|
|
105
|
+
</mxCell>
|
|
106
|
+
<mxCell id="33" value="orchestrates" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="15" target="16">
|
|
107
|
+
<mxGeometry relative="1" as="geometry" />
|
|
108
|
+
</mxCell>
|
|
109
|
+
<mxCell id="34" value="invokes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="16" target="17">
|
|
110
|
+
<mxGeometry relative="1" as="geometry" />
|
|
111
|
+
</mxCell>
|
|
112
|
+
<mxCell id="35" value="writes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="17" target="18">
|
|
113
|
+
<mxGeometry relative="1" as="geometry" />
|
|
114
|
+
</mxCell>
|
|
115
|
+
</root>
|
|
116
|
+
</mxGraphModel>
|
|
117
|
+
</diagram>
|
|
118
|
+
</mxfile>
|