Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
docs: drop C4 + Terraform demo figures from READMEs (#66)
Agents365.ai4cb39bbeab09
diff --git a/README.md b/README.mdindex d7a99d9..33c2be4 100644--- a/README.md+++ b/README.md@@ -164,30 +164,7 @@ python3 scripts/composeimports.py compose.yml -o graph.json # services + named vpython3 scripts/sqlerd.py schema.sql -o graph.json # SQL DDL → ER diagrampython3 scripts/seqlayout.py seq.json -o sequence.drawio # sequence diagram, direct to .drawiopython3 scripts/c4.py c4.json -o c4.drawio # C4 model, multi-page + drill-down-```-<table>- <tr>- <td align="center" width="50%">- <img src="assets/demo-c4-context.png" alt="C4 System Context" width="100%"><br>- <b>C4 Level 1</b> · System Context<br>- <sub>Clicking the blue system box in draw.io drills down to…</sub>- </td>- <td align="center" width="50%">- <img src="assets/demo-c4-containers.png" alt="C4 Containers" width="100%"><br>- <b>C4 Level 2</b> · Containers<br>- <sub>…the Containers page — one <a href="assets/demo-c4-input.json">JSON</a>, one multi-page <a href="assets/demo-c4.drawio">.drawio</a>.</sub>- </td>- </tr>-</table>--<p align="center">- <img src="assets/demo-terraform.png" width="820" alt="Serverless architecture diagram generated from Terraform — every resource rendered as its official AWS icon">-</p>--<sub>↑ A serverless stack straight from <a href="assets/demo-terraform-input.tf"><code>main.tf</code></a> — API Gateway, Lambdas, DynamoDB, SQS, S3, CloudFront and IAM all resolved to their official AWS icons, edges from real resource references. <a href="assets/demo-k8s.png">K8s manifests work the same way →</a></sub>--```bash# any extractor → auto-layout → editable .drawiopython3 scripts/autolayout.py graph.json -o diagram.drawio```diff --git a/README_CN.md b/README_CN.mdindex 250f532..a8b808a 100644--- a/README_CN.md+++ b/README_CN.md@@ -162,30 +162,7 @@ python3 scripts/composeimports.py compose.yml -o graph.json # 服务 + 命名卷python3 scripts/sqlerd.py schema.sql -o graph.json # SQL DDL → ER 图python3 scripts/seqlayout.py seq.json -o sequence.drawio # 时序图,直接生成 .drawiopython3 scripts/c4.py c4.json -o c4.drawio # C4 模型,多页 + 下钻-```-<table>- <tr>- <td align="center" width="50%">- <img src="assets/demo-c4-context.png" alt="C4 系统上下文" width="100%"><br>- <b>C4 第 1 层</b> · System Context<br>- <sub>在 draw.io 里点击蓝色系统框即可下钻到……</sub>- </td>- <td align="center" width="50%">- <img src="assets/demo-c4-containers.png" alt="C4 容器层" width="100%"><br>- <b>C4 第 2 层</b> · Containers<br>- <sub>……容器层页面 —— 一份 <a href="assets/demo-c4-input.json">JSON</a>,一个多页 <a href="assets/demo-c4.drawio">.drawio</a>。</sub>- </td>- </tr>-</table>--<p align="center">- <img src="assets/demo-terraform.png" width="820" alt="由 Terraform 直接生成的 serverless 架构图 —— 每个资源渲染为官方 AWS 图标">-</p>--<sub>↑ 直接从 <a href="assets/demo-terraform-input.tf"><code>main.tf</code></a> 生成的 serverless 架构 —— API Gateway、Lambda、DynamoDB、SQS、S3、CloudFront、IAM 全部解析为官方 AWS 图标,连线来自真实资源引用。<a href="assets/demo-k8s.png">K8s manifest 同理 →</a></sub>--```bash# 任一提取器 → 自动布局 → 可编辑的 .drawiopython3 scripts/autolayout.py graph.json -o diagram.drawio```diff --git a/assets/demo-c4-containers.png b/assets/demo-c4-containers.pngdeleted file mode 100644index 260a116..0000000Binary files a/assets/demo-c4-containers.png and /dev/null differdiff --git a/assets/demo-c4-context.png b/assets/demo-c4-context.pngdeleted file mode 100644index e07687d..0000000Binary files a/assets/demo-c4-context.png and /dev/null differdiff --git a/assets/demo-c4-input.json b/assets/demo-c4-input.jsondeleted file mode 100644index 577f9af..0000000--- a/assets/demo-c4-input.json+++ /dev/null@@ -1,45 +0,0 @@-{- "title": "Internet Banking",- "levels": [- {- "name": "System Context",- "elements": [- {"id": "customer", "type": "person", "label": "Personal Customer", "desc": "A customer of the bank"},- {"id": "ibs", "type": "system", "label": "Internet Banking System", "desc": "Lets customers view accounts and make payments", "children": "Containers"},- {"id": "mainframe", "type": "external", "label": "Mainframe Banking", "desc": "Stores core banking data"},- {"id": "email", "type": "external", "label": "E-mail System", "desc": "Microsoft Exchange"}- ],- "relations": [- {"from": "customer", "to": "ibs", "label": "Views accounts via"},- {"from": "ibs", "to": "mainframe", "label": "Gets data from"},- {"from": "ibs", "to": "email", "label": "Sends e-mail via"}- ]- },- {- "name": "Containers",- "elements": [- {"id": "spa", "type": "container", "label": "Single-Page App", "tech": "React", "desc": "Banking UI in the browser"},- {"id": "mobile", "type": "container", "label": "Mobile App", "tech": "Flutter", "desc": "iOS / Android client"},- {"id": "api", "type": "container", "label": "API Application", "tech": "Java / Spring MVC", "desc": "Business logic via JSON/HTTPS API", "children": "Components"},- {"id": "db", "type": "database", "label": "Database", "tech": "PostgreSQL", "desc": "Accounts, transactions"}- ],- "relations": [- {"from": "spa", "to": "api", "label": "JSON/HTTPS"},- {"from": "mobile", "to": "api", "label": "JSON/HTTPS"},- {"from": "api", "to": "db", "label": "JDBC"}- ]- },- {- "name": "Components",- "elements": [- {"id": "signin", "type": "component", "label": "Sign-In Controller", "tech": "Spring MVC", "desc": "Auth endpoints"},- {"id": "accounts", "type": "component", "label": "Accounts Controller", "tech": "Spring MVC", "desc": "Account summary endpoints"},- {"id": "security", "type": "component", "label": "Security Component", "tech": "Spring Bean", "desc": "Credentials check"}- ],- "relations": [- {"from": "signin", "to": "security", "label": "Uses"},- {"from": "accounts", "to": "security", "label": "Uses"}- ]- }- ]-}diff --git a/assets/demo-c4.drawio b/assets/demo-c4.drawiodeleted file mode 100644index 7144593..0000000--- a/assets/demo-c4.drawio+++ /dev/null@@ -1,87 +0,0 @@-<mxfile>- <diagram id="system-context" name="System Context">- <mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">- <root>- <mxCell id="0"/>- <mxCell id="1" parent="0"/>- <mxCell id="customer" value="Personal Customer
[Person]
A customer of the bank" style="shape=mxgraph.c4.person2;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#083F75;strokeColor=#06315C;" vertex="1" parent="1">- <mxGeometry x="160" y="0" width="200" height="180" as="geometry"/>- </mxCell>- <UserObject label="Internet Banking System
[Software System]
Lets customers view accounts and make payments" link="data:page/id,containers" id="ibs">- <mxCell style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#1061B0;strokeColor=#0D5091;" vertex="1" parent="1">- <mxGeometry x="140" y="250" width="240" height="120" as="geometry"/>- </mxCell>- </UserObject>- <mxCell id="mainframe" value="Mainframe Banking
[Software System]
Stores core banking data" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#8C8496;strokeColor=#736782;" vertex="1" parent="1">- <mxGeometry x="0" y="430" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="email" value="E-mail System
[Software System]
Microsoft Exchange" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#8C8496;strokeColor=#736782;" vertex="1" parent="1">- <mxGeometry x="280" y="430" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="e0" value="Views accounts via" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="customer" target="ibs">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="260" y="180"/><mxPoint x="260" y="230"/></Array></mxGeometry>- </mxCell>- <mxCell id="e1" value="Gets data from" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="ibs" target="mainframe">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="190" y="370"/><mxPoint x="190" y="420"/></Array></mxGeometry>- </mxCell>- <mxCell id="e2" value="Sends e-mail via" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="ibs" target="email">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="330" y="370"/><mxPoint x="330" y="420"/></Array></mxGeometry>- </mxCell>- </root>- </mxGraphModel>- </diagram>- <diagram id="containers" name="Containers">- <mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">- <root>- <mxCell id="0"/>- <mxCell id="1" parent="0"/>- <mxCell id="spa" value="Single-Page App
[Container: React]
Banking UI in the browser" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#23A2D9;strokeColor=#0E7DAD;" vertex="1" parent="1">- <mxGeometry x="0" y="0" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="mobile" value="Mobile App
[Container: Flutter]
iOS / Android client" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#23A2D9;strokeColor=#0E7DAD;" vertex="1" parent="1">- <mxGeometry x="280" y="0" width="240" height="120" as="geometry"/>- </mxCell>- <UserObject label="API Application
[Container: Java / Spring MVC]
Business logic via JSON/HTTPS API" link="data:page/id,components" id="api">- <mxCell style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#23A2D9;strokeColor=#0E7DAD;" vertex="1" parent="1">- <mxGeometry x="140" y="190" width="240" height="120" as="geometry"/>- </mxCell>- </UserObject>- <mxCell id="db" value="Database
[Container: PostgreSQL]
Accounts, transactions" style="shape=cylinder3;size=15;boundedLbl=1;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#23A2D9;strokeColor=#0E7DAD;" vertex="1" parent="1">- <mxGeometry x="140" y="370" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="e0" value="JSON/HTTPS" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="spa" target="api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="190" y="120"/><mxPoint x="190" y="170"/></Array></mxGeometry>- </mxCell>- <mxCell id="e1" value="JSON/HTTPS" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="mobile" target="api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="330" y="120"/><mxPoint x="330" y="170"/></Array></mxGeometry>- </mxCell>- <mxCell id="e2" value="JDBC" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="api" target="db">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="260" y="310"/><mxPoint x="260" y="360"/></Array></mxGeometry>- </mxCell>- </root>- </mxGraphModel>- </diagram>- <diagram id="components" name="Components">- <mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">- <root>- <mxCell id="0"/>- <mxCell id="1" parent="0"/>- <mxCell id="signin" value="Sign-In Controller
[Component: Spring MVC]
Auth endpoints" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#63BEF2;strokeColor=#2086C9;" vertex="1" parent="1">- <mxGeometry x="0" y="0" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="accounts" value="Accounts Controller
[Component: Spring MVC]
Account summary endpoints" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#63BEF2;strokeColor=#2086C9;" vertex="1" parent="1">- <mxGeometry x="280" y="0" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="security" value="Security Component
[Component: Spring Bean]
Credentials check" style="rounded=1;arcSize=10;html=1;whiteSpace=wrap;fontSize=12;fontColor=#ffffff;align=center;fillColor=#63BEF2;strokeColor=#2086C9;" vertex="1" parent="1">- <mxGeometry x="140" y="190" width="240" height="120" as="geometry"/>- </mxCell>- <mxCell id="e0" value="Uses" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="signin" target="security">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="190" y="120"/><mxPoint x="190" y="170"/></Array></mxGeometry>- </mxCell>- <mxCell id="e1" value="Uses" style="endArrow=blockThin;endFill=1;endSize=10;html=1;fontSize=11;fontColor=#404040;strokeColor=#828282;labelBackgroundColor=#ffffff;rounded=0;" edge="1" parent="1" source="accounts" target="security">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="330" y="120"/><mxPoint x="330" y="170"/></Array></mxGeometry>- </mxCell>- </root>- </mxGraphModel>- </diagram>-</mxfile>diff --git a/assets/demo-k8s.drawio b/assets/demo-k8s.drawiodeleted file mode 100644index 7ada15d..0000000--- a/assets/demo-k8s.drawio+++ /dev/null@@ -1,73 +0,0 @@-<mxfile>- <diagram id="autolayout" name="Page-1">- <mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">- <root>- <mxCell id="0"/>- <mxCell id="1" parent="0"/>- <mxCell id="group_0" value="shop" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#6c8ebf;fontColor=#6c8ebf;verticalAlign=top;fontStyle=2;dashed=1;" vertex="1" parent="1">- <mxGeometry x="6" y="6" width="378" height="396" as="geometry"/>- </mxCell>- <mxCell id="shop/Ingress/web" value="web" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=ing" vertex="1" parent="group_0">- <mxGeometry x="164" y="24" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Service/web" value="web" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=svc" vertex="1" parent="group_0">- <mxGeometry x="114" y="124" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Service/api" value="api" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=svc" vertex="1" parent="group_0">- <mxGeometry x="214" y="124" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Deployment/web" value="web" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=deploy" vertex="1" parent="group_0">- <mxGeometry x="114" y="224" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Deployment/api" value="api" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=deploy" vertex="1" parent="group_0">- <mxGeometry x="254" y="224" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/StatefulSet/postgres" value="postgres" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=sts" vertex="1" parent="group_0">- <mxGeometry x="24" y="124" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Service/postgres" value="postgres" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=svc" vertex="1" parent="group_0">- <mxGeometry x="24" y="24" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/ConfigMap/web-config" value="web-config" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=cm" vertex="1" parent="group_0">- <mxGeometry x="114" y="324" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/Secret/db-creds" value="db-creds" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=secret" vertex="1" parent="group_0">- <mxGeometry x="254" y="324" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/PersistentVolumeClaim/pg-data" value="pg-data" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=pvc" vertex="1" parent="group_0">- <mxGeometry x="24" y="224" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="shop/HorizontalPodAutoscaler/api" value="api" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=hpa" vertex="1" parent="group_0">- <mxGeometry x="304" y="124" width="50" height="48" as="geometry"/>- </mxCell>- <mxCell id="e0" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Deployment/api" target="shop/Secret/db-creds">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="290" y="280"/><mxPoint x="290" y="310"/></Array></mxGeometry>- </mxCell>- <mxCell id="e1" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Deployment/web" target="shop/ConfigMap/web-config">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="150" y="280"/><mxPoint x="150" y="310"/></Array></mxGeometry>- </mxCell>- <mxCell id="e2" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/HorizontalPodAutoscaler/api" target="shop/Deployment/api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="300" y="150"/><mxPoint x="300" y="150"/><mxPoint x="300" y="150"/><mxPoint x="300" y="150"/><mxPoint x="300" y="220"/></Array></mxGeometry>- </mxCell>- <mxCell id="e3" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Ingress/web" target="shop/Service/api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="200" y="110"/><mxPoint x="200" y="160"/><mxPoint x="200" y="160"/><mxPoint x="200" y="160"/><mxPoint x="210" y="160"/></Array></mxGeometry>- </mxCell>- <mxCell id="e4" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Ingress/web" target="shop/Service/web">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="190" y="110"/><mxPoint x="190" y="150"/><mxPoint x="190" y="150"/><mxPoint x="190" y="150"/><mxPoint x="190" y="150"/></Array></mxGeometry>- </mxCell>- <mxCell id="e5" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Service/api" target="shop/Deployment/api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="280" y="160"/><mxPoint x="280" y="160"/><mxPoint x="280" y="160"/><mxPoint x="280" y="160"/><mxPoint x="280" y="220"/></Array></mxGeometry>- </mxCell>- <mxCell id="e6" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Service/postgres" target="shop/StatefulSet/postgres">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="60" y="80"/><mxPoint x="60" y="120"/></Array></mxGeometry>- </mxCell>- <mxCell id="e7" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/Service/web" target="shop/Deployment/web">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="150" y="180"/><mxPoint x="150" y="220"/></Array></mxGeometry>- </mxCell>- <mxCell id="e8" value="" style="html=1;rounded=0;" edge="1" parent="1" source="shop/StatefulSet/postgres" target="shop/PersistentVolumeClaim/pg-data">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="60" y="180"/><mxPoint x="60" y="220"/></Array></mxGeometry>- </mxCell>- </root>- </mxGraphModel>- </diagram>-</mxfile>diff --git a/assets/demo-k8s.png b/assets/demo-k8s.pngdeleted file mode 100644index e20ae19..0000000Binary files a/assets/demo-k8s.png and /dev/null differdiff --git a/assets/demo-terraform-input.tf b/assets/demo-terraform-input.tfdeleted file mode 100644index fa92fbd..0000000--- a/assets/demo-terraform-input.tf+++ /dev/null@@ -1,57 +0,0 @@-resource "aws_api_gateway_rest_api" "api" {- name = "orders-api"-}--resource "aws_lambda_function" "orders" {- function_name = "orders-handler"- role = aws_iam_role.lambda.arn- environment {- variables = {- TABLE = aws_dynamodb_table.orders.name- QUEUE = aws_sqs_queue.jobs.url # async work- BUCKET = aws_s3_bucket.uploads.id- }- }-}--resource "aws_lambda_function" "worker" {- function_name = "jobs-worker"- role = aws_iam_role.lambda.arn- environment {- variables = {- TABLE = aws_dynamodb_table.orders.name- }- }-}--resource "aws_lambda_event_source_mapping" "worker_trigger" {- event_source_arn = aws_sqs_queue.jobs.arn- function_name = aws_lambda_function.worker.arn-}--resource "aws_iam_role" "lambda" {- name = "lambda-exec"-}--resource "aws_dynamodb_table" "orders" {- name = "orders"-}--resource "aws_sqs_queue" "jobs" {- name = "jobs"-}--resource "aws_s3_bucket" "uploads" {- bucket = "orders-uploads"-}--resource "aws_cloudfront_distribution" "cdn" {- origin {- domain_name = aws_s3_bucket.uploads.bucket_regional_domain_name- }-}--resource "aws_api_gateway_integration" "lambda_proxy" {- rest_api_id = aws_api_gateway_rest_api.api.id- uri = aws_lambda_function.orders.invoke_arn-}diff --git a/assets/demo-terraform.drawio b/assets/demo-terraform.drawiodeleted file mode 100644index a383ada..0000000--- a/assets/demo-terraform.drawio+++ /dev/null@@ -1,73 +0,0 @@-<mxfile>- <diagram id="autolayout" name="Page-1">- <mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">- <root>- <mxCell id="0"/>- <mxCell id="1" parent="0"/>- <mxCell id="aws_api_gateway_rest_api.api" value="api" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1">- <mxGeometry x="0" y="160" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_lambda_function.orders" value="orders" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1">- <mxGeometry x="240" y="160" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_lambda_function.worker" value="worker" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1">- <mxGeometry x="120" y="160" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_lambda_event_source_mapping.worker_trigger" value="worker_trigger" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1">- <mxGeometry x="240" y="0" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_iam_role.lambda" value="lambda" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#DD344C;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.role;" vertex="1" parent="1">- <mxGeometry x="240" y="330" width="50" height="28" as="geometry"/>- </mxCell>- <mxCell id="aws_dynamodb_table.orders" value="orders" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb;" vertex="1" parent="1">- <mxGeometry x="120" y="320" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_sqs_queue.jobs" value="jobs" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs;" vertex="1" parent="1">- <mxGeometry x="370" y="320" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_s3_bucket.uploads" value="uploads" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#7AA116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;" vertex="1" parent="1">- <mxGeometry x="500" y="320" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_cloudfront_distribution.cdn" value="cdn" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudfront;" vertex="1" parent="1">- <mxGeometry x="510" y="160" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="aws_api_gateway_integration.lambda_proxy" value="lambda_proxy" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1">- <mxGeometry x="120" y="0" width="50" height="50" as="geometry"/>- </mxCell>- <mxCell id="e0" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_api_gateway_integration.lambda_proxy" target="aws_api_gateway_rest_api.api">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="90" y="20"/><mxPoint x="20" y="20"/><mxPoint x="20" y="20"/><mxPoint x="20" y="20"/><mxPoint x="20" y="150"/></Array></mxGeometry>- </mxCell>- <mxCell id="e1" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_api_gateway_integration.lambda_proxy" target="aws_lambda_function.orders">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="160" y="80"/><mxPoint x="160" y="120"/><mxPoint x="160" y="120"/><mxPoint x="160" y="120"/><mxPoint x="280" y="120"/><mxPoint x="280" y="120"/><mxPoint x="280" y="120"/><mxPoint x="280" y="150"/></Array></mxGeometry>- </mxCell>- <mxCell id="e2" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.orders" target="aws_s3_bucket.uploads">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="360" y="180"/><mxPoint x="510" y="180"/><mxPoint x="510" y="180"/><mxPoint x="510" y="180"/><mxPoint x="510" y="300"/></Array></mxGeometry>- </mxCell>- <mxCell id="e3" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.orders" target="aws_sqs_queue.jobs">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="280" y="250"/><mxPoint x="280" y="320"/><mxPoint x="280" y="320"/><mxPoint x="280" y="320"/><mxPoint x="360" y="320"/></Array></mxGeometry>- </mxCell>- <mxCell id="e4" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.orders" target="aws_dynamodb_table.orders">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="260" y="250"/><mxPoint x="260" y="320"/><mxPoint x="260" y="320"/><mxPoint x="260" y="320"/><mxPoint x="180" y="320"/></Array></mxGeometry>- </mxCell>- <mxCell id="e5" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.orders" target="aws_iam_role.lambda">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="270" y="210"/><mxPoint x="270" y="320"/></Array></mxGeometry>- </mxCell>- <mxCell id="e6" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_cloudfront_distribution.cdn" target="aws_s3_bucket.uploads">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="530" y="210"/><mxPoint x="530" y="300"/></Array></mxGeometry>- </mxCell>- <mxCell id="e7" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_event_source_mapping.worker_trigger" target="aws_lambda_function.worker">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="260" y="70"/><mxPoint x="260" y="90"/><mxPoint x="260" y="90"/><mxPoint x="260" y="90"/><mxPoint x="140" y="90"/><mxPoint x="140" y="90"/><mxPoint x="140" y="90"/><mxPoint x="140" y="150"/></Array></mxGeometry>- </mxCell>- <mxCell id="e8" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_event_source_mapping.worker_trigger" target="aws_sqs_queue.jobs">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="330" y="20"/><mxPoint x="400" y="20"/><mxPoint x="400" y="20"/><mxPoint x="400" y="20"/><mxPoint x="400" y="300"/></Array></mxGeometry>- </mxCell>- <mxCell id="e9" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.worker" target="aws_dynamodb_table.orders">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="150" y="210"/><mxPoint x="150" y="300"/></Array></mxGeometry>- </mxCell>- <mxCell id="e10" value="" style="html=1;rounded=0;" edge="1" parent="1" source="aws_lambda_function.worker" target="aws_iam_role.lambda">- <mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="190" y="180"/><mxPoint x="210" y="180"/><mxPoint x="210" y="180"/><mxPoint x="210" y="180"/><mxPoint x="210" y="340"/><mxPoint x="210" y="340"/><mxPoint x="210" y="340"/><mxPoint x="230" y="340"/></Array></mxGeometry>- </mxCell>- </root>- </mxGraphModel>- </diagram>-</mxfile>diff --git a/assets/demo-terraform.png b/assets/demo-terraform.pngdeleted file mode 100644index efcb9c0..0000000Binary files a/assets/demo-terraform.png and /dev/null differ