Skip to content

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.

9.5 KB
Raw Blame
<mxfile host="drawio-skill" agent="diagram-ir" version="3.0.0">
  <diagram id="system" name="System">
    <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="shopper" value="Shopper" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1" data-model-id="shopper" data-kind="actor" data-properties="{&quot;trust_boundary&quot;:&quot;public&quot;,&quot;importance&quot;:7}" data-source-properties="{&quot;trust_boundary&quot;:&quot;public&quot;,&quot;importance&quot;:7}" data-source-label="Shopper" data-provenance="{&quot;path&quot;:&quot;examples/architecture-studio/checkout.ir.json&quot;}" data-boundary="public">
          <mxGeometry x="180" y="0" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="gateway" value="API Gateway" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="gateway" data-kind="gateway" data-properties="{&quot;owner&quot;:&quot;platform&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;edge&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;public&quot;,&quot;importance&quot;:10}" data-source-properties="{&quot;owner&quot;:&quot;platform&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;edge&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;public&quot;,&quot;importance&quot;:10}" data-source-label="API Gateway" data-provenance="{&quot;path&quot;:&quot;examples/architecture-studio/checkout.ir.json&quot;}" data-owner="platform" data-boundary="public">
          <mxGeometry x="180" y="110" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="orders" value="Order Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;strokeWidth=3;" vertex="1" parent="1" data-model-id="orders" data-kind="service" data-properties="{&quot;owner&quot;:&quot;checkout&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;Kubernetes&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;private&quot;,&quot;importance&quot;:9,&quot;scenario_status&quot;:&quot;failed&quot;}" data-source-properties="{&quot;owner&quot;:&quot;checkout&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;Kubernetes&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;private&quot;,&quot;importance&quot;:9,&quot;scenario_status&quot;:&quot;failed&quot;}" data-source-label="Order Service" data-provenance="{&quot;path&quot;:&quot;services/orders.py&quot;,&quot;line&quot;:12}" data-owner="checkout" data-boundary="private">
          <mxGeometry x="180" y="210" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="inventory" value="Inventory Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1" data-model-id="inventory" data-kind="service" data-properties="{&quot;owner&quot;:&quot;catalog&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;Kubernetes&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;private&quot;,&quot;importance&quot;:6}" data-source-properties="{&quot;owner&quot;:&quot;catalog&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;runtime&quot;:&quot;Kubernetes&quot;,&quot;observability&quot;:&quot;OpenTelemetry&quot;,&quot;trust_boundary&quot;:&quot;private&quot;,&quot;importance&quot;:6}" data-source-label="Inventory Service" data-provenance="{&quot;path&quot;:&quot;examples/architecture-studio/checkout.ir.json&quot;}" data-owner="catalog" data-boundary="private">
          <mxGeometry x="0" y="320" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="orders-db" value="Orders DB" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="orders-db" data-kind="database" data-properties="{&quot;owner&quot;:&quot;checkout&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;observability&quot;:&quot;database metrics&quot;,&quot;trust_boundary&quot;:&quot;data&quot;,&quot;importance&quot;:8,&quot;scenario_status&quot;:&quot;impacted&quot;}" data-source-properties="{&quot;owner&quot;:&quot;checkout&quot;,&quot;environment&quot;:&quot;production&quot;,&quot;region&quot;:&quot;eu-west-1&quot;,&quot;observability&quot;:&quot;database metrics&quot;,&quot;trust_boundary&quot;:&quot;data&quot;,&quot;importance&quot;:8,&quot;scenario_status&quot;:&quot;impacted&quot;}" data-source-label="Orders DB" data-provenance="{&quot;path&quot;:&quot;examples/architecture-studio/checkout.ir.json&quot;}" data-owner="checkout" data-boundary="data">
          <mxGeometry x="180" y="320" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="stripe" value="Stripe" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="stripe" data-kind="external" data-properties="{&quot;owner&quot;:&quot;payments&quot;,&quot;region&quot;:&quot;global&quot;,&quot;trust_boundary&quot;:&quot;external&quot;,&quot;importance&quot;:5,&quot;scenario_status&quot;:&quot;impacted&quot;}" data-source-properties="{&quot;owner&quot;:&quot;payments&quot;,&quot;region&quot;:&quot;global&quot;,&quot;trust_boundary&quot;:&quot;external&quot;,&quot;importance&quot;:5,&quot;scenario_status&quot;:&quot;impacted&quot;}" data-source-label="Stripe" data-provenance="{&quot;path&quot;:&quot;examples/architecture-studio/checkout.ir.json&quot;}" data-owner="payments" data-boundary="external">
          <mxGeometry x="360" y="320" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="e0" value="HTTPS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="shopper" target="gateway" data-model-id="shopper-gateway" data-kind="sync" data-properties="{&quot;protocol&quot;:&quot;HTTPS&quot;}" data-source-properties="{&quot;protocol&quot;:&quot;HTTPS&quot;}" data-source-label="HTTPS">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="260" y="70" />
              <mxPoint x="260" y="90" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e1" value="mTLS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="gateway" target="orders" data-model-id="gateway-orders" data-kind="sync" data-properties="{&quot;protocol&quot;:&quot;mTLS&quot;}" data-source-properties="{&quot;protocol&quot;:&quot;mTLS&quot;}" data-source-label="mTLS">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="260" y="180" />
              <mxPoint x="260" y="200" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e2" value="gRPC" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="inventory" data-model-id="orders-inventory" data-kind="sync" data-properties="{&quot;protocol&quot;:&quot;mTLS&quot;,&quot;timeout&quot;:&quot;800ms&quot;,&quot;isolates_failure&quot;:true}" data-source-properties="{&quot;protocol&quot;:&quot;mTLS&quot;,&quot;timeout&quot;:&quot;800ms&quot;,&quot;isolates_failure&quot;:true}" data-source-label="gRPC">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="130" y="250" />
              <mxPoint x="80" y="250" />
              <mxPoint x="80" y="250" />
              <mxPoint x="80" y="250" />
              <mxPoint x="80" y="310" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e3" value="PostgreSQL/TLS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="orders-db" data-model-id="orders-db" data-kind="sync" data-properties="{&quot;protocol&quot;:&quot;TLS&quot;}" data-source-properties="{&quot;protocol&quot;:&quot;TLS&quot;}" data-source-label="PostgreSQL/TLS">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="260" y="280" />
              <mxPoint x="260" y="310" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e4" value="HTTPS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="stripe" data-model-id="orders-stripe" data-kind="sync" data-properties="{&quot;protocol&quot;:&quot;HTTPS&quot;,&quot;timeout&quot;:&quot;2s&quot;}" data-source-properties="{&quot;protocol&quot;:&quot;HTTPS&quot;,&quot;timeout&quot;:&quot;2s&quot;}" data-source-label="HTTPS">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="390" y="250" />
              <mxPoint x="440" y="250" />
              <mxPoint x="440" y="250" />
              <mxPoint x="440" y="250" />
              <mxPoint x="440" y="310" />
            </Array>
          </mxGeometry>
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>