@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.
- package/CHANGELOG.md +39 -2
- package/README.md +34 -23
- package/assets/references/troubleshooting.md +3 -3
- package/assets/references/xml-authoring.md +21 -1
- package/docs/{agent-guide.md → reference.md} +66 -140
- package/docs/visual-review-implementation-tasks.md +271 -0
- package/example/drawme-extension-waterfall-overview.drawio +72 -0
- package/example/drawme-how-it-works.drawio +127 -77
- package/example/drawme-installation-guide.drawio +98 -64
- package/package.json +1 -1
- package/src/drawio.ts +67 -15
- package/src/fitcanvas.ts +172 -0
- package/src/geometry.ts +259 -0
- package/src/index.ts +107 -15
- package/src/validate.ts +405 -223
- package/src/workflow.ts +86 -21
|
@@ -1,116 +1,166 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<mxfile host="drawio" version="
|
|
2
|
+
<mxfile host="drawio" version="31.1.5">
|
|
3
3
|
<diagram id="drawme-overview" name="How DrawMe Works">
|
|
4
|
-
<mxGraphModel dx="
|
|
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="
|
|
9
|
-
<mxGeometry x="40" y="
|
|
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="
|
|
12
|
-
<mxGeometry x="40" y="
|
|
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="
|
|
15
|
-
<mxGeometry x="1450" y="
|
|
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
|
-
|
|
18
|
-
|
|
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
|
-
|
|
21
|
-
|
|
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="
|
|
24
|
-
<mxGeometry x="
|
|
25
|
+
<mxCell id="step-check" value="<b><font color="#1F4E78">01 · CHECK</font></b><br>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="
|
|
27
|
-
<mxGeometry x="
|
|
28
|
+
<mxCell id="step-plan" value="<b><font color="#1F4E78">02 · PLAN</font></b><br>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="
|
|
30
|
-
<mxGeometry x="
|
|
31
|
+
<mxCell id="step-author" value="<b><font color="#1F4E78">03 · AUTHOR</font></b><br>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="
|
|
33
|
-
<mxGeometry
|
|
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="
|
|
36
|
-
<mxGeometry
|
|
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
|
-
|
|
39
|
-
|
|
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="
|
|
42
|
-
<mxGeometry x="
|
|
44
|
+
<mxCell id="step-validate" value="<b><font color="#674274">04 · VALIDATE</font></b><br>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="
|
|
45
|
-
<mxGeometry x="
|
|
47
|
+
<mxCell id="step-critique" value="<b><font color="#674274">05 · CRITIQUE</font></b><br>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="
|
|
48
|
-
<mxGeometry x="
|
|
50
|
+
<mxCell id="step-refine" value="<b><font color="#674274">06 · REFINE</font></b><br>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="
|
|
51
|
-
<mxGeometry
|
|
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="
|
|
54
|
-
<mxGeometry
|
|
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="
|
|
57
|
-
<mxGeometry
|
|
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
|
-
|
|
60
|
-
|
|
62
|
+
|
|
63
|
+
<mxCell id="phase-ship" value="CONFIRM &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="
|
|
63
|
-
<mxGeometry x="40" y="
|
|
66
|
+
<mxCell id="step-guardrail" value="<b><font color="#2D5E36">07 · GUARDRAIL</font></b><br>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="
|
|
66
|
-
<mxGeometry x="
|
|
69
|
+
<mxCell id="step-confirm" value="<b><font color="#2D5E36">08 · HOLISTIC CONFIRM</font></b><br>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="
|
|
69
|
-
<mxGeometry x="
|
|
72
|
+
<mxCell id="step-export" value="<b><font color="#2D5E36">09 · FINAL EXPORT</font></b><br>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="
|
|
72
|
-
<mxGeometry
|
|
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="
|
|
75
|
-
<mxGeometry
|
|
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
|
-
|
|
78
|
-
|
|
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="
|
|
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
|
-
|
|
84
|
-
|
|
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="
|
|
87
|
-
<mxGeometry
|
|
92
|
+
<mxCell id="arch-request" value="<font color="#6B7C8A"><b>REQUEST</b></font><br><b>Natural-language prompt</b><br>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="
|
|
90
|
-
<mxGeometry
|
|
95
|
+
<mxCell id="arch-agent" value="<font color="#6B7C8A"><b>ORCHESTRATOR</b></font><br><b>Pi AI agent</b><br>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="
|
|
93
|
-
<mxGeometry
|
|
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="
|
|
96
|
-
<mxGeometry
|
|
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="<font color="#1F4E78"><b>DETERMINISTIC CORE</b></font><br>validate · fit canvas<br>shape search · explain<br><font color="#6B7C8A">no renderer needed</font>" 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="
|
|
104
|
-
<mxGeometry
|
|
104
|
+
<mxCell id="arch-bridge" value="<font color="#9A5B13"><b>DRAW.IO + OS BRIDGE</b></font><br>check · Mermaid import · ELK layout<br>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="
|
|
107
|
-
<mxGeometry
|
|
107
|
+
<mxCell id="arch-output" value="<font color="#4E7048"><b>EDITABLE OUTPUTS</b></font><br><b>.drawio source</b><br>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="
|
|
110
|
-
<mxGeometry
|
|
110
|
+
<mxCell id="compatibility" value="<b>LOCAL-FIRST</b> • 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="
|
|
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="<b><font color="#1F4E78">EDITABLE FIRST</font></b><br><br>• Natural language → native .drawio<br>• Mermaid conversion or hand-authored XML<br>• 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="<b><font color="#674274">QUALITY BUILT IN</font></b><br><br>• Validate every source revision<br>• Critique four visual + semantic dimensions<br>• 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="<b><font color="#2D5E36">LOCAL DELIVERY</font></b><br><br>• Render and export on your machine<br>• Embed editable XML when supported<br>• 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>
|