@senad-d/drawme 0.1.11 → 0.3.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.
@@ -17,32 +17,10 @@ Read this when something looks wrong in the output (rendering, export, layout, e
17
17
  | `command not found: draw.io` after `brew install --cask drawio` | Homebrew installs the binary as `drawio` (no dot). Use `drawio --version`, not `draw.io --version`. The dot-name only exists inside the `.app` bundle (`/Applications/draw.io.app/Contents/MacOS/draw.io`) and on Windows (`draw.io.exe`). |
18
18
  | Export command not found on macOS | Try full path `/Applications/draw.io.app/Contents/MacOS/draw.io` |
19
19
  | Vision reports that the preview dimensions are too large | Re-export with `drawio_export` in preview mode and set a smaller `width`. If a 2000px full-diagram preview makes labels unreadable, tighten the canvas, simplify or split the layout, or use a focused review artifact. |
20
- | Linux: blank/error output headlessly | Prefix command with `xvfb-run -a` |
21
- | Linux: `--no-sandbox` placed before input file (parsed as filename) | Move `--no-sandbox` to the very end of the command (drawio-desktop#249, #1056) |
22
- | Linux: `Failed to get 'appData' path` / `Home directory not accessible` | `export HOME=/tmp` before invoking drawio (drawio-desktop#127) |
23
- | Linux server: segfault / EGL / MESA `failed to load driver` errors | Add `--disable-gpu` (suppresses Chromium GL init when no GPU available) |
20
+ | Linux: renderer unavailable without a display | Install `xvfb-run` and use stock draw.io. DrawMe uses Xvfb for headless discovery and rendering when available. |
21
+ | Linux: DrawMe refuses to run draw.io as root | Run Pi as an unprivileged user with a writable home directory. Keep the renderer sandbox enabled. |
24
22
  | PDF export fails | Ensure Chromium is available (draw.io bundles it on desktop) |
25
23
  | Background color wrong in CLI export | Known CLI bug; add `--transparent` flag or set background via style |
26
- | Vision returns 400 "Could not process image" on draft PNG | Re-export the preview without `-e` (issue #8). Root cause is a truncated IEND chunk in `-e` PNGs, not the `zTXt` chunk itself — but skipping `-e` for the preview is the simplest fix. |
27
- | Final embedded PNG won't open in image viewers | Export it again with `drawio_export` in final mode. The tool automatically repairs draw.io's truncated IEND chunk. SVG/PDF are unaffected. |
28
- | WSL2: `drawio` / `draw.io` not found | The CLI lives on the Windows side. Use the Windows desktop exe via `/mnt/c`: `"/mnt/c/Program Files/draw.io/draw.io.exe"` (or per-user `"/mnt/c/Users/<you>/AppData/Local/Programs/draw.io/draw.io.exe"`). |
29
- | WSL2: opening an exported file fails with a `/mnt/c/...`-style path | `cmd.exe` can't resolve WSL paths — convert first: `cmd.exe /c start "" "$(wslpath -w diagram.drawio.png)"`. The empty `""` after `start` is the (required) window title. |
30
-
31
- ## WSL2 / Windows specifics
32
-
33
- **Locate the CLI.** Detect WSL2 with `grep -qi microsoft /proc/version`. On WSL2 the
34
- export CLI is the Windows desktop exe, reached through `/mnt/c` (quote the path —
35
- it contains a space):
36
-
37
- ```bash
38
- "/mnt/c/Program Files/draw.io/draw.io.exe" --version
39
- # per-user install fallback:
40
- "/mnt/c/Users/$USER/AppData/Local/Programs/draw.io/draw.io.exe" --version
41
- ```
42
-
43
- **Open a file.** Convert the WSL path to a Windows path first; `cmd.exe` cannot
44
- follow `/mnt/c/...`:
45
-
46
- ```bash
47
- cmd.exe /c start "" "$(wslpath -w diagram.drawio.png)"
48
- ```
24
+ | Preview image not attached | Read the tool's result. Check whether the model supports images and whether the preview succeeded. Previews never embed XML. If there is no image, review structurally instead of judging the render. |
25
+ | Final embedded PNG won't open in image viewers | Export it again with `drawio_export` in final mode. DrawMe repairs a missing or truncated IEND tail only on otherwise valid PNG data. |
26
+ | WSL: renderer unavailable | Install native Linux draw.io inside WSL. DrawMe does not use the Windows `.exe` renderer from WSL. |
@@ -41,12 +41,12 @@ Background for manual sizing (what the fit computes): visible top-level vertex/c
41
41
 
42
42
  ### Typography, padding, and labels
43
43
 
44
- - Default to **14px for body/node labels** and **12px for connector labels** — set `fontSize=14;` on nodes and `fontSize=12;` on connectors instead of relying on draw.io's smaller default. Headings and title/hub nodes usually need 16–18px. Compact border ports and notation-mandated annotations may use 9–10px when their short labels remain legible; record the exception during review.
44
+ - Follow the [theme's type hierarchy](style-presets.md#applying-a-theme): one family, 28px title, 16px optional subtitle, **14px for body/node labels** and **12px for connectors and detail**. Compact border ports and notation-mandated annotations may use 9–10px when their short labels remain legible; record the exception during review.
45
45
  - Add `whiteSpace=wrap;html=1;` to labeled nodes. Use about 10–16px visual padding (`spacing=10;` or directional spacing) between text and shape borders.
46
46
  - Size a node for the rendered lines, not only character count. A conservative height is `line count × (fontSize × 1.25) + top/bottom padding`; allow additional room for container title bands and icon shapes.
47
47
  - Estimate width from the longest line (`characters × fontSize × 0.6 + left/right padding`), then verify by preview. Keep boxes visually snug: for a short label, prefer the estimated width plus about 24px total padding over a large reused default. Preserve intentional uniform sizing among peer nodes when it improves alignment. Insert deliberate `&#xa;` breaks for long labels rather than forcing a very wide node.
48
48
  - Prefer two or three concise lines. If a label remains long, enlarge the node, shorten the wording without changing meaning, or split details into a note/legend. Never reduce important body text merely to fit existing geometry.
49
- - A 2000px full-diagram preview scales the entire page. If labels become unreadable at that width, simplify the layout, tighten the canvas, split the diagram into pages, or use a focused review export; never accept an unreadable full view as passing typography.
49
+ - The editable canvas is fixed; a narrow viewer scales it rather than reflowing it. At a full-page overview, keep the subject, major groups, and direction discernible. Check full-size or zoomed content for uncut text and clear links. If labels are unreadable at normal review size, simplify the layout, shorten subordinate labels, tighten the canvas, or split into focused pages; never accept an unreadable full view as passing typography.
50
50
 
51
51
  ### Fix recipes: visual defect → source edit
52
52
 
@@ -54,10 +54,10 @@ When the preview critique narrows a finding down to specific cells, apply the ma
54
54
 
55
55
  | Visual defect (seen in the preview) | Fix |
56
56
  |-------------------------------------|-----|
57
- | Two shapes (or their labels) touch or overlap | Move the shapes apart per the spacing table, then `drawio_fit_canvas` — never shrink content |
57
+ | Two shapes (or their labels) touch or overlap | Increase the affected gap within the view's placement rules, then `drawio_fit_canvas` — never shrink content |
58
58
  | Label text touches or crosses its own shape border | Enlarge the node per the sizing formulas above, add `spacing=10;`, or insert `&#xa;` breaks |
59
59
  | Label text clipped / cut off mid-word | Same as above — the node is too small for the rendered lines |
60
- | Edge label struck through by its own line, or hugging it | Lift the label off the line with an offset in the edge's label geometry (example below) and add `labelBackgroundColor=#ffffff;` |
60
+ | Edge label struck through by its own line, or hugging it | Lift the label off the line with an offset in the edge's label geometry (example below) and match `labelBackgroundColor` to the background behind it |
61
61
  | Edge label overlaps another edge, label, or shape | Slide it along the edge (geometry `x` between `-1` and `1`) toward a clear stretch, plus the offset/background above |
62
62
  | Any text with a line running underneath it | Reroute the edge around the text with waypoints, or move the label — text over lines is never acceptable |
63
63
  | Arrowhead buried in a bend or hidden by a shape | Keep the final segment before the target ≥20px: move the last waypoint or increase spacing |
@@ -65,7 +65,7 @@ When the preview critique narrows a finding down to specific cells, apply the ma
65
65
  | Two edges stacked on the same path | Spread their entry/exit points (see the distribution table below) |
66
66
  | Edge detours or makes needless 90° bends | Re-pin its exit/entry to the side facing the peer (see the facing table below); add waypoints only if a shape still blocks the corridor |
67
67
  | Box has excessive empty side margins | Tighten it using the label-width estimate while preserving deliberate uniform sizing among peer nodes, then `drawio_fit_canvas` |
68
- | Icon shape's label overlaps the icon artwork | Move the label outside: `verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=#ffffff;` |
68
+ | Icon shape's label overlaps the icon artwork | Move the label outside: `verticalLabelPosition=bottom;verticalAlign=top;` with a label backing that matches the actual background |
69
69
  | Content touching a page edge, uneven margins, or big empty areas | Re-space the elements if needed, then run `drawio_fit_canvas` |
70
70
 
71
71
  **Positioning an edge label** — the edge's own label is placed by its geometry: `x` runs along the edge from `-1` (source) through `0` (center) to `1` (target), and an `<mxPoint as="offset">` shifts it in page pixels (negative `y` = up):
@@ -115,7 +115,7 @@ The examples use Light theme colors; swap in the active theme's colors.
115
115
 
116
116
  ### Containers and groups
117
117
 
118
- For architecture diagrams with nested elements, use draw.io's parent-child containment — do **not** just place shapes on top of larger shapes.
118
+ For nested elements (such as components within a responsibility boundary or workloads within an environment), use draw.io's parent-child containment — do **not** just place shapes on top of larger shapes. Reserve a title band above children (`startSize` for horizontal swimlanes) and leave an even inset on open sides. For example, start with a 30px title band and 20px child inset; grow the band for wrapped titles and keep routes clear of the text.
119
119
 
120
120
  | Type | Style | When to use |
121
121
  |------|-------|-------------|
@@ -146,7 +146,7 @@ For architecture diagrams with nested elements, use draw.io's parent-child conta
146
146
  **CRITICAL:** Every edge `mxCell` must contain a `<mxGeometry relative="1" as="geometry" />` child element. Self-closing edge cells (`<mxCell ... edge="1" ... />`) are **invalid** and will not render. Always use the expanded form.
147
147
 
148
148
  ```xml
149
- <!-- Directed arrow — always include rounded, orthogonalLoop, jettySize for clean routing -->
149
+ <!-- Generic orthogonal arrow — use the selected notation for specialized edges -->
150
150
  <mxCell id="10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="2" target="3">
151
151
  <mxGeometry relative="1" as="geometry" />
152
152
  </mxCell>
@@ -168,8 +168,8 @@ For architecture diagrams with nested elements, use draw.io's parent-child conta
168
168
 
169
169
  **Edge style rules:**
170
170
  - **Animated connectors:** add `flowAnimation=1;` to an edge style to show moving dashes from source to target. Optional controls are `flowAnimationDuration=500;` (positive milliseconds; larger is slower), `flowAnimationTimingFunction=linear;` (`linear`, `ease`, `ease-in`, `ease-out`, or `ease-in-out`), and `flowAnimationDirection=normal;` (`normal`, `reverse`, `alternate`, or `alternate-reverse`). Example: `style="edgeStyle=orthogonalEdgeStyle;flowAnimation=1;flowAnimationDuration=1200;flowAnimationDirection=normal;rounded=1;..."`. A verified animated SVG preserves this motion; PNG/PDF/JPG remain static.
171
- - **Always** include `rounded=1;orthogonalLoop=1;jettySize=auto` — these enable smart routing that avoids overlaps
172
- - Pin `exitX/exitY/entryX/entryY` on every edge when a node has 2+ connections. Pick the side facing each peer and spread that side's edges over evenly spaced slots so they do not stack or cross at the boundary.
171
+ - For general orthogonal edges, start with `rounded=1;orthogonalLoop=1;jettySize=auto`. Do not replace a view's straight message arrows, row-level associations, or other notation with generic routing.
172
+ - Pin `exitX/exitY/entryX/entryY` on the facing sides when multiple connections need separation. Space ordinary edges over clear slots; preserve specific message heights, field-row anchors, and decision exits where they carry meaning.
173
173
  - Add `<Array as="points">` waypoints when an edge must detour around an intermediate shape
174
174
  - **Leave room for arrowheads:** the final straight segment between the last bend and the target shape must be ≥20px long. If too short, the arrowhead overlaps the bend and looks broken. Fix by increasing node spacing or adding explicit waypoints
175
175
  - **Obstacle-avoiding routing (draw.io ≥ 30):** the desktop editor can recompute connectors around shapes without moving nodes. This is an interactive editor feature, not a `drawio_layout` preset. If a dense diagram still has crossings after preview, offer to open the `.drawio` in draw.io desktop for manual routing.
@@ -189,12 +189,14 @@ Use `drawio_animate` for any animation beyond continuous connector flow. Author
189
189
  | `travel` | visible connector | A dot runs along the connector in `color` |
190
190
  | `wait` | none | Pause for `duration` ms |
191
191
 
192
- - Steps run one after another; `parallel: true` starts a step with the previous one. `stagger` offsets consecutive cells of one step for a cascade.
193
- - A cell whose first effect is an entrance (`fadeIn`, `popIn`, `slideIn`, `drawIn`) starts hidden. Everything else is visible from the start.
192
+ - Steps run one after another; `parallel: true` starts a step with the previous one in the same batch. `stagger` offsets consecutive cells of one step for a cascade.
193
+ - Use at most 200 steps. `hold`, `stagger`, and wait duration accept 0–60,000 ms; timed visual effects accept greater than 0 through 60,000 ms (0.5 ms is valid). The pre-hold timeline may be at most 300,000 ms.
194
+ - A cell whose first effect is an entrance (`fadeIn`, `popIn`, `slideIn`, `drawIn`) starts hidden. Other cells start in their authored state. A dimmed visible cell can `fadeIn` to full opacity, but a fully visible cell cannot enter again.
194
195
  - `drawIn` needs a solid connector without `flowAnimation=1`; use `fadeIn` for dashed or flowing connectors.
195
196
  - `loop` (default true) repeats the sequence after `hold` ms (default 1600) on the final state.
196
197
  - The tool stores the steps on the page root cell (`drawmeMotion`), so a later call without `steps` re-exports the same motion after layout edits. `drawio_validate` checks the stored steps against the page.
197
- - It writes `<name>.animated.svg` and a `<name>.storyboard.png` with one captioned frame per step. Use the storyboard to confirm order and visibility; it does not show easing or dot movement.
198
+ - The storyboard samples at most 12 captioned visual batch ends evenly, keeping the first and last. Parallel steps share a frame; wait-only batches consume time but add no frame. Use it to check order and visibility, not easing or dot movement.
199
+ - Page 1 exported to the default `<name>.animated.svg` gets `<name>.storyboard.png`. Otherwise, append `.page-<index>.frames.png` to the full SVG output path. Use distinct SVG outputs to keep animations of multiple pages. A valid storyboard remains on disk even if it is too large to attach for review.
198
200
  - The motion plays in browsers and wherever the SVG is shown as an image (for example a README). draw.io itself does not play it.
199
201
 
200
202
  Example: reveal a three-hop flow, run traffic through it, then focus on the service.
@@ -252,7 +254,7 @@ Rules:
252
254
 
253
255
  ### Distributing connections on a shape
254
256
 
255
- When multiple edges connect to the same shape, assign different entry/exit points to prevent stacking:
257
+ For ordinary box-to-box edges, assign different entry/exit points to prevent stacking. Keep the notation's own anchors for lifelines, field rows, and other specialized endpoints.
256
258
 
257
259
  | Position | exitX/entryX | exitY/entryY | Use when |
258
260
  |----------|-------------|-------------|----------|
@@ -280,7 +282,7 @@ Before spreading multiple edges on one side, pick the side that faces the peer.
280
282
 
281
283
  ### Color palette (fillColor / strokeColor)
282
284
 
283
- *Classic draw.io palette. Use it only when the user explicitly asks for the classic draw.io colors; otherwise use the active theme from `references/style-presets.md` (Light unless the user asks for Dark or Multi-color).*
285
+ *Classic draw.io palette. Use it only when the user explicitly asks for the classic draw.io colors; otherwise use the active [theme](style-presets.md) (Light unless the user asks for Dark or Multi-color).*
284
286
 
285
287
  | Color name | fillColor | strokeColor | Use for |
286
288
  |-----------|-----------|-------------|---------|
@@ -294,7 +296,7 @@ Before spreading multiple edges on one side, pick the side that faces the peer.
294
296
 
295
297
  ### Legend (auto-generate from the palette)
296
298
 
297
- When a Multi-color (or explicitly requested classic) diagram uses 3+ semantic colors, add a legend so the color coding is self-explanatory. Generate it mechanically from the roles actually present — never invent legend entries that aren't in the diagram:
299
+ Include a legend for Multi-color role coding, or when another visual convention needs explaining. Use only meanings actually present; do not make a legend the sole cue for boundaries, return messages, or decisions:
298
300
 
299
301
  ```xml
300
302
  <!-- Legend container: place in a corner clear of the diagram (e.g. below-left) -->
@@ -310,11 +312,11 @@ When a Multi-color (or explicitly requested classic) diagram uses 3+ semantic co
310
312
  </mxCell>
311
313
  ```
312
314
 
313
- Rules: swatch colors come from the active palette (preset or the table above) with the **role name** as the label (Service, Database, Queue, …); height = `30 + 24 × rows`; the legend is a container (`parent="legend"`, relative coordinates); skip it entirely for single-color diagrams.
315
+ For a role legend, swatch colors come from the active palette with the **role name** as the label (Service, Database, Queue, …). In this example, height = `30 + 24 × rows`, and legend children use `parent="legend"` and relative coordinates.
314
316
 
315
317
  ### Layout tips
316
318
 
317
- **Spacing — scale with complexity:**
319
+ Use the [selected view](diagram-types.md#choose-a-view) to set the composition first. The gaps below are starting points for **independent boxes**, not for sequence message rows, entity fields, or nested children. Give each peer set a repeated gap and align its leading edges or centers. Leave enough height for wrapped labels rather than reducing type.
318
320
 
319
321
  | Diagram complexity | Nodes | Horizontal gap | Vertical gap |
320
322
  |-------------------|-------|----------------|--------------|
@@ -322,21 +324,19 @@ Rules: swatch colors come from the active palette (preset or the table above) wi
322
324
  | Medium | 6–10 | 280px | 200px |
323
325
  | Complex | >10 | 350px | 250px |
324
326
 
325
- **Routing corridors:** between shape rows/columns, leave an extra ~80px empty corridor where edges can route without crossing shapes. Never place a shape in a gap that edges need to traverse.
327
+ **Routing corridors:** reserve an open route between rows, columns, or group boundaries where edges need to pass. Start with about 80px of additional space where labels or multiple routes need clearance; widen that corridor rather than inflating all the gaps. Keep arrowheads and endpoint markers visible.
326
328
 
327
- **Grid alignment:** snap all `x`, `y`, `width`, `height` values to **multiples of 10** — this ensures shapes align cleanly on draw.io's default grid and makes manual editing easier.
329
+ **Grid alignment:** use the **10px grid** for main boxes and groups. Preserve notation-specific sizes and coordinates where the grid would move a field anchor or break a message row.
328
330
 
329
331
  **General rules:**
330
332
  - Run `drawio_fit_canvas` after every layout change so `pageWidth`/`pageHeight` track the content; it keeps the recommended 40px outer margin (DrawMe warns below the 20px minimum)
331
333
  - Plan a grid before assigning x/y coordinates — sketch node positions on paper/mentally first
332
- - Group related nodes in the same horizontal or vertical band
333
- - Use `swimlane` cells for logical grouping with visible borders
334
- - Place heavily-connected "hub" nodes centrally so edges radiate outward instead of crossing
334
+ - Align related peers horizontally or vertically; use visible `swimlane` boundaries only for real groups the view needs to show
335
+ - Place actual hubs centrally if that improves routing without breaking the view's composition
335
336
  - To force straight vertical connections, pin entry/exit points explicitly on edges:
336
337
  `exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0`
337
- - Always center-align a child node under its parent (same center x) to avoid diagonal routing
338
- - **Event bus pattern**: place Kafka/bus nodes in the **center of the service row**, not below — services on either side can reach it with short horizontal arrows (`exitX=1` left side, `exitX=0` right side), eliminating all line crossings
339
- - Horizontal connections (`exitX=1` or `exitX=0`) never cross vertical nodes in the same row; use them for peer-to-peer and publish connections
338
+ - Center a child under its parent in a tree when that supports straight routing; in a container, align children as peers with clear title and border insets
339
+ - **Event bus pattern:** if the architecture has a bus and the composition permits it, center it on the service row for shorter horizontal connections; inspect the route for crossings
340
340
 
341
341
  **Avoiding edge-shape overlap:**
342
342
  - Before finalizing coordinates, trace each edge path mentally — if it must cross an unrelated shape, either move the shape or add waypoints
@@ -0,0 +1,52 @@
1
+ <mxfile host="app.diagrams.net">
2
+ <diagram id="drawme-overview" name="DrawMe architecture overview">
3
+ <mxGraphModel dx="1185" dy="711" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1185" pageHeight="711" background="#FFFFFF">
4
+ <root>
5
+ <mxCell id="0"/>
6
+ <mxCell id="1" parent="0"/>
7
+ <mxCell id="kicker" value="&lt;span style=&quot;letter-spacing:1.6px&quot;&gt;DRAWME / ARCHITECTURE&lt;/span&gt;" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacing=0;fontFamily=Helvetica;fontSize=14;fontStyle=1;fontColor=#2563EB;" vertex="1" parent="1">
8
+ <mxGeometry x="40" y="40" width="500" height="24" as="geometry"/>
9
+ </mxCell>
10
+ <mxCell id="title" value="From prompt to editable diagram" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacing=0;fontFamily=Helvetica;fontSize=42;fontStyle=1;fontColor=#0F172A;" vertex="1" parent="1">
11
+ <mxGeometry x="40" y="72" width="1105" height="55" as="geometry"/>
12
+ </mxCell>
13
+ <mxCell id="subtitle" value="One prompt in Pi gives you a diagram you can keep editing and share." style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacing=0;fontFamily=Helvetica;fontSize=19;fontColor=#475569;" vertex="1" parent="1">
14
+ <mxGeometry x="40" y="131" width="1080" height="32" as="geometry"/>
15
+ </mxCell>
16
+ <mxCell id="prompt" value="&lt;div style=&quot;font-size:12px;font-weight:bold;letter-spacing:1px;color:#475569;margin-bottom:8px&quot;&gt;INPUT&lt;/div&gt;&lt;div style=&quot;font-size:23px;font-weight:bold;margin-bottom:6px&quot;&gt;Your idea&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#475569&quot;&gt;Describe your diagram&lt;br&gt;in plain language.&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=14;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacing=10;spacingTop=14;spacingLeft=12;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#FFFFFF;strokeColor=#CBD5E1;fontColor=#0F172A;" vertex="1" parent="1">
17
+ <mxGeometry x="40" y="210" width="210" height="136" as="geometry"/>
18
+ </mxCell>
19
+ <mxCell id="pi" value="&lt;div style=&quot;font-size:23px;font-weight:bold;color:#0F172A;margin-bottom:6px&quot;&gt;Pi coding agent&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#475569&quot;&gt;Plans, writes and refines the diagram.&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=16;whiteSpace=wrap;html=1;container=1;collapsible=0;pointerEvents=0;align=left;verticalAlign=top;spacing=10;spacingLeft=12;spacingTop=12;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#F8FAFC;strokeColor=#CBD5E1;fontColor=#0F172A;" vertex="1" parent="1">
20
+ <mxGeometry x="375" y="210" width="365" height="218" as="geometry"/>
21
+ </mxCell>
22
+ <mxCell id="drawme" value="&lt;div style=&quot;font-size:21px;font-weight:bold;margin-bottom:6px&quot;&gt;DrawMe &lt;span style=&quot;font-size:13px;font-weight:normal;color:#1E40AF&quot;&gt;· Pi extension&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#1E3A8A&quot;&gt;Validates structure and prepares exports.&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=12;whiteSpace=wrap;html=1;align=left;spacing=10;spacingLeft=10;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#EFF6FF;strokeColor=#2563EB;fontColor=#1E3A8A;" vertex="1" parent="pi">
23
+ <mxGeometry x="22" y="99" width="321" height="96" as="geometry"/>
24
+ </mxCell>
25
+ <mxCell id="source" value="&lt;div style=&quot;font-size:12px;font-weight:bold;letter-spacing:1px;color:#475569;margin-bottom:8px&quot;&gt;EDITABLE SOURCE&lt;/div&gt;&lt;div style=&quot;font-size:23px;font-weight:bold;margin-bottom:6px&quot;&gt;.drawio&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#475569&quot;&gt;Open, edit and reuse in draw.io.&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=14;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacing=10;spacingTop=14;spacingLeft=12;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#FFFFFF;strokeColor=#CBD5E1;fontColor=#0F172A;" vertex="1" parent="1">
26
+ <mxGeometry x="860" y="210" width="285" height="136" as="geometry"/>
27
+ </mxCell>
28
+ <mxCell id="renderer" value="&lt;div style=&quot;font-size:12px;font-weight:bold;letter-spacing:1px;color:#475569;margin-bottom:8px&quot;&gt;LOCAL RENDERER&lt;/div&gt;&lt;div style=&quot;font-size:23px;font-weight:bold;margin-bottom:6px&quot;&gt;draw.io Desktop&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#475569&quot;&gt;Renders previews and export formats.&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=14;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacing=10;spacingTop=14;spacingLeft=12;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#F8FAFC;strokeColor=#CBD5E1;fontColor=#0F172A;" vertex="1" parent="1">
29
+ <mxGeometry x="375" y="535" width="365" height="136" as="geometry"/>
30
+ </mxCell>
31
+ <mxCell id="exports" value="&lt;div style=&quot;font-size:12px;font-weight:bold;letter-spacing:1px;color:#475569;margin-bottom:8px&quot;&gt;EXPORTS&lt;/div&gt;&lt;div style=&quot;font-size:23px;font-weight:bold;margin-bottom:6px&quot;&gt;Ready to share&lt;/div&gt;&lt;div style=&quot;font-size:15px;color:#475569&quot;&gt;PNG · SVG · PDF · JPG&lt;br&gt;Verified animated SVG&lt;/div&gt;" style="rounded=1;absoluteArcSize=1;arcSize=14;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacing=10;spacingTop=14;spacingLeft=12;fontFamily=Helvetica;fontSize=15;strokeWidth=1.5;fillColor=#FFFFFF;strokeColor=#CBD5E1;fontColor=#0F172A;" vertex="1" parent="1">
32
+ <mxGeometry x="860" y="535" width="285" height="136" as="geometry"/>
33
+ </mxCell>
34
+ <mxCell id="prompt-pi" value="Prompts" style="edgeStyle=segmentEdgeStyle;rounded=1;arcSize=10;html=1;strokeColor=#2563EB;strokeWidth=2;endArrow=blockThin;endFill=1;endSize=8;fontFamily=Helvetica;fontSize=13;fontColor=#475569;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.311926606;" edge="1" parent="1" source="prompt" target="pi">
35
+ <mxGeometry x="0" y="0" relative="1" as="geometry"><mxPoint x="0" y="-17" as="offset"/><Array as="points"><mxPoint x="312.5" y="278"/></Array></mxGeometry>
36
+ </mxCell>
37
+ <mxCell id="pi-source" value="Authors" style="edgeStyle=segmentEdgeStyle;rounded=1;arcSize=10;html=1;strokeColor=#2563EB;strokeWidth=2;endArrow=blockThin;endFill=1;endSize=8;fontFamily=Helvetica;fontSize=13;fontColor=#475569;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.311926606;entryX=0;entryY=0.5;" edge="1" parent="1" source="pi" target="source">
38
+ <mxGeometry x="0" y="0" relative="1" as="geometry"><mxPoint x="0" y="-17" as="offset"/><Array as="points"><mxPoint x="800" y="278"/></Array></mxGeometry>
39
+ </mxCell>
40
+ <mxCell id="drawme-renderer" value="Runs renderer" style="edgeStyle=segmentEdgeStyle;rounded=1;arcSize=10;html=1;strokeColor=#64748B;strokeWidth=1.5;endArrow=blockThin;endFill=1;endSize=8;fontFamily=Helvetica;fontSize=13;fontColor=#475569;labelBackgroundColor=#FFFFFF;exitX=0.258566978;exitY=1;entryX=0.287671233;entryY=0;" edge="1" parent="1" source="drawme" target="renderer">
41
+ <mxGeometry x="0.16" y="0" relative="1" as="geometry"><mxPoint x="54" y="0" as="offset"/><Array as="points"><mxPoint x="480" y="480"/></Array></mxGeometry>
42
+ </mxCell>
43
+ <mxCell id="source-renderer" value="Supplies XML" style="edgeStyle=segmentEdgeStyle;rounded=1;arcSize=10;html=1;strokeColor=#2563EB;strokeWidth=2;endArrow=blockThin;endFill=1;endSize=8;fontFamily=Helvetica;fontSize=13;fontColor=#475569;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.767123288;entryY=0;" edge="1" parent="1" source="source" target="renderer">
44
+ <mxGeometry x="0" y="0" relative="1" as="geometry"><mxPoint x="0" y="-17" as="offset"/><Array as="points"><mxPoint x="1002.5" y="467"/><mxPoint x="655" y="467"/></Array></mxGeometry>
45
+ </mxCell>
46
+ <mxCell id="renderer-exports" value="Renders" style="edgeStyle=segmentEdgeStyle;rounded=1;arcSize=10;html=1;strokeColor=#2563EB;strokeWidth=2;endArrow=blockThin;endFill=1;endSize=8;fontFamily=Helvetica;fontSize=13;fontColor=#475569;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="renderer" target="exports">
47
+ <mxGeometry x="0" y="0" relative="1" as="geometry"><mxPoint x="0" y="-17" as="offset"/><Array as="points"><mxPoint x="800" y="603"/></Array></mxGeometry>
48
+ </mxCell>
49
+ </root>
50
+ </mxGraphModel>
51
+ </diagram>
52
+ </mxfile>