@senad-d/drawme 0.1.3 → 0.1.5

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.
@@ -1,116 +1,166 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <mxfile host="drawio" version="26.0.9">
2
+ <mxfile host="drawio" version="31.1.5">
3
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">
4
+ <mxGraphModel dx="2000" dy="1700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" math="0" shadow="0" background="#F4F7FB" pageWidth="2000" pageHeight="1730">
5
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" />
6
+ <mxCell id="0"/>
7
+ <mxCell id="1" parent="0"/>
8
+ <mxCell id="title" value="DrawMe: from a prompt to an editable diagram" style="text;html=1;align=left;verticalAlign=middle;fontSize=34;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
9
+ <mxGeometry x="40" y="40" width="1320" height="50" as="geometry"/>
10
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" />
11
+ <mxCell id="subtitle" value="A Pi extension that plans, authors, validates, reviews, and exports draw.io diagrams" style="text;html=1;align=left;verticalAlign=middle;fontSize=16;fontColor=#4F6475;" vertex="1" parent="1">
12
+ <mxGeometry x="40" y="92" width="1360" height="32" as="geometry"/>
13
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" />
14
+ <mxCell id="badge" value="LOCAL RENDERING • EDITABLE OUTPUT • AUTONOMOUS REVIEW" style="rounded=1;arcSize=22;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontStyle=1;fontColor=#2D5E36;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
15
+ <mxGeometry x="1450" y="45" width="510" height="54" as="geometry"/>
16
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" />
17
+
18
+ <mxCell id="workflow" value="1 END-TO-END WORKFLOW" style="swimlane;horizontal=1;startSize=60;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=19;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
19
+ <mxGeometry x="40" y="150" width="1920" height="800" as="geometry"/>
19
20
  </mxCell>
20
- <mxCell id="6" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;1 · CHECK&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Find the draw.io CLI&lt;br&gt;Read its version&lt;br&gt;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" />
21
+
22
+ <mxCell id="phase-prepare" value="PREPARE · STEPS 1–3 · LEFT TO RIGHT" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=10;container=1;pointerEvents=0;html=1;fontSize=15;fontStyle=1;fontColor=#1F4E78;fillColor=#D9EAF7;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="workflow">
23
+ <mxGeometry x="30" y="85" width="1860" height="190" as="geometry"/>
22
24
  </mxCell>
23
- <mxCell id="7" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;2 · PLAN&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Choose diagram type&lt;br&gt;Define shapes and links&lt;br&gt;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 id="step-check" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;01 · CHECK&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Confirm the draw.io CLI; unlock Mermaid + ELK on v30+" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=1.5;" vertex="1" parent="phase-prepare">
26
+ <mxGeometry x="40" y="66" width="540" height="86" as="geometry"/>
25
27
  </mxCell>
26
- <mxCell id="8" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;3 · AUTHOR&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Mermaid on v30+&lt;br&gt;or native draw.io XML&lt;br&gt;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 id="step-plan" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;02 · PLAN&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Select notation, relationships, and LR/TB layout" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=1.5;" vertex="1" parent="phase-prepare">
29
+ <mxGeometry x="660" y="66" width="540" height="86" as="geometry"/>
28
30
  </mxCell>
29
- <mxCell id="9" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;4 · VALIDATE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Check IDs and parents&lt;br&gt;Check edge endpoints&lt;br&gt;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 id="step-author" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;03 · AUTHOR&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Write native XML or convert Mermaid; use exact shapes" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=1.5;" vertex="1" parent="phase-prepare">
32
+ <mxGeometry x="1280" y="66" width="540" height="86" as="geometry"/>
31
33
  </mxCell>
32
- <mxCell id="10" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;5 · PREVIEW&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Export a clean PNG&lt;br&gt;Cap width at 2000 px&lt;br&gt;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 id="edge-check-plan" 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="phase-prepare" source="step-check" target="step-plan">
35
+ <mxGeometry relative="1" as="geometry"/>
34
36
  </mxCell>
35
- <mxCell id="11" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;6 · REVIEW&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Show the preview&lt;br&gt;Apply targeted feedback&lt;br&gt;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 id="edge-plan-author" 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="phase-prepare" source="step-plan" target="step-author">
38
+ <mxGeometry relative="1" as="geometry"/>
37
39
  </mxCell>
38
- <mxCell id="12" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;7 · FINAL EXPORT&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;PNG by default&lt;br&gt;SVG, PDF, or JPG&lt;br&gt;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
+
41
+ <mxCell id="phase-quality" value="QUALITY LOOP · STEPS 4–6 · RIGHT TO LEFT" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=10;container=1;pointerEvents=0;html=1;fontSize=15;fontStyle=1;fontColor=#674274;fillColor=#E1D5E7;swimlaneFillColor=#FCF9FD;strokeColor=#9673A6;strokeWidth=2;" vertex="1" parent="workflow">
42
+ <mxGeometry x="30" y="300" width="1860" height="245" as="geometry"/>
40
43
  </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" />
44
+ <mxCell id="step-validate" value="&lt;b&gt;&lt;font color=&quot;#674274&quot;&gt;04 · VALIDATE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Lint every edit; fit the canvas around finished content" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#B69BC2;strokeWidth=1.5;" vertex="1" parent="phase-quality">
45
+ <mxGeometry x="1280" y="66" width="540" height="86" as="geometry"/>
43
46
  </mxCell>
44
- <mxCell id="14" value="&lt;b&gt;Natural-language request&lt;/b&gt;&lt;br&gt;&lt;br&gt;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" />
47
+ <mxCell id="step-critique" value="&lt;b&gt;&lt;font color=&quot;#674274&quot;&gt;05 · CRITIQUE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Review canvas · typography · connectors · semantics" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#B69BC2;strokeWidth=1.5;" vertex="1" parent="phase-quality">
48
+ <mxGeometry x="660" y="66" width="540" height="86" as="geometry"/>
46
49
  </mxCell>
47
- <mxCell id="15" value="&lt;b&gt;Pi AI agent&lt;/b&gt;&lt;br&gt;&lt;br&gt;Plans and authors&lt;br&gt;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" />
50
+ <mxCell id="step-refine" value="&lt;b&gt;&lt;font color=&quot;#674274&quot;&gt;06 · REFINE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Apply targeted fixes; validate and preview again" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#B69BC2;strokeWidth=1.5;" vertex="1" parent="phase-quality">
51
+ <mxGeometry x="40" y="66" width="540" height="86" as="geometry"/>
49
52
  </mxCell>
50
- <mxCell id="16" value="&lt;b&gt;DrawMe extension&lt;/b&gt;&lt;br&gt;&lt;br&gt;check • validate • export • shape search&lt;br&gt;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" />
53
+ <mxCell id="edge-validate-critique" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2;exitX=0;exitY=0.5;entryX=1;entryY=0.5;" edge="1" parent="phase-quality" source="step-validate" target="step-critique">
54
+ <mxGeometry relative="1" as="geometry"/>
52
55
  </mxCell>
53
- <mxCell id="17" value="&lt;b&gt;draw.io desktop CLI&lt;/b&gt;&lt;br&gt;&lt;br&gt;Renders and exports&lt;br&gt;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" />
56
+ <mxCell id="edge-critique-refine" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2;exitX=0;exitY=0.5;entryX=1;entryY=0.5;" edge="1" parent="phase-quality" source="step-critique" target="step-refine">
57
+ <mxGeometry relative="1" as="geometry"/>
55
58
  </mxCell>
56
- <mxCell id="18" value="&lt;b&gt;Deliverables&lt;/b&gt;&lt;br&gt;&lt;br&gt;.drawio source&lt;br&gt;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" />
59
+ <mxCell id="edge-refinement-loop" value="targeted edit · validate again · maximum 5 retries" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=60;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=8 4;strokeColor=#9673A6;strokeWidth=2;fontSize=12;fontColor=#674274;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.5;entryY=1;" edge="1" parent="phase-quality" source="step-refine" target="step-validate">
60
+ <mxGeometry relative="1" as="geometry"/>
58
61
  </mxCell>
59
- <mxCell id="19" value="&lt;b&gt;Compatibility&lt;/b&gt; • 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" />
62
+
63
+ <mxCell id="phase-ship" value="CONFIRM &amp;amp; SHIP · STEPS 7–9 · LEFT TO RIGHT" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=10;container=1;pointerEvents=0;html=1;fontSize=15;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;swimlaneFillColor=#F8FCF7;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="workflow">
64
+ <mxGeometry x="30" y="570" width="1860" height="190" as="geometry"/>
61
65
  </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" />
66
+ <mxCell id="step-guardrail" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;07 · GUARDRAIL&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Cap retries at five; retain the best validated state" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#A5C99D;strokeWidth=1.5;" vertex="1" parent="phase-ship">
67
+ <mxGeometry x="40" y="66" width="540" height="86" as="geometry"/>
64
68
  </mxCell>
65
- <mxCell id="21" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;AUTHOR AND UNDERSTAND&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Natural language → draw.io&lt;br&gt;• Flowchart, architecture, UML, BPMN, ERD, C4, network, ML&lt;br&gt;• Mermaid on v30+ or native XML&lt;br&gt;• 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" />
69
+ <mxCell id="step-confirm" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;08 · HOLISTIC CONFIRM&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Re-check the full render; no approval pause" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#A5C99D;strokeWidth=1.5;" vertex="1" parent="phase-ship">
70
+ <mxGeometry x="660" y="66" width="540" height="86" as="geometry"/>
67
71
  </mxCell>
68
- <mxCell id="22" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;QUALITY AND REVIEW&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Deterministic structural lint&lt;br&gt;• IDs, parents, endpoints, geometry&lt;br&gt;• Overlap, crossing, and route warnings&lt;br&gt;• Preview vision check&lt;br&gt;• 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" />
72
+ <mxCell id="step-export" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;09 · FINAL EXPORT&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Embed editable XML in PNG / SVG / PDF / JPG" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=18;spacingRight=16;spacingTop=10;spacingBottom=10;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="phase-ship">
73
+ <mxGeometry x="1280" y="66" width="540" height="86" as="geometry"/>
70
74
  </mxCell>
71
- <mxCell id="23" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;EXPORT AND DELIVER&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• PNG, SVG, PDF, and JPG&lt;br&gt;• Editable XML embedded in final PNG, SVG, and PDF&lt;br&gt;• Scale, width, border, transparency&lt;br&gt;• Multi-page selection&lt;br&gt;• 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" />
75
+ <mxCell id="edge-guardrail-confirm" 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="phase-ship" source="step-guardrail" target="step-confirm">
76
+ <mxGeometry relative="1" as="geometry"/>
73
77
  </mxCell>
74
- <mxCell id="24" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;EXTEND AND REUSE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Explain existing diagrams as Markdown&lt;br&gt;• ELK layouts on v30+&lt;br&gt;• macOS, Linux, Windows, WSL, and headless Linux&lt;br&gt;• Packaged authoring references&lt;br&gt;• 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" />
78
+ <mxCell id="edge-confirm-export" 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="phase-ship" source="step-confirm" target="step-export">
79
+ <mxGeometry relative="1" as="geometry"/>
76
80
  </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" />
81
+
82
+ <mxCell id="edge-author-validate" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#405E78;strokeWidth=2.5;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="workflow" source="step-author" target="step-validate">
83
+ <mxGeometry relative="1" as="geometry"/>
79
84
  </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" />
85
+ <mxCell id="edge-refine-guardrail" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=50;html=1;endArrow=blockThin;endFill=1;strokeColor=#526C4E;strokeWidth=2.5;exitX=0;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="workflow" source="step-refine" target="step-guardrail">
86
+ <mxGeometry relative="1" as="geometry"/>
82
87
  </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" />
88
+
89
+ <mxCell id="architecture" value="2 ARCHITECTURE AND RESPONSIBILITIES" style="swimlane;horizontal=1;startSize=60;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=19;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
90
+ <mxGeometry x="40" y="990" width="1920" height="360" as="geometry"/>
85
91
  </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" />
92
+ <mxCell id="arch-request" value="&lt;font color=&quot;#6B7C8A&quot;&gt;&lt;b&gt;REQUEST&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&lt;b&gt;Natural-language prompt&lt;/b&gt;&lt;br&gt;Describe it with /drawme" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=2;" vertex="1" parent="architecture">
93
+ <mxGeometry x="40" y="90" width="260" height="120" as="geometry"/>
88
94
  </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" />
95
+ <mxCell id="arch-agent" value="&lt;font color=&quot;#6B7C8A&quot;&gt;&lt;b&gt;ORCHESTRATOR&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&lt;b&gt;Pi AI agent&lt;/b&gt;&lt;br&gt;Plans · authors · reviews" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=2;" vertex="1" parent="architecture">
96
+ <mxGeometry x="380" y="90" width="300" height="120" as="geometry"/>
91
97
  </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" />
98
+ <mxCell id="arch-extension" value="DRAWME EXTENSION" style="swimlane;horizontal=1;startSize=44;rounded=1;arcSize=10;container=1;html=1;fontSize=15;fontStyle=1;fontColor=#1F4E78;fillColor=#D9EAF7;swimlaneFillColor=#F8FBFF;strokeColor=#1F4E78;strokeWidth=3;shadow=1;" vertex="1" parent="architecture">
99
+ <mxGeometry x="760" y="75" width="760" height="190" as="geometry"/>
94
100
  </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>
101
+ <mxCell id="arch-core" value="&lt;font color=&quot;#1F4E78&quot;&gt;&lt;b&gt;DETERMINISTIC CORE&lt;/b&gt;&lt;/font&gt;&lt;br&gt;validate · fit canvas&lt;br&gt;shape search · explain&lt;br&gt;&lt;font color=&quot;#6B7C8A&quot;&gt;no renderer needed&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#9EB9D6;strokeWidth=1.5;" vertex="1" parent="arch-extension">
102
+ <mxGeometry x="20" y="65" width="340" height="100" as="geometry"/>
102
103
  </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" />
104
+ <mxCell id="arch-bridge" value="&lt;font color=&quot;#9A5B13&quot;&gt;&lt;b&gt;DRAW.IO + OS BRIDGE&lt;/b&gt;&lt;/font&gt;&lt;br&gt;check · Mermaid import · ELK layout&lt;br&gt;preview · export · open" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFF4E6;strokeColor=#D79B00;strokeWidth=1.5;" vertex="1" parent="arch-extension">
105
+ <mxGeometry x="400" y="65" width="340" height="100" as="geometry"/>
105
106
  </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" />
107
+ <mxCell id="arch-output" value="&lt;font color=&quot;#4E7048&quot;&gt;&lt;b&gt;EDITABLE OUTPUTS&lt;/b&gt;&lt;/font&gt;&lt;br&gt;&lt;b&gt;.drawio source&lt;/b&gt;&lt;br&gt;PNG · SVG · PDF · JPG" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="architecture">
108
+ <mxGeometry x="1600" y="90" width="240" height="120" as="geometry"/>
108
109
  </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" />
110
+ <mxCell id="compatibility" value="&lt;b&gt;LOCAL-FIRST&lt;/b&gt; • Validation, canvas fitting, shape search, and explanation run in TypeScript • draw.io v30+ unlocks Mermaid import + ELK layout" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=8;fontSize=13;fontColor=#405466;fillColor=#F3F6F8;strokeColor=#AAB7C4;dashed=1;" vertex="1" parent="architecture">
111
+ <mxGeometry x="60" y="290" width="1740" height="44" as="geometry"/>
111
112
  </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" />
113
+ <mxCell id="edge-request-agent" value="asks" 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="architecture" source="arch-request" target="arch-agent">
114
+ <mxGeometry relative="1" as="geometry"/>
115
+ </mxCell>
116
+ <mxCell id="edge-agent-extension" value="uses" 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="architecture" source="arch-agent" target="arch-extension">
117
+ <mxGeometry relative="1" as="geometry"/>
118
+ </mxCell>
119
+ <mxCell id="edge-extension-output" value="creates" 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="architecture" source="arch-extension" target="arch-output">
120
+ <mxGeometry relative="1" as="geometry"/>
121
+ </mxCell>
122
+
123
+ <mxCell id="summary" value="3 WHY IT WORKS" style="swimlane;horizontal=1;startSize=60;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=19;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
124
+ <mxGeometry x="40" y="1390" width="1920" height="300" as="geometry"/>
125
+ </mxCell>
126
+ <mxCell id="cap-editable" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;EDITABLE FIRST&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Natural language → native .drawio&lt;br&gt;• Mermaid conversion or hand-authored XML&lt;br&gt;• 10k+ indexed official shapes" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=16;spacingLeft=18;spacingRight=16;fontSize=14;fontColor=#263746;fillColor=#F8FBFF;strokeColor=#9EB9D6;strokeWidth=2;" vertex="1" parent="summary">
127
+ <mxGeometry x="40" y="75" width="540" height="145" as="geometry"/>
128
+ </mxCell>
129
+ <mxCell id="cap-quality" value="&lt;b&gt;&lt;font color=&quot;#674274&quot;&gt;QUALITY BUILT IN&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Validate every source revision&lt;br&gt;• Critique four visual + semantic dimensions&lt;br&gt;• Bound autonomous refinement to five retries" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=16;spacingLeft=18;spacingRight=16;fontSize=14;fontColor=#263746;fillColor=#FCF9FD;strokeColor=#B69BC2;strokeWidth=2;" vertex="1" parent="summary">
130
+ <mxGeometry x="660" y="75" width="540" height="145" as="geometry"/>
131
+ </mxCell>
132
+ <mxCell id="cap-local" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;LOCAL DELIVERY&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;• Render and export on your machine&lt;br&gt;• Embed editable XML when supported&lt;br&gt;• Open in draw.io for fine-tuning" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=16;spacingLeft=18;spacingRight=16;fontSize=14;fontColor=#263746;fillColor=#F8FCF7;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="summary">
133
+ <mxGeometry x="1280" y="75" width="540" height="145" as="geometry"/>
134
+ </mxCell>
135
+ <mxCell id="legend" value="" style="rounded=1;arcSize=10;container=1;pointerEvents=0;html=1;fillColor=#F7F9FC;strokeColor=#C7D1DC;" vertex="1" parent="summary">
136
+ <mxGeometry x="40" y="235" width="1780" height="45" as="geometry"/>
137
+ </mxCell>
138
+ <mxCell id="legend-title" value="COLOR KEY" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#405466;" vertex="1" parent="legend">
139
+ <mxGeometry x="20" y="8" width="90" height="28" as="geometry"/>
140
+ </mxCell>
141
+ <mxCell id="legend-blue" value="" style="rounded=1;arcSize=6;html=1;fillColor=#D9EAF7;strokeColor=#6C8EBF;" vertex="1" parent="legend">
142
+ <mxGeometry x="130" y="14" width="18" height="18" as="geometry"/>
143
+ </mxCell>
144
+ <mxCell id="legend-blue-text" value="Prepare / deterministic core" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#405466;" vertex="1" parent="legend">
145
+ <mxGeometry x="155" y="8" width="250" height="28" as="geometry"/>
146
+ </mxCell>
147
+ <mxCell id="legend-purple" value="" style="rounded=1;arcSize=6;html=1;fillColor=#E1D5E7;strokeColor=#9673A6;" vertex="1" parent="legend">
148
+ <mxGeometry x="450" y="14" width="18" height="18" as="geometry"/>
149
+ </mxCell>
150
+ <mxCell id="legend-purple-text" value="Quality / review" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#405466;" vertex="1" parent="legend">
151
+ <mxGeometry x="475" y="8" width="190" height="28" as="geometry"/>
152
+ </mxCell>
153
+ <mxCell id="legend-green" value="" style="rounded=1;arcSize=6;html=1;fillColor=#D5E8D4;strokeColor=#82B366;" vertex="1" parent="legend">
154
+ <mxGeometry x="710" y="14" width="18" height="18" as="geometry"/>
155
+ </mxCell>
156
+ <mxCell id="legend-green-text" value="Confirm / delivery" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#405466;" vertex="1" parent="legend">
157
+ <mxGeometry x="735" y="8" width="190" height="28" as="geometry"/>
158
+ </mxCell>
159
+ <mxCell id="legend-orange" value="" style="rounded=1;arcSize=6;html=1;fillColor=#FFF4E6;strokeColor=#D79B00;" vertex="1" parent="legend">
160
+ <mxGeometry x="970" y="14" width="18" height="18" as="geometry"/>
161
+ </mxCell>
162
+ <mxCell id="legend-orange-text" value="draw.io + OS bridge" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#405466;" vertex="1" parent="legend">
163
+ <mxGeometry x="995" y="8" width="210" height="28" as="geometry"/>
114
164
  </mxCell>
115
165
  </root>
116
166
  </mxGraphModel>