@senad-d/drawme 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,118 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <mxfile host="drawio" version="26.0.9">
3
+ <diagram id="drawme-overview" name="How DrawMe Works">
4
+ <mxGraphModel dx="1800" dy="1300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="1360" math="0" shadow="0" background="#ffffff">
5
+ <root>
6
+ <mxCell id="0" />
7
+ <mxCell id="1" parent="0" />
8
+ <mxCell id="2" value="DrawMe: from a prompt to an editable diagram" style="text;html=1;align=left;verticalAlign=middle;fontSize=30;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
9
+ <mxGeometry x="40" y="20" width="1350" height="50" as="geometry" />
10
+ </mxCell>
11
+ <mxCell id="3" value="A Pi extension that coordinates authoring, validation, visual review, and editable draw.io exports" style="text;html=1;align=left;verticalAlign=middle;fontSize=16;fontColor=#4F6475;" vertex="1" parent="1">
12
+ <mxGeometry x="40" y="70" width="1350" height="40" as="geometry" />
13
+ </mxCell>
14
+ <mxCell id="4" value="GUIDED WORKFLOW • EDITABLE • MULTI-FORMAT" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
15
+ <mxGeometry x="1450" y="35" width="390" height="50" as="geometry" />
16
+ </mxCell>
17
+ <mxCell id="5" value="1 END-TO-END WORKFLOW" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
18
+ <mxGeometry x="40" y="130" width="1800" height="400" as="geometry" />
19
+ </mxCell>
20
+ <mxCell id="6" value="&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" />
22
+ </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>
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>
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>
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>
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>
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
+ </mxCell>
41
+ <mxCell id="13" value="2 ARCHITECTURE AND RESPONSIBILITIES" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
42
+ <mxGeometry x="40" y="560" width="1800" height="300" as="geometry" />
43
+ </mxCell>
44
+ <mxCell id="14" value="&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" />
46
+ </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" />
49
+ </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" />
52
+ </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" />
55
+ </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" />
58
+ </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" />
61
+ </mxCell>
62
+ <mxCell id="20" value="3 WHAT DRAWME IS CAPABLE OF" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
63
+ <mxGeometry x="40" y="890" width="1800" height="390" as="geometry" />
64
+ </mxCell>
65
+ <mxCell id="21" value="&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" />
67
+ </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" />
70
+ </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" />
73
+ </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" />
76
+ </mxCell>
77
+ <mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="6" target="7">
78
+ <mxGeometry relative="1" as="geometry" />
79
+ </mxCell>
80
+ <mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="7" target="8">
81
+ <mxGeometry relative="1" as="geometry" />
82
+ </mxCell>
83
+ <mxCell id="27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="8" target="9">
84
+ <mxGeometry relative="1" as="geometry" />
85
+ </mxCell>
86
+ <mxCell id="28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="9" target="10">
87
+ <mxGeometry relative="1" as="geometry" />
88
+ </mxCell>
89
+ <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="10" target="11">
90
+ <mxGeometry relative="1" as="geometry" />
91
+ </mxCell>
92
+ <mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="11" target="12">
93
+ <mxGeometry relative="1" as="geometry" />
94
+ </mxCell>
95
+ <mxCell id="31" value="issues or feedback → targeted edit" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=8 4;strokeColor=#6C8EBF;strokeWidth=2;fontSize=12;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.5;entryY=1;" edge="1" parent="1" source="11" target="8">
96
+ <mxGeometry relative="1" as="geometry">
97
+ <Array as="points">
98
+ <mxPoint x="1425" y="500" />
99
+ <mxPoint x="675" y="500" />
100
+ </Array>
101
+ </mxGeometry>
102
+ </mxCell>
103
+ <mxCell id="32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="14" target="15">
104
+ <mxGeometry relative="1" as="geometry" />
105
+ </mxCell>
106
+ <mxCell id="33" value="orchestrates" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="15" target="16">
107
+ <mxGeometry relative="1" as="geometry" />
108
+ </mxCell>
109
+ <mxCell id="34" value="invokes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="16" target="17">
110
+ <mxGeometry relative="1" as="geometry" />
111
+ </mxCell>
112
+ <mxCell id="35" value="writes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="17" target="18">
113
+ <mxGeometry relative="1" as="geometry" />
114
+ </mxCell>
115
+ </root>
116
+ </mxGraphModel>
117
+ </diagram>
118
+ </mxfile>
@@ -0,0 +1,101 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <mxfile host="drawio" version="26.0.9">
3
+ <diagram id="drawme-install" name="Install DrawMe">
4
+ <mxGraphModel dx="1800" dy="1300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="1360" math="0" shadow="0" background="#FFFFFF">
5
+ <root>
6
+ <mxCell id="0" />
7
+ <mxCell id="1" parent="0" />
8
+ <mxCell id="2" value="Install DrawMe for Pi" style="text;html=1;align=left;verticalAlign=middle;fontSize=32;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
9
+ <mxGeometry x="40" y="20" width="1000" height="50" as="geometry" />
10
+ </mxCell>
11
+ <mxCell id="3" value="From prerequisites to your first editable .drawio diagram" style="text;html=1;align=left;verticalAlign=middle;fontSize=17;fontColor=#4F6475;" vertex="1" parent="1">
12
+ <mxGeometry x="40" y="70" width="1100" height="40" as="geometry" />
13
+ </mxCell>
14
+ <mxCell id="4" value="QUICK SETUP • 3–5 MINUTES • EDITABLE OUTPUTS" 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="1370" y="35" width="470" height="50" as="geometry" />
16
+ </mxCell>
17
+ <mxCell id="5" value="1 CHECK THE PREREQUISITES" 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="230" as="geometry" />
19
+ </mxCell>
20
+ <mxCell id="6" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;PI CODING AGENT&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Pi must already be installed&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;pi --version&lt;/font&gt;" 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="40" y="75" width="500" height="120" as="geometry" />
22
+ </mxCell>
23
+ <mxCell id="7" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;NODE.JS 22.19+&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Required by DrawMe&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;node --version&lt;/font&gt;" 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="650" y="75" width="500" height="120" as="geometry" />
25
+ </mxCell>
26
+ <mxCell id="8" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;DRAW.IO DESKTOP&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;macOS: &lt;font face=&quot;Courier New&quot;&gt;brew install --cask drawio&lt;/font&gt;&lt;br&gt;Linux / Windows: install the official desktop release" 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="1260" y="75" width="500" height="120" as="geometry" />
28
+ </mxCell>
29
+ <mxCell id="9" value="↓" style="text;html=1;align=center;verticalAlign=middle;fontSize=24;fontStyle=1;fontColor=#1F4E78;" vertex="1" parent="1">
30
+ <mxGeometry x="880" y="360" width="120" height="30" as="geometry" />
31
+ </mxCell>
32
+ <mxCell id="10" value="2 INSTALL DRAWME — CHOOSE ONE SCOPE" 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">
33
+ <mxGeometry x="40" y="390" width="1800" height="360" as="geometry" />
34
+ </mxCell>
35
+ <mxCell id="11" value="Choose scope" style="rhombus;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=16;fontStyle=1;fontColor=#6B5500;fillColor=#FFF2CC;strokeColor=#D6B656;strokeWidth=2;" vertex="1" parent="10">
36
+ <mxGeometry x="760" y="60" width="280" height="90" as="geometry" />
37
+ </mxCell>
38
+ <mxCell id="12" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;GLOBAL · RECOMMENDED&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Available in every project&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;pi install npm:@senad-d/drawme&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#EAF2F8;strokeColor=#1F4E78;strokeWidth=3;shadow=1;" vertex="1" parent="10">
39
+ <mxGeometry x="70" y="180" width="500" height="115" as="geometry" />
40
+ </mxCell>
41
+ <mxCell id="13" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;PROJECT-LOCAL · TEAM&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Saved in .pi/settings.json&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;pi install npm:@senad-d/drawme -l&lt;/font&gt;" 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="10">
42
+ <mxGeometry x="650" y="180" width="500" height="115" as="geometry" />
43
+ </mxCell>
44
+ <mxCell id="14" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;ONE-TIME TRIAL&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Temporary for the current run&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;pi -e npm:@senad-d/drawme&lt;/font&gt;" 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="10">
45
+ <mxGeometry x="1230" y="180" width="500" height="115" as="geometry" />
46
+ </mxCell>
47
+ <mxCell id="15" value="Source checkout: &lt;font face=&quot;Courier New&quot;&gt;cd /path/to/DrawMe &amp;&amp; pi --no-extensions -e .&lt;/font&gt;" 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="10">
48
+ <mxGeometry x="300" y="310" width="1200" height="35" as="geometry" />
49
+ </mxCell>
50
+ <mxCell id="16" value="↓" style="text;html=1;align=center;verticalAlign=middle;fontSize=24;fontStyle=1;fontColor=#1F4E78;" vertex="1" parent="1">
51
+ <mxGeometry x="880" y="750" width="120" height="30" as="geometry" />
52
+ </mxCell>
53
+ <mxCell id="17" value="3 LOAD, VERIFY, AND CREATE YOUR FIRST DIAGRAM" 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">
54
+ <mxGeometry x="40" y="780" width="1800" height="300" as="geometry" />
55
+ </mxCell>
56
+ <mxCell id="18" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;LOAD&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Start or restart Pi&lt;br&gt;Already running? Use &lt;font face=&quot;Courier New&quot;&gt;/reload&lt;/font&gt;" 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="17">
57
+ <mxGeometry x="60" y="85" width="330" height="150" as="geometry" />
58
+ </mxCell>
59
+ <mxCell id="19" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;VERIFY&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;/drawme-check&lt;/font&gt;&lt;br&gt;Expect a CLI path and version" 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="17">
60
+ <mxGeometry x="500" y="85" width="330" height="150" as="geometry" />
61
+ </mxCell>
62
+ <mxCell id="20" value="&lt;b&gt;&lt;font color=&quot;#1F4E78&quot;&gt;CREATE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;/drawme Create a login flow&lt;/font&gt;&lt;br&gt;Describe any diagram in plain language" 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="17">
63
+ <mxGeometry x="940" y="85" width="330" height="150" as="geometry" />
64
+ </mxCell>
65
+ <mxCell id="21" value="&lt;b&gt;&lt;font color=&quot;#2D5E36&quot;&gt;DONE&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Receive an editable .drawio source&lt;br&gt;plus PNG by default" 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="17">
66
+ <mxGeometry x="1380" y="85" width="330" height="150" as="geometry" />
67
+ </mxCell>
68
+ <mxCell id="22" value="TROUBLESHOOTING, TRUST, AND VERSION NOTES" style="swimlane;horizontal=1;startSize=42;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=16;fontStyle=1;fontColor=#FFFFFF;fillColor=#405466;swimlaneFillColor=#F8FAFB;strokeColor=#7E8E9E;strokeWidth=2;" vertex="1" parent="1">
69
+ <mxGeometry x="40" y="1110" width="1800" height="180" as="geometry" />
70
+ </mxCell>
71
+ <mxCell id="23" value="&lt;b&gt;CLI NOT FOUND?&lt;/b&gt;&lt;br&gt;Install draw.io Desktop, keep its standard install path, then run &lt;font face=&quot;Courier New&quot;&gt;/drawme-check&lt;/font&gt; again. v30+ is needed only for Mermaid and ELK layout." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#AAB7C4;" vertex="1" parent="22">
72
+ <mxGeometry x="30" y="60" width="550" height="95" as="geometry" />
73
+ </mxCell>
74
+ <mxCell id="24" value="&lt;b&gt;EXTENSION NOT VISIBLE?&lt;/b&gt;&lt;br&gt;Run &lt;font face=&quot;Courier New&quot;&gt;pi list&lt;/font&gt;, check &lt;font face=&quot;Courier New&quot;&gt;pi config&lt;/font&gt;, and use &lt;font face=&quot;Courier New&quot;&gt;/reload&lt;/font&gt;. Project-local packages load only after the project is trusted." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#AAB7C4;" vertex="1" parent="22">
75
+ <mxGeometry x="625" y="60" width="550" height="95" as="geometry" />
76
+ </mxCell>
77
+ <mxCell id="25" value="&lt;b&gt;INSTALL TRUSTED CODE ONLY&lt;/b&gt;&lt;br&gt;Pi extensions inherit the Pi process permissions, so review sources before installation. DrawMe reads and writes requested diagram files and may launch draw.io or the OS file opener." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#2D5E36;fillColor=#F3F9F1;strokeColor=#82B366;" vertex="1" parent="22">
78
+ <mxGeometry x="1220" y="60" width="550" height="95" as="geometry" />
79
+ </mxCell>
80
+ <mxCell id="26" value="all projects" 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=0.25;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="12">
81
+ <mxGeometry relative="1" as="geometry" />
82
+ </mxCell>
83
+ <mxCell id="27" value="this project" 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=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="13">
84
+ <mxGeometry relative="1" as="geometry" />
85
+ </mxCell>
86
+ <mxCell id="28" value="current run" 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=0.75;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="14">
87
+ <mxGeometry relative="1" as="geometry" />
88
+ </mxCell>
89
+ <mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="18" target="19">
90
+ <mxGeometry relative="1" as="geometry" />
91
+ </mxCell>
92
+ <mxCell id="30" value="CLI detected" 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="19" target="20">
93
+ <mxGeometry relative="1" as="geometry" />
94
+ </mxCell>
95
+ <mxCell id="31" value="produces" 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="20" target="21">
96
+ <mxGeometry relative="1" as="geometry" />
97
+ </mxCell>
98
+ </root>
99
+ </mxGraphModel>
100
+ </diagram>
101
+ </mxfile>
@@ -0,0 +1,209 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <mxfile host="drawio" version="26.0.9">
3
+ <diagram id="git-graph-example" name="Git Graph">
4
+ <mxGraphModel dx="1800" dy="920" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="940" math="0" shadow="0" background="#FFFFFF">
5
+ <root>
6
+ <mxCell id="0" />
7
+ <mxCell id="1" parent="0" />
8
+ <mxCell id="2" value="Git Graph Example" style="text;html=1;align=left;verticalAlign=middle;fontSize=32;fontStyle=1;fontColor=#172B4D;" vertex="1" parent="1">
9
+ <mxGeometry x="40" y="20" width="900" height="50" as="geometry" />
10
+ </mxCell>
11
+ <mxCell id="3" value="A documentation refresh with focused edits, updated references, and regenerated examples" style="text;html=1;align=left;verticalAlign=middle;fontSize=17;fontColor=#536273;" vertex="1" parent="1">
12
+ <mxGeometry x="40" y="70" width="1250" height="40" as="geometry" />
13
+ </mxCell>
14
+ <mxCell id="4" value="TIME FLOWS LEFT → RIGHT" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#172B4D;fillColor=#F4F1EA;strokeColor=#A8B0BA;strokeWidth=2;" vertex="1" parent="1">
15
+ <mxGeometry x="1450" y="35" width="350" height="50" as="geometry" />
16
+ </mxCell>
17
+ <mxCell id="5" value="" style="rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fillColor=#FAFAFC;strokeColor=#C7CED6;strokeWidth=2;" vertex="1" parent="1">
18
+ <mxGeometry x="40" y="130" width="1760" height="620" as="geometry" />
19
+ </mxCell>
20
+ <mxCell id="6" value="examples/refresh" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#E74C3C;strokeColor=#B83227;strokeWidth=2;" vertex="1" parent="5">
21
+ <mxGeometry x="40" y="30" width="180" height="35" as="geometry" />
22
+ </mxCell>
23
+ <mxCell id="7" value="main" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#172B4D;strokeColor=#0D1A2E;strokeWidth=2;" vertex="1" parent="5">
24
+ <mxGeometry x="40" y="180" width="180" height="35" as="geometry" />
25
+ </mxCell>
26
+ <mxCell id="8" value="docs/cleanup" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#00A6A6;strokeColor=#007A7A;strokeWidth=2;" vertex="1" parent="5">
27
+ <mxGeometry x="40" y="340" width="180" height="35" as="geometry" />
28
+ </mxCell>
29
+ <mxCell id="9" value="references/tools" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#8E44AD;strokeColor=#663080;strokeWidth=2;" vertex="1" parent="5">
30
+ <mxGeometry x="40" y="500" width="180" height="35" as="geometry" />
31
+ </mxCell>
32
+ <mxCell id="10" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="25" target="26">
33
+ <mxGeometry relative="1" as="geometry" />
34
+ </mxCell>
35
+ <mxCell id="11" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="26" target="27">
36
+ <mxGeometry relative="1" as="geometry" />
37
+ </mxCell>
38
+ <mxCell id="12" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="27" target="28">
39
+ <mxGeometry relative="1" as="geometry" />
40
+ </mxCell>
41
+ <mxCell id="13" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="28" target="30">
42
+ <mxGeometry relative="1" as="geometry" />
43
+ </mxCell>
44
+ <mxCell id="14" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="26" target="32">
45
+ <mxGeometry relative="1" as="geometry" />
46
+ </mxCell>
47
+ <mxCell id="15" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="32" target="33">
48
+ <mxGeometry relative="1" as="geometry" />
49
+ </mxCell>
50
+ <mxCell id="16" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="33" target="34">
51
+ <mxGeometry relative="1" as="geometry" />
52
+ </mxCell>
53
+ <mxCell id="17" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="34" target="36">
54
+ <mxGeometry relative="1" as="geometry" />
55
+ </mxCell>
56
+ <mxCell id="18" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="36" target="30">
57
+ <mxGeometry relative="1" as="geometry" />
58
+ </mxCell>
59
+ <mxCell id="19" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="32" target="37">
60
+ <mxGeometry relative="1" as="geometry" />
61
+ </mxCell>
62
+ <mxCell id="20" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="37" target="38">
63
+ <mxGeometry relative="1" as="geometry" />
64
+ </mxCell>
65
+ <mxCell id="21" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="38" target="39">
66
+ <mxGeometry relative="1" as="geometry" />
67
+ </mxCell>
68
+ <mxCell id="22" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="39" target="34">
69
+ <mxGeometry relative="1" as="geometry" />
70
+ </mxCell>
71
+ <mxCell id="23" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#E74C3C;strokeWidth=8;" edge="1" parent="5" source="27" target="40">
72
+ <mxGeometry relative="1" as="geometry" />
73
+ </mxCell>
74
+ <mxCell id="24" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#E74C3C;strokeWidth=8;" edge="1" parent="5" source="40" target="28">
75
+ <mxGeometry relative="1" as="geometry" />
76
+ </mxCell>
77
+ <mxCell id="25" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
78
+ <mxGeometry x="207" y="217" width="26" height="26" as="geometry" />
79
+ </mxCell>
80
+ <mxCell id="26" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
81
+ <mxGeometry x="427" y="217" width="26" height="26" as="geometry" />
82
+ </mxCell>
83
+ <mxCell id="27" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
84
+ <mxGeometry x="707" y="217" width="26" height="26" as="geometry" />
85
+ </mxCell>
86
+ <mxCell id="28" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
87
+ <mxGeometry x="1061" y="211" width="38" height="38" as="geometry" />
88
+ </mxCell>
89
+ <mxCell id="29" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="28">
90
+ <mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
91
+ </mxCell>
92
+ <mxCell id="30" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
93
+ <mxGeometry x="1561" y="211" width="38" height="38" as="geometry" />
94
+ </mxCell>
95
+ <mxCell id="31" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="30">
96
+ <mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
97
+ </mxCell>
98
+ <mxCell id="32" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
99
+ <mxGeometry x="587" y="377" width="26" height="26" as="geometry" />
100
+ </mxCell>
101
+ <mxCell id="33" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
102
+ <mxGeometry x="767" y="377" width="26" height="26" as="geometry" />
103
+ </mxCell>
104
+ <mxCell id="34" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
105
+ <mxGeometry x="1141" y="371" width="38" height="38" as="geometry" />
106
+ </mxCell>
107
+ <mxCell id="35" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="34">
108
+ <mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
109
+ </mxCell>
110
+ <mxCell id="36" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
111
+ <mxGeometry x="1347" y="377" width="26" height="26" as="geometry" />
112
+ </mxCell>
113
+ <mxCell id="37" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
114
+ <mxGeometry x="767" y="537" width="26" height="26" as="geometry" />
115
+ </mxCell>
116
+ <mxCell id="38" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
117
+ <mxGeometry x="927" y="537" width="26" height="26" as="geometry" />
118
+ </mxCell>
119
+ <mxCell id="39" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
120
+ <mxGeometry x="1067" y="537" width="26" height="26" as="geometry" />
121
+ </mxCell>
122
+ <mxCell id="40" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#E74C3C;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
123
+ <mxGeometry x="887" y="67" width="26" height="26" as="geometry" />
124
+ </mxCell>
125
+ <mxCell id="41" value="&lt;b&gt;a1b2c3&lt;/b&gt;&lt;br&gt;Baseline docs" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
126
+ <mxGeometry x="150" y="260" width="140" height="45" as="geometry" />
127
+ </mxCell>
128
+ <mxCell id="42" value="&lt;b&gt;d4e5f6&lt;/b&gt;&lt;br&gt;Current v0.1.2" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
129
+ <mxGeometry x="370" y="155" width="140" height="45" as="geometry" />
130
+ </mxCell>
131
+ <mxCell id="43" value="&lt;b&gt;71ac90&lt;/b&gt;&lt;br&gt;Plan cleanup" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
132
+ <mxGeometry x="650" y="155" width="140" height="45" as="geometry" />
133
+ </mxCell>
134
+ <mxCell id="44" value="&lt;b&gt;b77c12&lt;/b&gt;&lt;br&gt;Merge examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
135
+ <mxGeometry x="1000" y="150" width="160" height="45" as="geometry" />
136
+ </mxCell>
137
+ <mxCell id="45" value="&lt;b&gt;c91e44&lt;/b&gt;&lt;br&gt;Validated docs" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
138
+ <mxGeometry x="1500" y="150" width="160" height="45" as="geometry" />
139
+ </mxCell>
140
+ <mxCell id="46" value="&lt;b&gt;18ad20&lt;/b&gt;&lt;br&gt;Refocus README" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
141
+ <mxGeometry x="530" y="420" width="140" height="45" as="geometry" />
142
+ </mxCell>
143
+ <mxCell id="47" value="&lt;b&gt;42be11&lt;/b&gt;&lt;br&gt;Update security" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
144
+ <mxGeometry x="710" y="420" width="140" height="45" as="geometry" />
145
+ </mxCell>
146
+ <mxCell id="48" value="&lt;b&gt;9dd0a8&lt;/b&gt;&lt;br&gt;Merge references" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
147
+ <mxGeometry x="1080" y="420" width="160" height="45" as="geometry" />
148
+ </mxCell>
149
+ <mxCell id="49" value="&lt;b&gt;a30f14&lt;/b&gt;&lt;br&gt;Align metadata" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
150
+ <mxGeometry x="1290" y="420" width="140" height="45" as="geometry" />
151
+ </mxCell>
152
+ <mxCell id="50" value="&lt;b&gt;33fa80&lt;/b&gt;&lt;br&gt;Remove old paths" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
153
+ <mxGeometry x="710" y="570" width="140" height="45" as="geometry" />
154
+ </mxCell>
155
+ <mxCell id="51" value="&lt;b&gt;6cb821&lt;/b&gt;&lt;br&gt;Use DrawMe tools" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
156
+ <mxGeometry x="870" y="570" width="140" height="45" as="geometry" />
157
+ </mxCell>
158
+ <mxCell id="52" value="&lt;b&gt;70ee91&lt;/b&gt;&lt;br&gt;Refresh references" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
159
+ <mxGeometry x="1010" y="570" width="140" height="45" as="geometry" />
160
+ </mxCell>
161
+ <mxCell id="53" value="&lt;b&gt;f00d42&lt;/b&gt;&lt;br&gt;Refresh examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
162
+ <mxGeometry x="830" y="100" width="140" height="45" as="geometry" />
163
+ </mxCell>
164
+ <mxCell id="54" value="baseline: v0.1.2" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=11;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;" vertex="1" parent="5">
165
+ <mxGeometry x="385" y="100" width="110" height="30" as="geometry" />
166
+ </mxCell>
167
+ <mxCell id="55" value="HEAD → main • docs ready" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=11;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;" vertex="1" parent="5">
168
+ <mxGeometry x="1480" y="100" width="200" height="30" as="geometry" />
169
+ </mxCell>
170
+ <mxCell id="56" value="Focused documentation branches reconnect at double-ring merge commits." style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontColor=#405466;fillColor=#FFFFFF;strokeColor=#C7CED6;dashed=1;" vertex="1" parent="5">
171
+ <mxGeometry x="1030" y="30" width="570" height="45" as="geometry" />
172
+ </mxCell>
173
+ <mxCell id="57" value="LEGEND" style="rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;verticalAlign=top;align=left;spacingTop=10;spacingLeft=15;fontSize=14;fontStyle=1;fontColor=#172B4D;fillColor=#F7F8FA;strokeColor=#C7CED6;strokeWidth=2;" vertex="1" parent="1">
174
+ <mxGeometry x="40" y="780" width="1760" height="110" as="geometry" />
175
+ </mxCell>
176
+ <mxCell id="58" value="main" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#172B4D;strokeColor=#0D1A2E;" vertex="1" parent="57">
177
+ <mxGeometry x="80" y="50" width="180" height="35" as="geometry" />
178
+ </mxCell>
179
+ <mxCell id="59" value="docs" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#00A6A6;strokeColor=#007A7A;" vertex="1" parent="57">
180
+ <mxGeometry x="300" y="50" width="180" height="35" as="geometry" />
181
+ </mxCell>
182
+ <mxCell id="60" value="references" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#8E44AD;strokeColor=#663080;" vertex="1" parent="57">
183
+ <mxGeometry x="520" y="50" width="180" height="35" as="geometry" />
184
+ </mxCell>
185
+ <mxCell id="61" value="examples" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#E74C3C;strokeColor=#B83227;" vertex="1" parent="57">
186
+ <mxGeometry x="740" y="50" width="180" height="35" as="geometry" />
187
+ </mxCell>
188
+ <mxCell id="62" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;" vertex="1" parent="57">
189
+ <mxGeometry x="1040" y="54" width="28" height="28" as="geometry" />
190
+ </mxCell>
191
+ <mxCell id="63" value="Commit" style="text;html=1;align=left;verticalAlign=middle;fontSize=13;fontColor=#263746;" vertex="1" parent="57">
192
+ <mxGeometry x="1080" y="50" width="90" height="35" as="geometry" />
193
+ </mxCell>
194
+ <mxCell id="64" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;" vertex="1" parent="57">
195
+ <mxGeometry x="1230" y="48" width="40" height="40" as="geometry" />
196
+ </mxCell>
197
+ <mxCell id="65" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;" vertex="1" parent="64">
198
+ <mxGeometry x="10" y="10" width="20" height="20" as="geometry" />
199
+ </mxCell>
200
+ <mxCell id="66" value="Merge commit" style="text;html=1;align=left;verticalAlign=middle;fontSize=13;fontColor=#263746;" vertex="1" parent="57">
201
+ <mxGeometry x="1285" y="50" width="130" height="35" as="geometry" />
202
+ </mxCell>
203
+ <mxCell id="67" value="Green pills mark the baseline and refreshed main branch." style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#667583;fontStyle=2;" vertex="1" parent="57">
204
+ <mxGeometry x="1440" y="45" width="260" height="45" as="geometry" />
205
+ </mxCell>
206
+ </root>
207
+ </mxGraphModel>
208
+ </diagram>
209
+ </mxfile>
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@senad-d/drawme",
3
- "version": "0.1.2",
4
- "description": "Pi extension: turn natural-language descriptions into .drawio diagrams and export to PNG/SVG/PDF/JPG via the draw.io desktop CLI. Local-only, no network.",
3
+ "version": "0.1.3",
4
+ "description": "Pi extension for authoring, validating, and exporting editable draw.io diagrams from natural-language descriptions.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
- "author": "Senad Dizdarević",
7
+ "author": "Senad Dizdarević <112484166+senad-d@users.noreply.github.com>",
8
8
  "homepage": "https://github.com/senad-d/DrawMe#readme",
9
9
  "repository": {
10
10
  "type": "git",
@@ -17,6 +17,11 @@
17
17
  "pi",
18
18
  "pi-package",
19
19
  "pi-extension",
20
+ "pi-coding-agent",
21
+ "cli",
22
+ "terminal",
23
+ "typescript",
24
+ "coding-agent",
20
25
  "drawio",
21
26
  "diagram",
22
27
  "flowchart",
@@ -27,7 +32,7 @@
27
32
  "visualization"
28
33
  ],
29
34
  "engines": {
30
- "node": ">=22.19"
35
+ "node": ">=22.19.0"
31
36
  },
32
37
  "pi": {
33
38
  "extensions": [
@@ -36,9 +41,15 @@
36
41
  "image": "https://raw.githubusercontent.com/senad-d/DrawMe/main/example/drawme-how-it-works.drawio.png"
37
42
  },
38
43
  "files": [
39
- "src",
40
- "assets",
41
- "docs"
44
+ "README.md",
45
+ "LICENSE",
46
+ "SECURITY.md",
47
+ "CHANGELOG.md",
48
+ "docs/**/*.md",
49
+ "assets/**/*",
50
+ "example/**/*.drawio",
51
+ "src/**/*.ts",
52
+ "tsconfig.json"
42
53
  ],
43
54
  "scripts": {
44
55
  "typecheck": "tsc --noEmit",
@@ -46,10 +57,12 @@
46
57
  "format:check": "node scripts/format-check.mjs",
47
58
  "lint": "npm run typecheck && npm run lint:eslint && npm run format:check",
48
59
  "check:golden": "node scripts/check-golden.mjs",
60
+ "pack:dry-run": "npm pack --dry-run --json --ignore-scripts",
61
+ "check:pack": "node scripts/check-package-contents.mjs",
49
62
  "test": "vitest run",
50
63
  "coverage": "vitest run --coverage",
51
64
  "test:coverage": "npm run coverage",
52
- "validate": "npm run check:golden && npm run lint && npm test",
65
+ "validate": "npm run check:golden && npm run lint && npm test && npm run check:pack",
53
66
  "dev": "pi --no-extensions -e ."
54
67
  },
55
68
  "dependencies": {
@@ -60,7 +73,7 @@
60
73
  "typebox": "*"
61
74
  },
62
75
  "devDependencies": {
63
- "@earendil-works/pi-coding-agent": "^0.79.0",
76
+ "@earendil-works/pi-coding-agent": "^0.75.3",
64
77
  "@eslint/js": "^10.0.1",
65
78
  "@types/node": "^26.1.2",
66
79
  "@vitest/coverage-v8": "^4.1.10",
package/src/dom.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Minimal shared helpers over `@xmldom/xmldom` nodes. Typed structurally so the
3
- * `.drawio` ports (validate, explain) read like the ElementTree originals without
4
- * fighting xmldom's exported types. Local-only, no network.
3
+ * validation and explanation code reads cleanly without fighting xmldom's
4
+ * exported types.
5
5
  */
6
6
  export const ELEMENT_NODE = 1;
7
7
  export const TEXT_NODE = 3;