@senad-d/drawme 0.1.6 → 0.1.8
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 +19 -0
- package/README.md +2 -2
- package/assets/references/xml-authoring.md +17 -2
- package/docs/reference.md +7 -3
- package/example/drawme-extension-waterfall-overview.drawio +32 -32
- package/example/drawme-how-it-works.drawio +16 -16
- package/example/drawme-installation-guide.drawio +13 -13
- package/example/drawme-validation-decision-tree.drawio +22 -21
- package/example/git-graph-example.drawio +77 -69
- package/package.json +2 -2
- package/src/geometry.ts +30 -14
- package/src/index.ts +2 -2
- package/src/validate.ts +293 -6
- package/src/workflow.ts +1 -0
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<mxCell id="revision" value="<b><font color="#1F4E78">SOURCE REVISION</font></b><br>Author · edit · Mermaid conversion · layout · canvas fit" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=16;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="1">
|
|
27
27
|
<mxGeometry x="680" y="225" width="580" height="96" as="geometry"/>
|
|
28
28
|
</mxCell>
|
|
29
|
-
<mxCell id="validate" value="<b>Run drawio_validate immediately</b><br>Check XML, IDs, endpoints, geometry, bounds, margins,<br>containment, overlaps, routes, and
|
|
29
|
+
<mxCell id="validate" value="<b>Run drawio_validate immediately</b><br>Check XML, IDs, endpoints, geometry, bounds, margins,<br>containment, overlaps, labels, routes, anchors, and readability" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=15;fontColor=#263746;fillColor=#EEF6FC;strokeColor=#1F4E78;strokeWidth=3;" vertex="1" parent="1">
|
|
30
30
|
<mxGeometry x="680" y="375" width="580" height="116" as="geometry"/>
|
|
31
31
|
</mxCell>
|
|
32
32
|
<mxCell id="errors" value="Any structural<br><b>errors</b>?" style="rhombus;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=17;fontColor=#8B2E2E;fillColor=#F8CECC;strokeColor=#B85450;strokeWidth=2;" vertex="1" parent="1">
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</mxCell>
|
|
47
47
|
|
|
48
48
|
<mxCell id="phase-rendered" value="2 RENDERED + SEMANTIC QUALITY GATE" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#674274;fillColor=#E1D5E7;strokeColor=#9673A6;strokeWidth=2;" vertex="1" parent="1">
|
|
49
|
-
<mxGeometry x="
|
|
49
|
+
<mxGeometry x="70" y="1140" width="470" height="42" as="geometry"/>
|
|
50
50
|
</mxCell>
|
|
51
51
|
<mxCell id="preview" value="<b>Export a focused PNG preview</b><br>One page at a time · width-capped for review · latest preview retained" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=16;fontColor=#263746;fillColor=#F7F0FA;strokeColor=#9673A6;strokeWidth=2.5;" vertex="1" parent="1">
|
|
52
52
|
<mxGeometry x="680" y="1215" width="580" height="100" as="geometry"/>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<mxCell id="phase-delivery" value="3 AUTONOMOUS DELIVERY" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
|
|
80
80
|
<mxGeometry x="800" y="2055" width="340" height="42" as="geometry"/>
|
|
81
81
|
</mxCell>
|
|
82
|
-
<mxCell id="final-export" value="<b><font color="#2D5E36">FINAL EXPORT — NO APPROVAL PAUSE</font></b><br>PNG by default · SVG / PDF / JPG on request ·
|
|
82
|
+
<mxCell id="final-export" value="<b><font color="#2D5E36">FINAL EXPORT — NO APPROVAL PAUSE</font></b><br>PNG by default · SVG / PDF / JPG on request · .drawio source retained<br>Editable XML embedded in PNG / SVG / PDF<br>Remove the latest preview and report outputs, accepted warnings,<br>unresolved findings, and cleanup warnings." style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=14;fontSize=16;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#4E8A45;strokeWidth=3;shadow=1;" vertex="1" parent="1">
|
|
83
83
|
<mxGeometry x="640" y="2135" width="660" height="150" as="geometry"/>
|
|
84
84
|
</mxCell>
|
|
85
85
|
|
|
@@ -88,16 +88,16 @@
|
|
|
88
88
|
</mxCell>
|
|
89
89
|
|
|
90
90
|
<mxCell id="edge-revision-validate" value="every source edit" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2.5;fontSize=12;fontColor=#405466;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="revision" target="validate">
|
|
91
|
-
<mxGeometry relative="1" as="geometry"
|
|
91
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="348"/></Array></mxGeometry>
|
|
92
92
|
</mxCell>
|
|
93
93
|
<mxCell id="edge-validate-errors" value="lint result" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2.5;fontSize=12;fontColor=#405466;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="validate" target="errors">
|
|
94
|
-
<mxGeometry relative="1" as="geometry"
|
|
94
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="521"/></Array></mxGeometry>
|
|
95
95
|
</mxCell>
|
|
96
96
|
<mxCell id="edge-errors-yes" value="YES" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#B85450;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#8B2E2E;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="errors" target="fix-errors">
|
|
97
|
-
<mxGeometry relative="1" as="geometry"
|
|
97
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1253" y="625"/><mxPoint x="1253" y="626"/></Array></mxGeometry>
|
|
98
98
|
</mxCell>
|
|
99
99
|
<mxCell id="edge-errors-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#2D5E36;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="errors" target="warnings">
|
|
100
|
-
<mxGeometry relative="1" as="geometry"
|
|
100
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="733"/></Array></mxGeometry>
|
|
101
101
|
</mxCell>
|
|
102
102
|
<mxCell id="edge-fix-errors-loop" value="edit" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#B85450;strokeWidth=2;dashed=1;dashPattern=8 4;fontSize=12;fontColor=#8B2E2E;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.5;entryX=0.25;entryY=1;" edge="1" parent="1" source="fix-errors" target="revalidate-junction">
|
|
103
103
|
<mxGeometry relative="1" as="geometry">
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
</mxGeometry>
|
|
109
109
|
</mxCell>
|
|
110
110
|
<mxCell id="edge-warnings-yes" value="YES" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#D79B00;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#9A5B13;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="warnings" target="resolve-warning">
|
|
111
|
-
<mxGeometry relative="1" as="geometry"
|
|
111
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1253" y="840"/></Array></mxGeometry>
|
|
112
112
|
</mxCell>
|
|
113
113
|
<mxCell id="edge-warnings-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#2D5E36;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="warnings" target="structural-pass">
|
|
114
|
-
<mxGeometry relative="1" as="geometry"
|
|
114
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="953"/></Array></mxGeometry>
|
|
115
115
|
</mxCell>
|
|
116
116
|
<mxCell id="edge-warning-fix-loop" value="FIXED · source changed" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#D79B00;strokeWidth=2;dashed=1;dashPattern=8 4;fontSize=12;fontColor=#9A5B13;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.35;entryX=0.5;entryY=1;" edge="1" parent="1" source="resolve-warning" target="revalidate-junction">
|
|
117
117
|
<mxGeometry relative="1" as="geometry">
|
|
@@ -130,16 +130,16 @@
|
|
|
130
130
|
</mxGeometry>
|
|
131
131
|
</mxCell>
|
|
132
132
|
<mxCell id="edge-pass-preview" value="safe to render" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2.5;fontSize=12;fontColor=#674274;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="structural-pass" target="preview">
|
|
133
|
-
<mxGeometry relative="1" as="geometry"
|
|
133
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="1149"/></Array></mxGeometry>
|
|
134
134
|
</mxCell>
|
|
135
135
|
<mxCell id="edge-preview-attached" value="tool reports attachment state" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2.5;fontSize=12;fontColor=#674274;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="preview" target="image-attached">
|
|
136
|
-
<mxGeometry relative="1" as="geometry"
|
|
136
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="1345"/></Array></mxGeometry>
|
|
137
137
|
</mxCell>
|
|
138
138
|
<mxCell id="edge-image-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#1F4E78;labelBackgroundColor=#F4F7FB;exitX=0;exitY=0.5;entryX=1;entryY=0.5;" edge="1" parent="1" source="image-attached" target="fallback-review">
|
|
139
|
-
<mxGeometry relative="1" as="geometry"
|
|
139
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="688" y="1450"/></Array></mxGeometry>
|
|
140
140
|
</mxCell>
|
|
141
141
|
<mxCell id="edge-image-yes" value="YES" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#674274;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="image-attached" target="visual-passes">
|
|
142
|
-
<mxGeometry relative="1" as="geometry"
|
|
142
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1253" y="1450"/></Array></mxGeometry>
|
|
143
143
|
</mxCell>
|
|
144
144
|
<mxCell id="edge-fallback-finding" value="structural / semantic result" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=12;fontColor=#1F4E78;labelBackgroundColor=#F4F7FB;exitX=1;exitY=1;entryX=0;entryY=0.5;" edge="1" parent="1" source="fallback-review" target="finding">
|
|
145
145
|
<mxGeometry relative="1" as="geometry">
|
|
@@ -158,21 +158,22 @@
|
|
|
158
158
|
</mxGeometry>
|
|
159
159
|
</mxCell>
|
|
160
160
|
<mxCell id="edge-finding-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#2D5E36;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="finding" target="quality-pass">
|
|
161
|
-
<mxGeometry relative="1" as="geometry"
|
|
161
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="1805"/></Array></mxGeometry>
|
|
162
162
|
</mxCell>
|
|
163
163
|
<mxCell id="edge-finding-yes" value="YES" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#D79B00;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#9A5B13;labelBackgroundColor=#F4F7FB;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="finding" target="retry-limit">
|
|
164
|
-
<mxGeometry relative="1" as="geometry"
|
|
164
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1298" y="1690"/></Array></mxGeometry>
|
|
165
165
|
</mxCell>
|
|
166
166
|
<mxCell id="edge-retry-yes" value="YES" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#674274;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#674274;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="retry-limit" target="correction-cycle">
|
|
167
|
-
<mxGeometry relative="1" as="geometry"
|
|
167
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1610" y="1800"/></Array></mxGeometry>
|
|
168
168
|
</mxCell>
|
|
169
|
-
<mxCell id="edge-retry-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#D79B00;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#9A5B13;labelBackgroundColor=#F4F7FB;exitX=
|
|
169
|
+
<mxCell id="edge-retry-no" value="NO" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#D79B00;strokeWidth=2.5;fontSize=13;fontStyle=1;fontColor=#9A5B13;labelBackgroundColor=#F4F7FB;exitX=0;exitY=1;entryX=0;entryY=0.5;" edge="1" parent="1" source="retry-limit" target="limit-reached">
|
|
170
170
|
<mxGeometry x="-0.9" y="0" relative="1" as="geometry">
|
|
171
171
|
<mxPoint x="8" y="-12" as="offset"/>
|
|
172
172
|
<Array as="points">
|
|
173
|
-
<mxPoint x="
|
|
174
|
-
<mxPoint x="
|
|
175
|
-
<mxPoint x="
|
|
173
|
+
<mxPoint x="1305" y="1765"/>
|
|
174
|
+
<mxPoint x="1305" y="2320"/>
|
|
175
|
+
<mxPoint x="50" y="2320"/>
|
|
176
|
+
<mxPoint x="50" y="1913"/>
|
|
176
177
|
</Array>
|
|
177
178
|
</mxGeometry>
|
|
178
179
|
</mxCell>
|
|
@@ -185,7 +186,7 @@
|
|
|
185
186
|
</mxGeometry>
|
|
186
187
|
</mxCell>
|
|
187
188
|
<mxCell id="edge-revalidate-revision" value="run drawio_validate" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#405E78;strokeWidth=2.5;fontSize=12;fontColor=#405466;labelBackgroundColor=#F4F7FB;exitX=0;exitY=0.5;entryX=1;entryY=0.5;" edge="1" parent="1" source="revalidate-junction" target="revision">
|
|
188
|
-
<mxGeometry relative="1" as="geometry"
|
|
189
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1545" y="245"/><mxPoint x="1545" y="273"/></Array></mxGeometry>
|
|
189
190
|
</mxCell>
|
|
190
191
|
<mxCell id="edge-quality-export" value="ship" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2.5;fontSize=12;fontColor=#2D5E36;labelBackgroundColor=#F4F7FB;exitX=0.5;exitY=1;entryX=0.7;entryY=0;" edge="1" parent="1" source="quality-pass" target="final-export">
|
|
191
192
|
<mxGeometry relative="1" as="geometry">
|
|
@@ -1,207 +1,215 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<mxfile host="drawio" version="26.0.9">
|
|
3
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="
|
|
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="1840" pageHeight="950" math="0" shadow="0" background="#FFFFFF">
|
|
5
5
|
<root>
|
|
6
|
-
<mxCell id="0"
|
|
7
|
-
<mxCell id="1" parent="0"
|
|
6
|
+
<mxCell id="0"/>
|
|
7
|
+
<mxCell id="1" parent="0"/>
|
|
8
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="
|
|
9
|
+
<mxGeometry x="40" y="40" width="900" height="50" as="geometry"/>
|
|
10
10
|
</mxCell>
|
|
11
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="
|
|
12
|
+
<mxGeometry x="40" y="90" width="1250" height="40" as="geometry"/>
|
|
13
13
|
</mxCell>
|
|
14
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="
|
|
15
|
+
<mxGeometry x="1450" y="55" width="350" height="50" as="geometry"/>
|
|
16
16
|
</mxCell>
|
|
17
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="
|
|
18
|
+
<mxGeometry x="40" y="150" width="1760" height="620" as="geometry"/>
|
|
19
19
|
</mxCell>
|
|
20
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"
|
|
21
|
+
<mxGeometry x="40" y="30" width="180" height="35" as="geometry"/>
|
|
22
22
|
</mxCell>
|
|
23
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"
|
|
24
|
+
<mxGeometry x="40" y="180" width="180" height="35" as="geometry"/>
|
|
25
25
|
</mxCell>
|
|
26
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"
|
|
27
|
+
<mxGeometry x="40" y="340" width="180" height="35" as="geometry"/>
|
|
28
28
|
</mxCell>
|
|
29
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"
|
|
30
|
+
<mxGeometry x="40" y="500" width="180" height="35" as="geometry"/>
|
|
31
31
|
</mxCell>
|
|
32
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"
|
|
33
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="330" y="230"/></Array></mxGeometry>
|
|
34
34
|
</mxCell>
|
|
35
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"
|
|
36
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="580" y="230"/></Array></mxGeometry>
|
|
37
37
|
</mxCell>
|
|
38
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"
|
|
39
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="900" y="230"/></Array></mxGeometry>
|
|
40
40
|
</mxCell>
|
|
41
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"
|
|
42
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1330" y="230"/></Array></mxGeometry>
|
|
43
43
|
</mxCell>
|
|
44
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"
|
|
45
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="520" y="310"/></Array></mxGeometry>
|
|
46
46
|
</mxCell>
|
|
47
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"
|
|
48
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="690" y="390"/></Array></mxGeometry>
|
|
49
49
|
</mxCell>
|
|
50
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"
|
|
51
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="970" y="390"/></Array></mxGeometry>
|
|
52
52
|
</mxCell>
|
|
53
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"
|
|
54
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1260" y="390"/></Array></mxGeometry>
|
|
55
55
|
</mxCell>
|
|
56
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"
|
|
57
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1470" y="310"/></Array></mxGeometry>
|
|
58
58
|
</mxCell>
|
|
59
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"
|
|
60
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="690" y="470"/></Array></mxGeometry>
|
|
61
61
|
</mxCell>
|
|
62
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"
|
|
63
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="860" y="550"/></Array></mxGeometry>
|
|
64
64
|
</mxCell>
|
|
65
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"
|
|
66
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1010" y="550"/></Array></mxGeometry>
|
|
67
67
|
</mxCell>
|
|
68
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"
|
|
69
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1120" y="470"/></Array></mxGeometry>
|
|
70
70
|
</mxCell>
|
|
71
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"
|
|
72
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="810" y="155"/></Array></mxGeometry>
|
|
73
73
|
</mxCell>
|
|
74
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"
|
|
75
|
+
<mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="990" y="155"/></Array></mxGeometry>
|
|
76
76
|
</mxCell>
|
|
77
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"
|
|
78
|
+
<mxGeometry x="207" y="217" width="26" height="26" as="geometry"/>
|
|
79
79
|
</mxCell>
|
|
80
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"
|
|
81
|
+
<mxGeometry x="427" y="217" width="26" height="26" as="geometry"/>
|
|
82
82
|
</mxCell>
|
|
83
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"
|
|
84
|
+
<mxGeometry x="707" y="217" width="26" height="26" as="geometry"/>
|
|
85
85
|
</mxCell>
|
|
86
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"
|
|
87
|
+
<mxGeometry x="1061" y="211" width="38" height="38" as="geometry"/>
|
|
88
88
|
</mxCell>
|
|
89
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="
|
|
90
|
+
<mxGeometry x="0.5" y="0.5" width="18" height="18" relative="1" as="geometry">
|
|
91
|
+
<mxPoint x="-9" y="-9" as="offset"/>
|
|
92
|
+
</mxGeometry>
|
|
91
93
|
</mxCell>
|
|
92
94
|
<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"
|
|
95
|
+
<mxGeometry x="1561" y="211" width="38" height="38" as="geometry"/>
|
|
94
96
|
</mxCell>
|
|
95
97
|
<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="
|
|
98
|
+
<mxGeometry x="0.5" y="0.5" width="18" height="18" relative="1" as="geometry">
|
|
99
|
+
<mxPoint x="-9" y="-9" as="offset"/>
|
|
100
|
+
</mxGeometry>
|
|
97
101
|
</mxCell>
|
|
98
102
|
<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"
|
|
103
|
+
<mxGeometry x="587" y="377" width="26" height="26" as="geometry"/>
|
|
100
104
|
</mxCell>
|
|
101
105
|
<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"
|
|
106
|
+
<mxGeometry x="767" y="377" width="26" height="26" as="geometry"/>
|
|
103
107
|
</mxCell>
|
|
104
108
|
<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"
|
|
109
|
+
<mxGeometry x="1141" y="371" width="38" height="38" as="geometry"/>
|
|
106
110
|
</mxCell>
|
|
107
111
|
<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="
|
|
112
|
+
<mxGeometry x="0.5" y="0.5" width="18" height="18" relative="1" as="geometry">
|
|
113
|
+
<mxPoint x="-9" y="-9" as="offset"/>
|
|
114
|
+
</mxGeometry>
|
|
109
115
|
</mxCell>
|
|
110
116
|
<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"
|
|
117
|
+
<mxGeometry x="1347" y="377" width="26" height="26" as="geometry"/>
|
|
112
118
|
</mxCell>
|
|
113
119
|
<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"
|
|
120
|
+
<mxGeometry x="767" y="537" width="26" height="26" as="geometry"/>
|
|
115
121
|
</mxCell>
|
|
116
122
|
<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"
|
|
123
|
+
<mxGeometry x="927" y="537" width="26" height="26" as="geometry"/>
|
|
118
124
|
</mxCell>
|
|
119
125
|
<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"
|
|
126
|
+
<mxGeometry x="1067" y="537" width="26" height="26" as="geometry"/>
|
|
121
127
|
</mxCell>
|
|
122
128
|
<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"
|
|
129
|
+
<mxGeometry x="887" y="67" width="26" height="26" as="geometry"/>
|
|
124
130
|
</mxCell>
|
|
125
131
|
<mxCell id="41" value="<b>a1b2c3</b><br>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"
|
|
132
|
+
<mxGeometry x="150" y="260" width="140" height="45" as="geometry"/>
|
|
127
133
|
</mxCell>
|
|
128
134
|
<mxCell id="42" value="<b>d4e5f6</b><br>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"
|
|
135
|
+
<mxGeometry x="370" y="155" width="140" height="45" as="geometry"/>
|
|
130
136
|
</mxCell>
|
|
131
137
|
<mxCell id="43" value="<b>71ac90</b><br>Plan cleanup" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
132
|
-
<mxGeometry x="650" y="
|
|
138
|
+
<mxGeometry x="650" y="260" width="140" height="45" as="geometry"/>
|
|
133
139
|
</mxCell>
|
|
134
140
|
<mxCell id="44" value="<b>b77c12</b><br>Merge examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
135
|
-
<mxGeometry x="1000" y="
|
|
141
|
+
<mxGeometry x="1000" y="260" width="160" height="45" as="geometry"/>
|
|
136
142
|
</mxCell>
|
|
137
143
|
<mxCell id="45" value="<b>c91e44</b><br>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"
|
|
144
|
+
<mxGeometry x="1500" y="150" width="160" height="45" as="geometry"/>
|
|
139
145
|
</mxCell>
|
|
140
146
|
<mxCell id="46" value="<b>18ad20</b><br>Refocus README" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
141
|
-
<mxGeometry x="
|
|
147
|
+
<mxGeometry x="430" y="420" width="140" height="45" as="geometry"/>
|
|
142
148
|
</mxCell>
|
|
143
149
|
<mxCell id="47" value="<b>42be11</b><br>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"
|
|
150
|
+
<mxGeometry x="710" y="420" width="140" height="45" as="geometry"/>
|
|
145
151
|
</mxCell>
|
|
146
152
|
<mxCell id="48" value="<b>9dd0a8</b><br>Merge references" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
147
|
-
<mxGeometry x="1080" y="
|
|
153
|
+
<mxGeometry x="1080" y="315" width="160" height="45" as="geometry"/>
|
|
148
154
|
</mxCell>
|
|
149
155
|
<mxCell id="49" value="<b>a30f14</b><br>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"
|
|
156
|
+
<mxGeometry x="1290" y="420" width="140" height="45" as="geometry"/>
|
|
151
157
|
</mxCell>
|
|
152
158
|
<mxCell id="50" value="<b>33fa80</b><br>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"
|
|
159
|
+
<mxGeometry x="710" y="570" width="140" height="45" as="geometry"/>
|
|
154
160
|
</mxCell>
|
|
155
161
|
<mxCell id="51" value="<b>6cb821</b><br>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"
|
|
162
|
+
<mxGeometry x="870" y="570" width="140" height="45" as="geometry"/>
|
|
157
163
|
</mxCell>
|
|
158
164
|
<mxCell id="52" value="<b>70ee91</b><br>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"
|
|
165
|
+
<mxGeometry x="1010" y="570" width="140" height="45" as="geometry"/>
|
|
160
166
|
</mxCell>
|
|
161
167
|
<mxCell id="53" value="<b>f00d42</b><br>Refresh examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
162
|
-
<mxGeometry x="830" y="
|
|
168
|
+
<mxGeometry x="830" y="10" width="140" height="45" as="geometry"/>
|
|
163
169
|
</mxCell>
|
|
164
170
|
<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"
|
|
171
|
+
<mxGeometry x="385" y="100" width="110" height="30" as="geometry"/>
|
|
166
172
|
</mxCell>
|
|
167
173
|
<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"
|
|
174
|
+
<mxGeometry x="1480" y="100" width="200" height="30" as="geometry"/>
|
|
169
175
|
</mxCell>
|
|
170
176
|
<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"
|
|
177
|
+
<mxGeometry x="1030" y="30" width="570" height="45" as="geometry"/>
|
|
172
178
|
</mxCell>
|
|
173
179
|
<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="
|
|
180
|
+
<mxGeometry x="40" y="800" width="1760" height="110" as="geometry"/>
|
|
175
181
|
</mxCell>
|
|
176
182
|
<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"
|
|
183
|
+
<mxGeometry x="80" y="50" width="180" height="35" as="geometry"/>
|
|
178
184
|
</mxCell>
|
|
179
185
|
<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"
|
|
186
|
+
<mxGeometry x="300" y="50" width="180" height="35" as="geometry"/>
|
|
181
187
|
</mxCell>
|
|
182
188
|
<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"
|
|
189
|
+
<mxGeometry x="520" y="50" width="180" height="35" as="geometry"/>
|
|
184
190
|
</mxCell>
|
|
185
191
|
<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"
|
|
192
|
+
<mxGeometry x="740" y="50" width="180" height="35" as="geometry"/>
|
|
187
193
|
</mxCell>
|
|
188
194
|
<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"
|
|
195
|
+
<mxGeometry x="1040" y="54" width="28" height="28" as="geometry"/>
|
|
190
196
|
</mxCell>
|
|
191
197
|
<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"
|
|
198
|
+
<mxGeometry x="1080" y="50" width="90" height="35" as="geometry"/>
|
|
193
199
|
</mxCell>
|
|
194
200
|
<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"
|
|
201
|
+
<mxGeometry x="1230" y="48" width="40" height="40" as="geometry"/>
|
|
196
202
|
</mxCell>
|
|
197
203
|
<mxCell id="65" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;" vertex="1" parent="64">
|
|
198
|
-
<mxGeometry x="
|
|
204
|
+
<mxGeometry x="0.5" y="0.5" width="20" height="20" relative="1" as="geometry">
|
|
205
|
+
<mxPoint x="-10" y="-10" as="offset"/>
|
|
206
|
+
</mxGeometry>
|
|
199
207
|
</mxCell>
|
|
200
208
|
<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"
|
|
209
|
+
<mxGeometry x="1285" y="50" width="130" height="35" as="geometry"/>
|
|
202
210
|
</mxCell>
|
|
203
211
|
<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"
|
|
212
|
+
<mxGeometry x="1440" y="45" width="260" height="45" as="geometry"/>
|
|
205
213
|
</mxCell>
|
|
206
214
|
</root>
|
|
207
215
|
</mxGraphModel>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@senad-d/drawme",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
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",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"typebox": "*"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
76
|
+
"@earendil-works/pi-coding-agent": "^0.84.4",
|
|
77
77
|
"@eslint/js": "^10.0.1",
|
|
78
78
|
"@types/node": "^26.1.2",
|
|
79
79
|
"@vitest/coverage-v8": "^4.1.10",
|
package/src/geometry.ts
CHANGED
|
@@ -72,12 +72,10 @@ export function styleNum(style: string | null, key: string): number | undefined
|
|
|
72
72
|
return undefined;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
/**
|
|
76
|
-
export function
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
let [x, y] = r;
|
|
80
|
-
const [, , w, h] = r;
|
|
75
|
+
/** Accumulated origin of a cell's ancestor containers — the offset from parent-relative to absolute coordinates. */
|
|
76
|
+
export function parentOrigin(cell: DomEl, byId: ById): Point {
|
|
77
|
+
let dx = 0;
|
|
78
|
+
let dy = 0;
|
|
81
79
|
let parent = attr(cell, "parent");
|
|
82
80
|
const seen = new Set<string>();
|
|
83
81
|
while (parent && byId.has(parent) && !seen.has(parent)) {
|
|
@@ -86,13 +84,21 @@ export function absRect(cell: DomEl, byId: ById): Rect | null {
|
|
|
86
84
|
if (p.getAttribute("vertex") === "1" && !geometryIsRelative(p)) {
|
|
87
85
|
const pr = rect(p);
|
|
88
86
|
if (pr && !hasInvalidNumber(pr)) {
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
dx += pr[0];
|
|
88
|
+
dy += pr[1];
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
91
|
parent = attr(p, "parent");
|
|
94
92
|
}
|
|
95
|
-
return [
|
|
93
|
+
return [dx, dy];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Absolute (x, y, w, h) of a non-relative vertex, summing parent-container offsets. */
|
|
97
|
+
export function absRect(cell: DomEl, byId: ById): Rect | null {
|
|
98
|
+
const r = rect(cell);
|
|
99
|
+
if (r === null || hasInvalidNumber(r)) return null;
|
|
100
|
+
const [ox, oy] = parentOrigin(cell, byId);
|
|
101
|
+
return [r[0] + ox, r[1] + oy, r[2], r[3]];
|
|
96
102
|
}
|
|
97
103
|
|
|
98
104
|
/** Absolute point where `edge` meets its source/target vertex (honours exit/entry). */
|
|
@@ -122,17 +128,19 @@ export function edgeWaypoints(edge: DomEl): Point[] {
|
|
|
122
128
|
return points;
|
|
123
129
|
}
|
|
124
130
|
|
|
125
|
-
/** Absolute polyline for a waypointed edge, or null when auto-routed / unresolved. */
|
|
131
|
+
/** Absolute polyline for a waypointed edge, or null when auto-routed / unresolved. Waypoints are stored relative to the edge's parent. */
|
|
126
132
|
export function edgeRoute(edge: DomEl, byId: ById): Point[] | null {
|
|
127
133
|
const waypoints = edgeWaypoints(edge);
|
|
128
134
|
if (waypoints.length === 0) return null;
|
|
129
135
|
const source = endpoint(edge, "source", byId);
|
|
130
136
|
const target = endpoint(edge, "target", byId);
|
|
131
137
|
if (source === null || target === null) return null;
|
|
132
|
-
|
|
138
|
+
const [ox, oy] = parentOrigin(edge, byId);
|
|
139
|
+
return [source, ...waypoints.map(([x, y]): Point => [x + ox, y + oy]), target];
|
|
133
140
|
}
|
|
134
141
|
|
|
135
|
-
|
|
142
|
+
/** Point at `fraction` (0..1) of the route's arc length. */
|
|
143
|
+
export function routePointAt(points: Point[], fraction: number): Point {
|
|
136
144
|
const lengths: number[] = [];
|
|
137
145
|
let total = 0;
|
|
138
146
|
for (let i = 0; i < points.length - 1; i++) {
|
|
@@ -140,7 +148,7 @@ export function routeMidpoint(points: Point[]): Point {
|
|
|
140
148
|
lengths.push(length);
|
|
141
149
|
total += length;
|
|
142
150
|
}
|
|
143
|
-
let remaining = total
|
|
151
|
+
let remaining = total * fraction;
|
|
144
152
|
for (let i = 0; i < lengths.length; i++) {
|
|
145
153
|
if (remaining <= lengths[i]) {
|
|
146
154
|
const fraction = lengths[i] === 0 ? 0 : remaining / lengths[i];
|
|
@@ -154,6 +162,10 @@ export function routeMidpoint(points: Point[]): Point {
|
|
|
154
162
|
return points.at(-1) ?? [0, 0];
|
|
155
163
|
}
|
|
156
164
|
|
|
165
|
+
export function routeMidpoint(points: Point[]): Point {
|
|
166
|
+
return routePointAt(points, 0.5);
|
|
167
|
+
}
|
|
168
|
+
|
|
157
169
|
/** Conservative box for a separately sized label on an explicitly routed edge. */
|
|
158
170
|
export function explicitEdgeLabelRect(cell: DomEl, byId: ById): Rect | null {
|
|
159
171
|
if (!isEdgeLabel(cell)) return null;
|
|
@@ -253,7 +265,11 @@ export function contentBounds(cells: DomEl[], ids: ById): ContentBounds | null {
|
|
|
253
265
|
if (!isVisible(cell, ids)) continue;
|
|
254
266
|
const box = contentRect(cell, ids);
|
|
255
267
|
if (box && !hasInvalidNumber(box)) bounds = addRectToBounds(bounds, box);
|
|
256
|
-
|
|
268
|
+
const waypoints = contentWaypoints(cell);
|
|
269
|
+
if (waypoints.length > 0) {
|
|
270
|
+
const [ox, oy] = parentOrigin(cell, ids);
|
|
271
|
+
for (const [x, y] of waypoints) bounds = addPointToBounds(bounds, [x + ox, y + oy]);
|
|
272
|
+
}
|
|
257
273
|
}
|
|
258
274
|
return bounds;
|
|
259
275
|
}
|
package/src/index.ts
CHANGED
|
@@ -146,7 +146,7 @@ export default function drawme(pi: ExtensionAPI): void {
|
|
|
146
146
|
name: "drawio_validate",
|
|
147
147
|
label: "draw.io: validate",
|
|
148
148
|
description:
|
|
149
|
-
"Structurally lint a .drawio file: errors for dangling endpoints, duplicate/reserved ids, broken parents, and missing/malformed vertex or edge geometry; actionable warnings for overlap, page/containment bounds, conservative readability defects,
|
|
149
|
+
"Structurally lint a .drawio file: errors for dangling endpoints, duplicate/reserved ids, broken parents, and missing/malformed vertex or edge geometry; actionable warnings for overlap, page/containment bounds, conservative readability defects, explicit routes through shapes or across edges, pinned anchors facing away from the next route direction, edge labels likely overlapping shapes, labels sitting on their own line, and auto-routed edges (no waypoints) whose routing cannot be checked. Auto-routed edges whose direct path pierces a shape are called out as preview-review observations. Give every edge facing-side anchors and explicit waypoints so deterministic route checks engage. Reports observations and a readability score. Deterministic and does not launch draw.io. Compressed pages cannot be linted and are reported as skipped. Fix boundary/margin/empty-space warnings (and make room for overlapping elements) by spreading elements and running drawio_fit_canvas — never by shrinking content. Run after every source edit and before exporting.",
|
|
150
150
|
promptSnippet: "Lint a .drawio after every source edit and before exporting.",
|
|
151
151
|
parameters: Type.Object({ input: Type.String({ description: "Path to the .drawio file" }) }),
|
|
152
152
|
async execute(_id, params) {
|
|
@@ -158,7 +158,7 @@ export default function drawme(pi: ExtensionAPI): void {
|
|
|
158
158
|
...(r.warnings.length > 0 ? r.warnings.map((warning) => `- ${warning}`) : ["- none"]),
|
|
159
159
|
`Informational observations (${r.observations.length}):`,
|
|
160
160
|
...(r.observations.length > 0 ? r.observations.map((observation) => `- ${observation}`) : ["- none"]),
|
|
161
|
-
`Readability score: ${r.score.total} (route-through=${r.score.through}, crossings=${r.score.crossings}, overlaps=${r.score.overlaps}; lower is better for variants of this graph)`,
|
|
161
|
+
`Readability score: ${r.score.total} (route-through=${r.score.through}, crossings=${r.score.crossings}, overlaps=${r.score.overlaps}, anchors=${r.score.anchors}; lower is better for variants of this graph)`,
|
|
162
162
|
`${r.errors.length} error(s), ${r.warnings.length} unresolved warning(s)`,
|
|
163
163
|
];
|
|
164
164
|
return textResult(lines.join("\n"), r);
|