설계 개편
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1195" height="487" viewBox="0 0 1195 487" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">component-flow runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the component-flow profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"component-flow","profile":"component-flow"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1195" height="487" />
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="1075.0,396.0 1075.0,442.0 765.0,442.0 765.0,260.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="826.2" y="400.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="852.0" y="415.0">승인 응답</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="840.0,247.8 930.0,247.8 930.0,373.0 1000.0,373.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="880.2" y="286.4" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="906.0" y="301.4">승인 요청</text>
|
||||
<polyline class="edge kind-publish style-dashed emphasis-primary semantic-dashed" points="840.0,208.2 920.0,208.2 920.0,92.0 1000.0,92.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="881.4" y="136.1" width="125.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="944.0" y="151.1">payment.approved</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="840.0,218.1 920.0,218.1 920.0,219.0 1000.0,219.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="911.5" y="204.5" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="944.0" y="219.5">PAID 갱신</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="840.0,228.0 930.0,228.0 930.0,237.0 1000.0,237.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="882.0" y="242.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="924.5" y="257.0">PENDING 기록</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="220.0,228.0 300.0,228.0 300.0,228.0 380.0,228.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="254.2" y="186.0" width="91.7" height="22" rx="3" />
|
||||
<text class="edge-label" x="300.0" y="201.0">HTTPS 결제 요청</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="530.0,228.0 610.0,228.0 610.0,228.0 690.0,228.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="580.9" y="186.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="610.0" y="201.0">검증된 요청</text>
|
||||
<g id="node-client">
|
||||
<g class="actor-symbol emphasis-normal" data-evidence="1-1"><circle cx="145.0" cy="206.0" r="11.0" /><line x1="145.0" y1="222.0" x2="145.0" y2="241.0" /><line x1="127.0" y1="232.0" x2="163.0" y2="232.0" /><line x1="145.0" y1="241.0" x2="130.0" y2="258.0" /><line x1="145.0" y1="241.0" x2="160.0" y2="258.0" /></g>
|
||||
<text class="node-label" x="145.0" y="263.0">클라이언트</text>
|
||||
</g>
|
||||
<g id="node-gateway">
|
||||
<rect class="node-shape kind-security emphasis-normal role-service" data-evidence="1-1" x="380.0" y="196.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="455.0" y="226.0">인증 게이트웨이</text>
|
||||
</g>
|
||||
<g id="node-api">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="1-1" x="690.0" y="196.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="765.0" y="226.0">체크아웃 API</text>
|
||||
</g>
|
||||
<g id="node-bus">
|
||||
<rect class="node-shape kind-queue emphasis-normal role-sink" data-evidence="1-1" x="1000.0" y="60.0" width="150.0" height="64.0" rx="22" />
|
||||
<text class="node-label" x="1075.0" y="90.0">이벤트 버스</text>
|
||||
</g>
|
||||
<g id="node-db">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1-1" x="1000.0" y="206.7" width="150.0" height="42.7" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="1075.0" cy="206.7" rx="75.0" ry="10.7" /><path class="storage-bottom" d="M 1000.0 249.3 A 75.0 10.7 0 0 0 1150.0 249.3" />
|
||||
<text class="node-label" x="1075.0" y="226.0">주문 저장소</text>
|
||||
</g>
|
||||
<g id="node-provider">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="1000.0" y="332.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="1075.0" y="362.0">결제 제공자</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.9 KiB |
@@ -0,0 +1,224 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "component-flow",
|
||||
"title": "component-flow runtime fixture",
|
||||
"question": "Does the component-flow logical composition render correctly?",
|
||||
"type": "data-flow",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable component-flow fixture.",
|
||||
"alt": "Executable technical diagram fixture for the component-flow composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the component-flow profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "component-flow",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for component-flow.",
|
||||
"focus_node": "api"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "client",
|
||||
"label": "클라이언트",
|
||||
"kind": "actor",
|
||||
"role": "source",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "actor"
|
||||
},
|
||||
{
|
||||
"id": "gateway",
|
||||
"label": "인증 게이트웨이",
|
||||
"kind": "security",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "api",
|
||||
"label": "체크아웃 API",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "db",
|
||||
"label": "주문 저장소",
|
||||
"kind": "database",
|
||||
"role": "store",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database"
|
||||
},
|
||||
{
|
||||
"id": "provider",
|
||||
"label": "결제 제공자",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "bus",
|
||||
"label": "이벤트 버스",
|
||||
"kind": "queue",
|
||||
"role": "sink",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "queue"
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "request",
|
||||
"from": "client",
|
||||
"to": "gateway",
|
||||
"label": "HTTPS 결제 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "validated",
|
||||
"from": "gateway",
|
||||
"to": "api",
|
||||
"label": "검증된 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "pending",
|
||||
"from": "api",
|
||||
"to": "db",
|
||||
"label": "PENDING 기록",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "authorize",
|
||||
"from": "api",
|
||||
"to": "provider",
|
||||
"label": "승인 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "approved",
|
||||
"from": "provider",
|
||||
"to": "api",
|
||||
"label": "승인 응답",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "paid",
|
||||
"from": "api",
|
||||
"to": "db",
|
||||
"label": "PAID 갱신",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "event",
|
||||
"from": "api",
|
||||
"to": "bus",
|
||||
"label": "payment.approved",
|
||||
"kind": "publish",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed",
|
||||
"emphasis": "primary"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1106" height="375" viewBox="0 0 1106 375" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">orchestrator-workers runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the orchestrator-workers profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"orchestrator-workers","profile":"orchestrator-workers"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1106" height="375" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="379.0,109.0 379.0,157.0 157.5,157.0 157.5,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="232.4" y="115.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="268.2" y="130.0">dispatch</text>
|
||||
<polyline class="edge kind-notification style-dashed emphasis-normal semantic-dashed" points="1015.0,267.5 1061.0,267.5 1061.0,72.0 775.0,72.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="989.5" y="30.0" width="98.4" height="22" rx="3" />
|
||||
<text class="edge-label" x="1038.8" y="45.0">notification</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="415.0,109.0 415.0,157.0 637.5,157.0 637.5,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="500.5" y="115.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="526.2" y="130.0">spawn</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="397.0,109.0 397.0,157.0 397.5,157.0 397.5,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="361.4" y="115.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="397.2" y="130.0">spawn ×2</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="637.5,315.0 637.5,260.0 932.0,260.0 932.0,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="755.6" y="218.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="784.8" y="233.0">stdout</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="397.5,315.0 397.5,260.0 878.0,260.0 878.0,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="608.6" y="218.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="637.8" y="233.0">stdout</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="451.0,109.0 451.0,157.0 914.0,157.0 914.0,205.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="643.4" y="171.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="682.5" y="186.0">subscribe</text>
|
||||
<g id="node-main">
|
||||
<rect class="node-shape kind-service emphasis-primary role-orchestrator" data-evidence="1-1" x="55.0" y="35.0" width="720.0" height="74.0" rx="5" /><line class="controller-divider" x1="55.0" y1="60.2" x2="775.0" y2="60.2" /><line class="controller-divider" x1="55.0" y1="84.6" x2="775.0" y2="84.6" /><rect class="controller-led" x="68.0" y="43.6" width="8" height="8" rx="1" /><rect class="controller-led" x="68.0" y="68.0" width="8" height="8" rx="1" /><rect class="controller-led" x="68.0" y="92.4" width="8" height="8" rx="1" />
|
||||
<text class="node-role" x="415.0" y="54.0">«orchestrator»</text>
|
||||
<text class="node-label" x="415.0" y="81.0">MAIN SESSION</text>
|
||||
<line class="node-detail-divider" x1="69.0" y1="102.0" x2="761.0" y2="102.0" />
|
||||
<text class="node-detail" x="71.0" y="119.0">context + logic</text>
|
||||
</g>
|
||||
<g id="node-agents">
|
||||
<rect class="node-shape kind-service emphasis-normal role-worker" data-evidence="1-1" x="55.0" y="205.0" width="205.0" height="110.0" rx="7" />
|
||||
<text class="node-role" x="157.5" y="224.0">«worker»</text>
|
||||
<text class="node-label" x="157.5" y="251.0">SUBAGENTS × N</text>
|
||||
<line class="node-detail-divider" x1="69.0" y1="272.0" x2="246.0" y2="272.0" />
|
||||
<text class="node-detail" x="71.0" y="289.0">client RPS · latency</text>
|
||||
<text class="node-detail" x="71.0" y="305.0">server RPS · latency</text>
|
||||
<text class="node-detail" x="71.0" y="321.0">JVM heap · GC</text>
|
||||
</g>
|
||||
<g id="node-stream">
|
||||
<rect class="node-shape kind-process emphasis-normal role-subprocess" data-evidence="1-1" x="295.0" y="205.0" width="205.0" height="110.0" rx="7" />
|
||||
<text class="node-role" x="397.5" y="224.0">«subprocess»</text>
|
||||
<text class="node-label" x="397.5" y="251.0">BACKGROUND BASH</text>
|
||||
<line class="node-detail-divider" x1="309.0" y1="272.0" x2="486.0" y2="272.0" />
|
||||
<text class="node-detail" x="311.0" y="289.0">tail -f ...</text>
|
||||
</g>
|
||||
<g id="node-poll">
|
||||
<rect class="node-shape kind-process emphasis-normal role-subprocess" data-evidence="1-1" x="535.0" y="205.0" width="205.0" height="110.0" rx="7" />
|
||||
<text class="node-role" x="637.5" y="224.0">«subprocess»</text>
|
||||
<text class="node-label" x="637.5" y="251.0">POLLING BASH</text>
|
||||
<line class="node-detail-divider" x1="549.0" y1="272.0" x2="726.0" y2="272.0" />
|
||||
<text class="node-detail" x="551.0" y="289.0">until <cond>; sleep N</text>
|
||||
</g>
|
||||
<g id="node-monitor">
|
||||
<rect class="node-shape kind-service emphasis-normal role-monitor" data-evidence="1-1" x="795.0" y="205.0" width="220.0" height="125.0" rx="5" /><line class="controller-divider" x1="795.0" y1="247.5" x2="1015.0" y2="247.5" /><line class="controller-divider" x1="795.0" y1="288.8" x2="1015.0" y2="288.8" /><rect class="controller-led" x="808.0" y="222.2" width="8" height="8" rx="1" /><rect class="controller-led" x="808.0" y="263.5" width="8" height="8" rx="1" /><rect class="controller-led" x="808.0" y="304.8" width="8" height="8" rx="1" />
|
||||
<text class="node-label" x="905.0" y="249.5">MONITOR</text>
|
||||
<line class="node-detail-divider" x1="809.0" y1="270.5" x2="1001.0" y2="270.5" />
|
||||
<text class="node-detail" x="811.0" y="287.5">stdout 수신</text>
|
||||
<text class="node-detail" x="811.0" y="303.5">이벤트 알림</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.2 KiB |
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "orchestrator-workers",
|
||||
"title": "orchestrator-workers runtime fixture",
|
||||
"question": "Does the orchestrator-workers logical composition render correctly?",
|
||||
"type": "architecture",
|
||||
"direction": "TB",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable orchestrator-workers fixture.",
|
||||
"alt": "Executable technical diagram fixture for the orchestrator-workers composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the orchestrator-workers profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "orchestrator-workers",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"mission-workers"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for orchestrator-workers.",
|
||||
"focus_node": "main"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "main",
|
||||
"label": "MAIN SESSION",
|
||||
"kind": "service",
|
||||
"role": "orchestrator",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "controller",
|
||||
"emphasis": "primary",
|
||||
"details": [
|
||||
"context + logic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "agents",
|
||||
"label": "SUBAGENTS × N",
|
||||
"kind": "service",
|
||||
"role": "worker",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"client RPS · latency",
|
||||
"server RPS · latency",
|
||||
"JVM heap · GC"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "stream",
|
||||
"label": "BACKGROUND BASH",
|
||||
"kind": "process",
|
||||
"role": "subprocess",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"tail -f ..."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "poll",
|
||||
"label": "POLLING BASH",
|
||||
"kind": "process",
|
||||
"role": "subprocess",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"until <cond>; sleep N"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "monitor",
|
||||
"label": "MONITOR",
|
||||
"kind": "service",
|
||||
"role": "monitor",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "controller",
|
||||
"details": [
|
||||
"stdout 수신",
|
||||
"이벤트 알림"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "dispatch",
|
||||
"from": "main",
|
||||
"to": "agents",
|
||||
"label": "dispatch",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "spawn-stream",
|
||||
"from": "main",
|
||||
"to": "stream",
|
||||
"label": "spawn ×2",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "spawn-poll",
|
||||
"from": "main",
|
||||
"to": "poll",
|
||||
"label": "spawn",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "subscribe",
|
||||
"from": "main",
|
||||
"to": "monitor",
|
||||
"label": "subscribe",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "stdout-stream",
|
||||
"from": "stream",
|
||||
"to": "monitor",
|
||||
"label": "stdout",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "stdout-poll",
|
||||
"from": "poll",
|
||||
"to": "monitor",
|
||||
"label": "stdout",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "notify",
|
||||
"from": "monitor",
|
||||
"to": "main",
|
||||
"label": "notification",
|
||||
"kind": "notification",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 61 KiB |
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1045" height="427" viewBox="0 0 1045 427" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">query-fanout runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the query-fanout profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"query-fanout","profile":"query-fanout"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1045" height="427" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="225.0,295.5 255.0,295.5 255.0,129.0 240.0,129.0 240.0,197.0 270.0,197.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="253.2" y="156.8" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="279.0" y="171.8">parse</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="425.0,197.0 455.0,197.0 455.0,119.0 440.0,119.0 440.0,187.0 470.0,187.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="376.5" y="77.0" width="152.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="452.5" y="92.0">filters + time range</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="225.0,187.0 130.0,187.0 130.0,295.5 35.0,295.5" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="124.9" y="227.2" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="154.0" y="242.2">PromQL</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="645.0,169.0 695.0,169.0 695.0,86.0 745.0,86.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="673.1" y="113.5" width="91.7" height="22" rx="3" />
|
||||
<text class="edge-label" x="719.0" y="128.5">range query</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="645.0,187.0 695.0,187.0 695.0,211.0 745.0,211.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="673.1" y="185.0" width="91.7" height="22" rx="3" />
|
||||
<text class="edge-label" x="719.0" y="200.0">range query</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="645.0,205.0 695.0,205.0 695.0,336.0 745.0,336.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="673.1" y="256.5" width="91.7" height="22" rx="3" />
|
||||
<text class="edge-label" x="719.0" y="271.5">range query</text>
|
||||
<g id="node-user">
|
||||
<g class="actor-symbol emphasis-normal" data-evidence="1-1"><circle cx="130.0" cy="165.0" r="11.0" /><line x1="130.0" y1="181.0" x2="130.0" y2="200.0" /><line x1="112.0" y1="191.0" x2="148.0" y2="191.0" /><line x1="130.0" y1="200.0" x2="115.0" y2="217.0" /><line x1="130.0" y1="200.0" x2="145.0" y2="217.0" /></g>
|
||||
<text class="node-label" x="130.0" y="222.0">사용자</text>
|
||||
</g>
|
||||
<g id="node-query">
|
||||
<rect class="node-shape kind-request emphasis-normal role-query" data-evidence="1-1" x="35.0" y="260.0" width="190.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="130.0" y="287.0">rate(http_requests_total[5m])</text>
|
||||
<line class="node-detail-divider" x1="49.0" y1="308.0" x2="211.0" y2="308.0" />
|
||||
<text class="node-detail" x="51.0" y="325.0">time range: 15:00–15:10</text>
|
||||
</g>
|
||||
<g id="node-parser">
|
||||
<rect class="node-shape kind-component emphasis-normal role-parser" data-evidence="1-1" x="270.0" y="165.0" width="155.0" height="64.0" rx="22" />
|
||||
<text class="node-role" x="347.5" y="184.0">«parser»</text>
|
||||
<text class="node-label" x="347.5" y="211.0">query parser</text>
|
||||
</g>
|
||||
<g id="node-selector">
|
||||
<rect class="node-shape kind-service emphasis-primary role-router" data-evidence="1-1" x="470.0" y="155.0" width="175.0" height="64.0" rx="7" />
|
||||
<text class="node-role" x="557.5" y="174.0">«router»</text>
|
||||
<text class="node-label" x="557.5" y="201.0">vmselect</text>
|
||||
</g>
|
||||
<g id="node-a">
|
||||
<rect class="node-shape kind-database emphasis-normal role-shard" data-evidence="1-1" x="745.0" y="53.0" width="255.0" height="66.0" /><ellipse class="node-shape kind-database emphasis-normal role-shard" cx="872.5" cy="53.0" rx="127.5" ry="13.0" /><path class="storage-bottom" d="M 745.0 119.0 A 127.5 13.0 0 0 0 1000.0 119.0" />
|
||||
<text class="node-role" x="872.5" y="59.0">«shard»</text>
|
||||
<text class="node-label" x="872.5" y="86.0">vmstorage A</text>
|
||||
<line class="node-detail-divider" x1="759.0" y1="107.0" x2="986.0" y2="107.0" />
|
||||
<text class="node-detail" x="761.0" y="124.0">IndexDB → TSID → Data</text>
|
||||
</g>
|
||||
<g id="node-b">
|
||||
<rect class="node-shape kind-database emphasis-normal role-shard" data-evidence="1-1" x="745.0" y="178.0" width="255.0" height="66.0" /><ellipse class="node-shape kind-database emphasis-normal role-shard" cx="872.5" cy="178.0" rx="127.5" ry="13.0" /><path class="storage-bottom" d="M 745.0 244.0 A 127.5 13.0 0 0 0 1000.0 244.0" />
|
||||
<text class="node-role" x="872.5" y="184.0">«shard»</text>
|
||||
<text class="node-label" x="872.5" y="211.0">vmstorage B</text>
|
||||
<line class="node-detail-divider" x1="759.0" y1="232.0" x2="986.0" y2="232.0" />
|
||||
<text class="node-detail" x="761.0" y="249.0">IndexDB → TSID → Data</text>
|
||||
</g>
|
||||
<g id="node-c">
|
||||
<rect class="node-shape kind-database emphasis-normal role-shard" data-evidence="1-1" x="745.0" y="303.0" width="255.0" height="66.0" /><ellipse class="node-shape kind-database emphasis-normal role-shard" cx="872.5" cy="303.0" rx="127.5" ry="13.0" /><path class="storage-bottom" d="M 745.0 369.0 A 127.5 13.0 0 0 0 1000.0 369.0" />
|
||||
<text class="node-role" x="872.5" y="309.0">«shard»</text>
|
||||
<text class="node-label" x="872.5" y="336.0">vmstorage C</text>
|
||||
<line class="node-detail-divider" x1="759.0" y1="357.0" x2="986.0" y2="357.0" />
|
||||
<text class="node-detail" x="761.0" y="374.0">IndexDB → TSID → Data</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.0 KiB |
@@ -0,0 +1,234 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "query-fanout",
|
||||
"title": "query-fanout runtime fixture",
|
||||
"question": "Does the query-fanout logical composition render correctly?",
|
||||
"type": "data-flow",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable query-fanout fixture.",
|
||||
"alt": "Executable technical diagram fixture for the query-fanout composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the query-fanout profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "query-fanout",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"metrics-query-fanout"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for query-fanout.",
|
||||
"focus_node": "selector"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "user",
|
||||
"label": "사용자",
|
||||
"kind": "actor",
|
||||
"role": "actor",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "actor"
|
||||
},
|
||||
{
|
||||
"id": "query",
|
||||
"label": "rate(http_requests_total[5m])",
|
||||
"kind": "request",
|
||||
"role": "query",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"time range: 15:00–15:10"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "parser",
|
||||
"label": "query parser",
|
||||
"kind": "component",
|
||||
"role": "parser",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "port"
|
||||
},
|
||||
{
|
||||
"id": "selector",
|
||||
"label": "vmselect",
|
||||
"kind": "service",
|
||||
"role": "router",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "a",
|
||||
"label": "vmstorage A",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"label": "vmstorage B",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c",
|
||||
"label": "vmstorage C",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "submit",
|
||||
"from": "user",
|
||||
"to": "query",
|
||||
"label": "PromQL",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "parse",
|
||||
"from": "query",
|
||||
"to": "parser",
|
||||
"label": "parse",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "select",
|
||||
"from": "parser",
|
||||
"to": "selector",
|
||||
"label": "filters + time range",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-a",
|
||||
"from": "selector",
|
||||
"to": "a",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-b",
|
||||
"from": "selector",
|
||||
"to": "b",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-c",
|
||||
"from": "selector",
|
||||
"to": "c",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "timeline",
|
||||
"title": "timeline runtime fixture",
|
||||
"question": "Does the timeline logical composition render correctly?",
|
||||
"type": "concept",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable timeline fixture.",
|
||||
"alt": "Executable technical diagram fixture for the timeline composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the timeline profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "timeline",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"retention-cycle"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for timeline.",
|
||||
"focus_node": "today"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "t0",
|
||||
"label": "T = 0",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 1,
|
||||
"details": [
|
||||
"1970-01-01",
|
||||
"Unix Epoch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d372",
|
||||
"label": "+372d",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 2,
|
||||
"details": [
|
||||
"1971-01-08"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d744",
|
||||
"label": "+744d",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 3,
|
||||
"details": [
|
||||
"1972-01-15"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "n55",
|
||||
"label": "n=55",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 4,
|
||||
"emphasis": "warning",
|
||||
"details": [
|
||||
"2026-01-07",
|
||||
"직전 로테이션"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "today",
|
||||
"label": "현재",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 5,
|
||||
"emphasis": "primary",
|
||||
"details": [
|
||||
"오늘"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "n56",
|
||||
"label": "n=56",
|
||||
"kind": "milestone",
|
||||
"role": "milestone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"position": 6,
|
||||
"details": [
|
||||
"2027-01-14",
|
||||
"다음 로테이션"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1180" height="280" viewBox="0 0 1180 280" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">timeline runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the timeline profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"timeline","profile":"timeline"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1180" height="280" />
|
||||
<line class="timeline-axis" x1="75.0" y1="145.0" x2="1115.0" y2="145.0" />
|
||||
<line class="timeline-stem" x1="110.0" y1="145.0" x2="110.0" y2="97.0" />
|
||||
<circle class="timeline-marker" cx="110.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="110.0" y="85.0">T = 0</text>
|
||||
<text class="timeline-detail" x="110.0" y="102.0">1970-01-01</text>
|
||||
<text class="timeline-detail" x="110.0" y="119.0">Unix Epoch</text>
|
||||
<line class="timeline-stem" x1="300.0" y1="145.0" x2="300.0" y2="193.0" />
|
||||
<circle class="timeline-marker" cx="300.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="300.0" y="217.0">+372d</text>
|
||||
<text class="timeline-detail" x="300.0" y="234.0">1971-01-08</text>
|
||||
<line class="timeline-stem" x1="490.0" y1="145.0" x2="490.0" y2="97.0" />
|
||||
<circle class="timeline-marker" cx="490.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="490.0" y="85.0">+744d</text>
|
||||
<text class="timeline-detail" x="490.0" y="102.0">1972-01-15</text>
|
||||
<line class="timeline-stem" x1="680.0" y1="145.0" x2="680.0" y2="193.0" />
|
||||
<circle class="timeline-marker warning" cx="680.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="680.0" y="217.0">n=55</text>
|
||||
<text class="timeline-detail" x="680.0" y="234.0">2026-01-07</text>
|
||||
<text class="timeline-detail" x="680.0" y="251.0">직전 로테이션</text>
|
||||
<line class="timeline-stem" x1="870.0" y1="145.0" x2="870.0" y2="97.0" />
|
||||
<circle class="timeline-marker primary" cx="870.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="870.0" y="85.0">현재</text>
|
||||
<text class="timeline-detail" x="870.0" y="102.0">오늘</text>
|
||||
<line class="timeline-stem" x1="1060.0" y1="145.0" x2="1060.0" y2="193.0" />
|
||||
<circle class="timeline-marker" cx="1060.0" cy="145.0" r="7" />
|
||||
<text class="timeline-label" x="1060.0" y="217.0">n=56</text>
|
||||
<text class="timeline-detail" x="1060.0" y="234.0">2027-01-14</text>
|
||||
<text class="timeline-detail" x="1060.0" y="251.0">다음 로테이션</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1015" height="532" viewBox="0 0 1015 532" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">reconciliation-loop runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the reconciliation-loop profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"reconciliation-loop","profile":"reconciliation-loop"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1015" height="532" />
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="590.0,210.0 662.5,210.0 662.5,163.5 735.0,163.5" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="647.4" y="172.8" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="686.5" y="187.8">create VM</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="852.5,240.0 852.5,487.0 487.5,487.0 487.5,441.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="718.0" y="445.0" width="105.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="770.5" y="460.0">report status</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="487.5,441.0 487.5,487.0 165.0,487.0 165.0,265.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="185.7" y="445.0" width="105.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="238.2" y="460.0">update status</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="285.0,191.0 335.0,191.0 335.0,210.0 385.0,210.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="333.2" y="186.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="359.0" y="201.5">watch</text>
|
||||
<g id="node-desired">
|
||||
<path class="node-shape kind-resource emphasis-normal role-desired-state" data-evidence="1-1" d="M 45.0 135.0 H 251.0 L 285.0 169.0 V 265.0 H 45.0 Z M 251.0 135.0 V 169.0 H 285.0" />
|
||||
<text class="node-role" x="165.0" y="154.0">«desired-state»</text>
|
||||
<text class="node-label" x="165.0" y="181.0">VM Custom Resource</text>
|
||||
<line class="node-detail-divider" x1="59.0" y1="202.0" x2="271.0" y2="202.0" />
|
||||
<text class="node-detail" x="61.0" y="219.0">vCPU: 2</text>
|
||||
<text class="node-detail" x="61.0" y="235.0">memory: 8GB</text>
|
||||
<text class="node-detail" x="61.0" y="251.0">process: dbaas-agent</text>
|
||||
</g>
|
||||
<g id="node-controller">
|
||||
<rect class="node-shape kind-controller emphasis-primary role-controller" data-evidence="1-1" x="385.0" y="155.0" width="205.0" height="110.0" rx="5" /><line class="controller-divider" x1="385.0" y1="192.4" x2="590.0" y2="192.4" /><line class="controller-divider" x1="385.0" y1="228.7" x2="590.0" y2="228.7" /><rect class="controller-led" x="398.0" y="169.7" width="8" height="8" rx="1" /><rect class="controller-led" x="398.0" y="206.0" width="8" height="8" rx="1" /><rect class="controller-led" x="398.0" y="242.3" width="8" height="8" rx="1" />
|
||||
<text class="node-role" x="487.5" y="174.0">«controller»</text>
|
||||
<text class="node-label" x="487.5" y="208.0">VM Operator</text>
|
||||
</g>
|
||||
<g id="node-actual">
|
||||
<rect class="node-shape kind-runtime emphasis-normal role-actual-state" data-evidence="1-1" x="735.0" y="105.0" width="235.0" height="135.0" rx="7" />
|
||||
<text class="node-role" x="852.5" y="124.0">«actual-state»</text>
|
||||
<text class="node-label" x="852.5" y="162.5">VM</text>
|
||||
<line class="node-detail-divider" x1="749.0" y1="183.5" x2="956.0" y2="183.5" />
|
||||
<text class="node-detail" x="751.0" y="200.5">dbaas-agent</text>
|
||||
</g>
|
||||
<g id="node-status">
|
||||
<rect class="node-shape kind-state emphasis-normal role-status" data-evidence="1-1" x="385.0" y="370.0" width="205.0" height="71.0" rx="22" />
|
||||
<text class="node-label" x="487.5" y="397.0">status</text>
|
||||
<line class="node-detail-divider" x1="399.0" y1="418.0" x2="576.0" y2="418.0" />
|
||||
<text class="node-detail" x="401.0" y="435.0">dbaas-agent: ok</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.4 KiB |
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "reconciliation-loop",
|
||||
"title": "reconciliation-loop runtime fixture",
|
||||
"question": "Does the reconciliation-loop logical composition render correctly?",
|
||||
"type": "architecture",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable reconciliation-loop fixture.",
|
||||
"alt": "Executable technical diagram fixture for the reconciliation-loop composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the reconciliation-loop profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "reconciliation-loop",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"declarative-vm"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for reconciliation-loop.",
|
||||
"focus_node": "controller"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "desired",
|
||||
"label": "VM Custom Resource",
|
||||
"kind": "resource",
|
||||
"role": "desired-state",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "document",
|
||||
"details": [
|
||||
"vCPU: 2",
|
||||
"memory: 8GB",
|
||||
"process: dbaas-agent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "controller",
|
||||
"label": "VM Operator",
|
||||
"kind": "controller",
|
||||
"role": "controller",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "controller",
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "actual",
|
||||
"label": "VM",
|
||||
"kind": "runtime",
|
||||
"role": "actual-state",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"dbaas-agent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "status",
|
||||
"label": "status",
|
||||
"kind": "state",
|
||||
"role": "status",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "port",
|
||||
"details": [
|
||||
"dbaas-agent: ok"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "watch",
|
||||
"from": "desired",
|
||||
"to": "controller",
|
||||
"label": "watch",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "create",
|
||||
"from": "controller",
|
||||
"to": "actual",
|
||||
"label": "create VM",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "status-read",
|
||||
"from": "actual",
|
||||
"to": "status",
|
||||
"label": "report status",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "status-write",
|
||||
"from": "status",
|
||||
"to": "desired",
|
||||
"label": "update status",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 59 KiB |
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1310" height="515" viewBox="0 0 1310 515" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">resource-controller runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the resource-controller profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"resource-controller","profile":"resource-controller"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1310" height="515" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="1265.0,170.0 1150.0,170.0 1150.0,351.0 1035.0,351.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="1131.5" y="246.5" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1174.0" y="261.5">DB command</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="690.0,424.0 720.0,424.0 720.0,199.0 695.0,199.0 695.0,305.0 725.0,305.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="704.9" y="232.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="744.0" y="247.0">create ×3</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="180.0,222.0 210.0,222.0 210.0,59.0 195.0,59.0 195.0,172.5 225.0,172.5" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="204.9" y="62.2" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="234.0" y="77.2">create</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="690.0,406.0 720.0,406.0 720.0,29.0 695.0,29.0 695.0,135.0 725.0,135.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="704.9" y="138.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="744.0" y="153.0">create ×3</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="970.0,305.0 1002.5,305.0 1002.5,369.0 1035.0,369.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="987.4" y="323.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="1026.5" y="338.0">reconcile</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="970.0,135.0 1002.5,135.0 1002.5,170.0 1035.0,170.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="987.4" y="138.5" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="1026.5" y="153.5">reconcile</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="485.0,172.5 515.0,172.5 515.0,59.0 445.0,59.0 445.0,415.0 475.0,415.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="443.2" y="131.2" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="469.0" y="146.2">watch</text>
|
||||
<g id="node-user">
|
||||
<g class="actor-symbol emphasis-normal" data-evidence="1-1"><circle cx="107.5" cy="200.0" r="11.0" /><line x1="107.5" y1="216.0" x2="107.5" y2="235.0" /><line x1="89.5" y1="226.0" x2="125.5" y2="226.0" /><line x1="107.5" y1="235.0" x2="92.5" y2="252.0" /><line x1="107.5" y1="235.0" x2="122.5" y2="252.0" /></g>
|
||||
<text class="node-label" x="107.5" y="257.0">User</text>
|
||||
</g>
|
||||
<g id="node-db-service">
|
||||
<path class="node-shape kind-resource emphasis-normal role-resource-spec" data-evidence="1-1" d="M 225.0 95.0 H 451.0 L 485.0 129.0 V 250.0 H 225.0 Z M 451.0 95.0 V 129.0 H 485.0" />
|
||||
<text class="node-role" x="355.0" y="114.0">«resource-spec»</text>
|
||||
<text class="node-label" x="355.0" y="141.0">DB Service</text>
|
||||
<line class="node-detail-divider" x1="239.0" y1="162.0" x2="471.0" y2="162.0" />
|
||||
<text class="node-detail" x="241.0" y="179.0">vmCount: 3</text>
|
||||
<text class="node-detail" x="241.0" y="195.0">vCPU: 2</text>
|
||||
<text class="node-detail" x="241.0" y="211.0">memory: 8GB</text>
|
||||
<text class="node-detail" x="241.0" y="227.0">maxclient: 3000</text>
|
||||
</g>
|
||||
<g id="node-manager">
|
||||
<rect class="node-shape kind-controller emphasis-primary role-controller" data-evidence="1-1" x="475.0" y="360.0" width="215.0" height="110.0" rx="5" /><line class="controller-divider" x1="475.0" y1="397.4" x2="690.0" y2="397.4" /><line class="controller-divider" x1="475.0" y1="433.7" x2="690.0" y2="433.7" /><rect class="controller-led" x="488.0" y="374.7" width="8" height="8" rx="1" /><rect class="controller-led" x="488.0" y="411.0" width="8" height="8" rx="1" /><rect class="controller-led" x="488.0" y="447.3" width="8" height="8" rx="1" />
|
||||
<text class="node-role" x="582.5" y="379.0">«controller»</text>
|
||||
<text class="node-label" x="582.5" y="413.0">DBaaS Manager</text>
|
||||
</g>
|
||||
<g id="node-vm-cr">
|
||||
<path class="node-shape kind-resource emphasis-normal role-custom-resource" data-evidence="1-1" d="M 725.0 65.0 H 936.0 L 970.0 99.0 V 205.0 H 725.0 Z M 936.0 65.0 V 99.0 H 970.0" />
|
||||
<text class="node-role" x="847.5" y="84.0">«custom-resource»</text>
|
||||
<text class="node-label" x="847.5" y="117.0">VM Custom Resource ×3</text>
|
||||
<line class="node-detail-divider" x1="739.0" y1="138.0" x2="956.0" y2="138.0" />
|
||||
<text class="node-detail" x="741.0" y="155.0">2 vCPU</text>
|
||||
<text class="node-detail" x="741.0" y="171.0">8GB RAM</text>
|
||||
</g>
|
||||
<g id="node-db-cr">
|
||||
<path class="node-shape kind-resource emphasis-normal role-custom-resource" data-evidence="1-1" d="M 725.0 235.0 H 936.0 L 970.0 269.0 V 375.0 H 725.0 Z M 936.0 235.0 V 269.0 H 970.0" />
|
||||
<text class="node-role" x="847.5" y="254.0">«custom-resource»</text>
|
||||
<text class="node-label" x="847.5" y="287.0">DB Instance CR ×3</text>
|
||||
<line class="node-detail-divider" x1="739.0" y1="308.0" x2="956.0" y2="308.0" />
|
||||
<text class="node-detail" x="741.0" y="325.0">maxclient: 3000</text>
|
||||
<text class="node-detail" x="741.0" y="341.0">timeout: 5s</text>
|
||||
</g>
|
||||
<g id="node-vm">
|
||||
<rect class="node-shape kind-runtime emphasis-normal role-runtime-resource" data-evidence="1-1" x="1035.0" y="95.0" width="230.0" height="150.0" rx="7" />
|
||||
<text class="node-role" x="1150.0" y="114.0">«runtime-resource»</text>
|
||||
<text class="node-label" x="1150.0" y="160.0">VM + dbaas-agent</text>
|
||||
<line class="node-detail-divider" x1="1049.0" y1="181.0" x2="1251.0" y2="181.0" />
|
||||
<text class="node-detail" x="1051.0" y="198.0">create VM</text>
|
||||
</g>
|
||||
<g id="node-db">
|
||||
<rect class="node-shape kind-database emphasis-normal role-runtime-resource" data-evidence="1-1" x="1035.0" y="298.0" width="230.0" height="124.0" /><ellipse class="node-shape kind-database emphasis-normal role-runtime-resource" cx="1150.0" cy="298.0" rx="115.0" ry="13.0" /><path class="storage-bottom" d="M 1035.0 422.0 A 115.0 13.0 0 0 0 1265.0 422.0" />
|
||||
<text class="node-role" x="1150.0" y="304.0">«runtime-resource»</text>
|
||||
<text class="node-label" x="1150.0" y="350.0">DB</text>
|
||||
<line class="node-detail-divider" x1="1049.0" y1="371.0" x2="1251.0" y2="371.0" />
|
||||
<text class="node-detail" x="1051.0" y="388.0">DB command</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,257 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "resource-controller",
|
||||
"title": "resource-controller runtime fixture",
|
||||
"question": "Does the resource-controller logical composition render correctly?",
|
||||
"type": "architecture",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable resource-controller fixture.",
|
||||
"alt": "Executable technical diagram fixture for the resource-controller composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the resource-controller profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "resource-controller",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"dbaas-controller"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for resource-controller.",
|
||||
"focus_node": "manager"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "user",
|
||||
"label": "User",
|
||||
"kind": "actor",
|
||||
"role": "actor",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "actor"
|
||||
},
|
||||
{
|
||||
"id": "db-service",
|
||||
"label": "DB Service",
|
||||
"kind": "resource",
|
||||
"role": "resource-spec",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "document",
|
||||
"details": [
|
||||
"vmCount: 3",
|
||||
"vCPU: 2",
|
||||
"memory: 8GB",
|
||||
"maxclient: 3000"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "manager",
|
||||
"label": "DBaaS Manager",
|
||||
"kind": "controller",
|
||||
"role": "controller",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "controller",
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "vm-cr",
|
||||
"label": "VM Custom Resource ×3",
|
||||
"kind": "resource",
|
||||
"role": "custom-resource",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "document",
|
||||
"details": [
|
||||
"2 vCPU",
|
||||
"8GB RAM"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "db-cr",
|
||||
"label": "DB Instance CR ×3",
|
||||
"kind": "resource",
|
||||
"role": "custom-resource",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "document",
|
||||
"details": [
|
||||
"maxclient: 3000",
|
||||
"timeout: 5s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "vm",
|
||||
"label": "VM + dbaas-agent",
|
||||
"kind": "runtime",
|
||||
"role": "runtime-resource",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"create VM"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "db",
|
||||
"label": "DB",
|
||||
"kind": "database",
|
||||
"role": "runtime-resource",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"DB command"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "create-spec",
|
||||
"from": "user",
|
||||
"to": "db-service",
|
||||
"label": "create",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "watch-spec",
|
||||
"from": "db-service",
|
||||
"to": "manager",
|
||||
"label": "watch",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "create-vm-cr",
|
||||
"from": "manager",
|
||||
"to": "vm-cr",
|
||||
"label": "create ×3",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "create-db-cr",
|
||||
"from": "manager",
|
||||
"to": "db-cr",
|
||||
"label": "create ×3",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "materialize-vm",
|
||||
"from": "vm-cr",
|
||||
"to": "vm",
|
||||
"label": "reconcile",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "materialize-db",
|
||||
"from": "db-cr",
|
||||
"to": "db",
|
||||
"label": "reconcile",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "agent-command",
|
||||
"from": "vm",
|
||||
"to": "db",
|
||||
"label": "DB command",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "two-zone-pipeline",
|
||||
"title": "two-zone-pipeline runtime fixture",
|
||||
"question": "Does the two-zone-pipeline logical composition render correctly?",
|
||||
"type": "data-flow",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable two-zone-pipeline fixture.",
|
||||
"alt": "Executable technical diagram fixture for the two-zone-pipeline composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the two-zone-pipeline profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "two-zone-pipeline",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"localization-pipeline"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for two-zone-pipeline.",
|
||||
"focus_node": "fdh"
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"id": "request-zone",
|
||||
"label": "사용자 요청 및 서비스 레이어",
|
||||
"kind": "system",
|
||||
"role": "zone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "translation-zone",
|
||||
"label": "데이터 번역 및 적재 레이어",
|
||||
"kind": "system",
|
||||
"role": "zone",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "mobile",
|
||||
"label": "배민 앱",
|
||||
"kind": "actor",
|
||||
"role": "source",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "request-zone",
|
||||
"shape": "actor"
|
||||
},
|
||||
{
|
||||
"id": "list",
|
||||
"label": "목록/상세 BFF",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "request-zone",
|
||||
"details": [
|
||||
"lang param"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cart",
|
||||
"label": "장바구니/주문 BFF",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "request-zone",
|
||||
"details": [
|
||||
"lang param"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fdh",
|
||||
"label": "FDH",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "request-zone",
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "source-data",
|
||||
"label": "가게/메뉴",
|
||||
"kind": "database",
|
||||
"role": "store",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "translation-zone",
|
||||
"shape": "database"
|
||||
},
|
||||
{
|
||||
"id": "worker",
|
||||
"label": "FDH Worker",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "translation-zone"
|
||||
},
|
||||
{
|
||||
"id": "queue",
|
||||
"label": "Queue",
|
||||
"kind": "queue",
|
||||
"role": "queue",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "translation-zone",
|
||||
"shape": "queue"
|
||||
},
|
||||
{
|
||||
"id": "translator",
|
||||
"label": "LLM Translator",
|
||||
"kind": "service",
|
||||
"role": "service",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"group": "translation-zone"
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "app-list",
|
||||
"from": "mobile",
|
||||
"to": "list",
|
||||
"label": "목록/상세 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "app-cart",
|
||||
"from": "mobile",
|
||||
"to": "cart",
|
||||
"label": "주문 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "list-fdh",
|
||||
"from": "list",
|
||||
"to": "fdh",
|
||||
"label": "다국어 조회",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "cart-fdh",
|
||||
"from": "cart",
|
||||
"to": "fdh",
|
||||
"label": "다국어 조회",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "data-worker",
|
||||
"from": "source-data",
|
||||
"to": "worker",
|
||||
"label": "이벤트",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "worker-queue",
|
||||
"from": "worker",
|
||||
"to": "queue",
|
||||
"label": "적재 작업",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "queue-translator",
|
||||
"from": "queue",
|
||||
"to": "translator",
|
||||
"label": "번역 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "translator-worker",
|
||||
"from": "translator",
|
||||
"to": "worker",
|
||||
"label": "번역 결과",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"style": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "worker-fdh",
|
||||
"from": "worker",
|
||||
"to": "fdh",
|
||||
"label": "다국어 적재",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 50 KiB |
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="395" viewBox="0 0 1080 395" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">two-zone-pipeline runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the two-zone-pipeline profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"two-zone-pipeline","profile":"two-zone-pipeline"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1080" height="395" />
|
||||
<rect class="group-box" x="45.0" y="49.0" width="470.0" height="288.0" rx="8" />
|
||||
<rect class="group-label-bg" x="59.0" y="39.0" width="134.0" height="22" />
|
||||
<text class="group-label" x="69.0" y="54.0">사용자 요청 및 서비스 레이어</text>
|
||||
<rect class="group-box" x="565.0" y="49.0" width="470.0" height="281.0" rx="8" />
|
||||
<rect class="group-label-bg" x="579.0" y="39.0" width="127.0" height="22" />
|
||||
<text class="group-label" x="589.0" y="54.0">데이터 번역 및 적재 레이어</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,146.0 170.0,146.0 170.0,275.5 75.0,275.5" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="168.2" y="196.8" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="194.0" y="211.8">주문 요청</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,128.0 295.0,128.0 295.0,59.0 265.0,59.0 265.0,130.5 295.0,130.5" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="242.9" y="17.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="278.8" y="32.0">목록/상세 요청</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,275.5 295.0,275.5 295.0,204.0 265.0,204.0 265.0,281.0 295.0,281.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="248.2" y="162.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="277.2" y="177.0">다국어 조회</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="785.0,127.0 815.0,127.0 815.0,59.0 785.0,59.0 785.0,107.2 815.0,107.2" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="787.9" y="17.0" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="809.9" y="32.0">이벤트</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="485.0,130.5 390.0,130.5 390.0,263.0 295.0,263.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="384.9" y="182.8" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="414.0" y="197.8">다국어 조회</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="785.0,281.0 815.0,281.0 815.0,204.0 785.0,204.0 785.0,272.0 815.0,272.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="778.8" y="162.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="804.5" y="177.0">번역 요청</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="1005.0,272.0 910.0,272.0 910.0,120.4 815.0,120.4" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="908.2" y="182.2" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="934.0" y="197.2">번역 결과</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="910.0,159.0 910.0,350.0 390.0,350.0 390.0,304.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="693.4" y="308.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="722.5" y="323.0">다국어 적재</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="910.0,159.0 910.0,350.0 690.0,350.0 690.0,304.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="846.8" y="308.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="872.5" y="323.0">적재 작업</text>
|
||||
<g id="node-mobile">
|
||||
<g class="actor-symbol emphasis-normal" data-evidence="1-1"><circle cx="170.0" cy="115.0" r="11.0" /><line x1="170.0" y1="131.0" x2="170.0" y2="150.0" /><line x1="152.0" y1="141.0" x2="188.0" y2="141.0" /><line x1="170.0" y1="150.0" x2="155.0" y2="167.0" /><line x1="170.0" y1="150.0" x2="185.0" y2="167.0" /></g>
|
||||
<text class="node-label" x="170.0" y="172.0">배민 앱</text>
|
||||
</g>
|
||||
<g id="node-list">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="295.0" y="95.0" width="190.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="390.0" y="122.0">목록/상세 BFF</text>
|
||||
<line class="node-detail-divider" x1="309.0" y1="143.0" x2="471.0" y2="143.0" />
|
||||
<text class="node-detail" x="311.0" y="160.0">lang param</text>
|
||||
</g>
|
||||
<g id="node-cart">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="75.0" y="240.0" width="190.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="170.0" y="267.0">장바구니/주문 BFF</text>
|
||||
<line class="node-detail-divider" x1="89.0" y1="288.0" x2="251.0" y2="288.0" />
|
||||
<text class="node-detail" x="91.0" y="305.0">lang param</text>
|
||||
</g>
|
||||
<g id="node-fdh">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="1-1" x="295.0" y="240.0" width="190.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="390.0" y="270.0">FDH</text>
|
||||
</g>
|
||||
<g id="node-source-data">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1-1" x="595.0" y="105.7" width="190.0" height="42.7" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="690.0" cy="105.7" rx="95.0" ry="10.7" /><path class="storage-bottom" d="M 595.0 148.3 A 95.0 10.7 0 0 0 785.0 148.3" />
|
||||
<text class="node-label" x="690.0" y="125.0">가게/메뉴</text>
|
||||
</g>
|
||||
<g id="node-worker">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="815.0" y="95.0" width="190.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="910.0" y="125.0">FDH Worker</text>
|
||||
</g>
|
||||
<g id="node-queue">
|
||||
<rect class="node-shape kind-queue emphasis-normal role-queue" data-evidence="1-1" x="595.0" y="240.0" width="190.0" height="64.0" rx="22" />
|
||||
<text class="node-label" x="690.0" y="270.0">Queue</text>
|
||||
</g>
|
||||
<g id="node-translator">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="815.0" y="240.0" width="190.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="910.0" y="270.0">LLM Translator</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="542" viewBox="0 0 1080 542" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">sequence runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the sequence profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"sequence","profile":"sequence"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1080" height="542" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="1-1" x="45.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="120.0" y="65.0">Client</text>
|
||||
<line class="lifeline" x1="120.0" y1="99.0" x2="120.0" y2="512.0" />
|
||||
<rect class="node-shape kind-participant emphasis-primary role-participant" data-evidence="1-1" x="255.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="330.0" y="65.0">Checkout API</text>
|
||||
<line class="lifeline" x1="330.0" y1="99.0" x2="330.0" y2="512.0" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="1-1" x="465.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="540.0" y="65.0">Payment Provider</text>
|
||||
<line class="lifeline" x1="540.0" y1="99.0" x2="540.0" y2="512.0" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="1-1" x="675.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="750.0" y="65.0">Orders DB</text>
|
||||
<line class="lifeline" x1="750.0" y1="99.0" x2="750.0" y2="512.0" />
|
||||
<rect class="node-shape kind-participant emphasis-normal role-participant" data-evidence="1-1" x="885.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="960.0" y="65.0">Event Bus</text>
|
||||
<line class="lifeline" x1="960.0" y1="99.0" x2="960.0" y2="512.0" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="120.0,140.0 330.0,140.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="189.2" y="114.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="225.0" y="129.0">1. 결제 요청</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="330.0,202.0 750.0,202.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="487.4" y="176.0" width="105.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="540.0" y="191.0">2. PENDING 기록</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="330.0,264.0 540.0,264.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="399.2" y="238.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="435.0" y="253.0">3. 승인 요청</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="540.0,326.0 330.0,326.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="399.2" y="300.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="435.0" y="315.0">4. 승인 응답</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="330.0,388.0 750.0,388.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="497.5" y="362.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="540.0" y="377.0">5. PAID 갱신</text>
|
||||
<polyline class="edge kind-publish style-dashed emphasis-primary semantic-dashed" points="330.0,450.0 960.0,450.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="572.4" y="424.0" width="145.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="645.0" y="439.0">6. payment.approved</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.0 KiB |
@@ -0,0 +1,200 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "sequence",
|
||||
"title": "sequence runtime fixture",
|
||||
"question": "Does the sequence logical composition render correctly?",
|
||||
"type": "sequence",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable sequence fixture.",
|
||||
"alt": "Executable technical diagram fixture for the sequence composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the sequence profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "sequence",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"payment-approval-sequence"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for sequence.",
|
||||
"focus_node": "api"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "client",
|
||||
"label": "Client",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "api",
|
||||
"label": "Checkout API",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "provider",
|
||||
"label": "Payment Provider",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "db",
|
||||
"label": "Orders DB",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "bus",
|
||||
"label": "Event Bus",
|
||||
"kind": "participant",
|
||||
"role": "participant",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "m1",
|
||||
"from": "client",
|
||||
"to": "api",
|
||||
"label": "결제 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 1
|
||||
},
|
||||
{
|
||||
"id": "m2",
|
||||
"from": "api",
|
||||
"to": "db",
|
||||
"label": "PENDING 기록",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 2
|
||||
},
|
||||
{
|
||||
"id": "m3",
|
||||
"from": "api",
|
||||
"to": "provider",
|
||||
"label": "승인 요청",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 3
|
||||
},
|
||||
{
|
||||
"id": "m4",
|
||||
"from": "provider",
|
||||
"to": "api",
|
||||
"label": "승인 응답",
|
||||
"kind": "response",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 4,
|
||||
"style": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "m5",
|
||||
"from": "api",
|
||||
"to": "db",
|
||||
"label": "PAID 갱신",
|
||||
"kind": "data",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 5
|
||||
},
|
||||
{
|
||||
"id": "m6",
|
||||
"from": "api",
|
||||
"to": "bus",
|
||||
"label": "payment.approved",
|
||||
"kind": "publish",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"order": 6,
|
||||
"style": "dashed",
|
||||
"emphasis": "primary"
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 50 KiB |
@@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1325" height="360" viewBox="0 0 1325 360" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">ports-adapters runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the ports-adapters profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"ports-adapters","profile":"ports-adapters"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="1325" height="360" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="1045.0,120.5 1075.0,120.5 1075.0,49.0 1050.0,49.0 1050.0,127.0 1080.0,127.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="1036.8" y="7.0" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="1059.2" y="22.0">JDBC</text>
|
||||
<polyline class="edge kind-dependency style-solid emphasis-normal" points="935.0,156.0 935.0,254.0 732.5,254.0 732.5,208.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="817.2" y="212.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="859.8" y="227.0">implements</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="255.0,265.5 285.0,265.5 285.0,124.0 255.0,124.0 255.0,193.0 285.0,193.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="286.6" y="131.2" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="309.0" y="146.2">call</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="650.0,250.0 680.0,250.0 680.0,124.0 640.0,124.0 640.0,184.0 670.0,184.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="668.2" y="123.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="704.0" y="138.0">requires</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="400.0,184.0 430.0,184.0 430.0,124.0 390.0,124.0 390.0,250.0 420.0,250.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="354.8" y="123.0" width="118.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="414.0" y="138.0">invoke use case</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="255.0,120.5 285.0,120.5 285.0,49.0 255.0,49.0 255.0,175.0 285.0,175.0" data-evidence="1-1" />
|
||||
<rect class="edge-label-bg" x="256.6" y="47.2" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="279.0" y="62.2">call</text>
|
||||
<g id="node-core">
|
||||
<polygon class="node-shape kind-domain emphasis-primary role-core" data-evidence="1-1" points="454.0,185.0 616.0,185.0 650.0,250.0 616.0,315.0 454.0,315.0 420.0,250.0" />
|
||||
<text class="node-role" x="535.0" y="204.0">«core»</text>
|
||||
<text class="node-label" x="535.0" y="240.0">Application Core</text>
|
||||
<line class="node-detail-divider" x1="434.0" y1="261.0" x2="636.0" y2="261.0" />
|
||||
<text class="node-detail" x="436.0" y="278.0">domain + use cases</text>
|
||||
</g>
|
||||
<g id="node-web">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-inbound-adapter" data-evidence="1-1" x="45.0" y="85.0" width="210.0" height="71.0" rx="7" />
|
||||
<text class="node-role" x="150.0" y="104.0">«inbound-adapter»</text>
|
||||
<text class="node-label" x="150.0" y="131.0">Web Adapter</text>
|
||||
<line class="node-detail-divider" x1="59.0" y1="152.0" x2="241.0" y2="152.0" />
|
||||
<text class="node-detail" x="61.0" y="169.0">REST · inbound</text>
|
||||
</g>
|
||||
<g id="node-batch">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-inbound-adapter" data-evidence="1-1" x="45.0" y="230.0" width="210.0" height="71.0" rx="7" />
|
||||
<text class="node-role" x="150.0" y="249.0">«inbound-adapter»</text>
|
||||
<text class="node-label" x="150.0" y="276.0">Test / Batch</text>
|
||||
<line class="node-detail-divider" x1="59.0" y1="297.0" x2="241.0" y2="297.0" />
|
||||
<text class="node-detail" x="61.0" y="314.0">inbound</text>
|
||||
</g>
|
||||
<g id="node-persistence">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-outbound-adapter" data-evidence="1-1" x="825.0" y="85.0" width="220.0" height="71.0" rx="7" />
|
||||
<text class="node-role" x="935.0" y="104.0">«outbound-adapter»</text>
|
||||
<text class="node-label" x="935.0" y="131.0">Persistence Adapter</text>
|
||||
<line class="node-detail-divider" x1="839.0" y1="152.0" x2="1031.0" y2="152.0" />
|
||||
<text class="node-detail" x="841.0" y="169.0">JPA · outbound</text>
|
||||
</g>
|
||||
<g id="node-in-port">
|
||||
<rect class="node-shape kind-interface emphasis-normal role-port" data-evidence="1-1" x="285.0" y="160.0" width="115.0" height="48.0" rx="22" />
|
||||
<text class="node-role" x="342.5" y="179.0">«port»</text>
|
||||
<text class="node-label" x="342.5" y="206.0">Input Port</text>
|
||||
</g>
|
||||
<g id="node-out-port">
|
||||
<rect class="node-shape kind-interface emphasis-normal role-port" data-evidence="1-1" x="670.0" y="160.0" width="125.0" height="48.0" rx="22" />
|
||||
<text class="node-role" x="732.5" y="179.0">«port»</text>
|
||||
<text class="node-label" x="732.5" y="206.0">Output Port</text>
|
||||
</g>
|
||||
<g id="node-db">
|
||||
<rect class="node-shape kind-database emphasis-normal role-external-system" data-evidence="1-1" x="1080.0" y="105.7" width="200.0" height="42.7" /><ellipse class="node-shape kind-database emphasis-normal role-external-system" cx="1180.0" cy="105.7" rx="100.0" ry="10.7" /><path class="storage-bottom" d="M 1080.0 148.3 A 100.0 10.7 0 0 0 1280.0 148.3" />
|
||||
<text class="node-label" x="1180.0" y="125.0">DB</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,234 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "ports-adapters",
|
||||
"title": "ports-adapters runtime fixture",
|
||||
"question": "Does the ports-adapters logical composition render correctly?",
|
||||
"type": "architecture",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable ports-adapters fixture.",
|
||||
"alt": "Executable technical diagram fixture for the ports-adapters composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the ports-adapters profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "ports-adapters",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"order-ports-adapters"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for ports-adapters.",
|
||||
"focus_node": "core"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "web",
|
||||
"label": "Web Adapter",
|
||||
"kind": "adapter",
|
||||
"role": "inbound-adapter",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"REST · inbound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "batch",
|
||||
"label": "Test / Batch",
|
||||
"kind": "adapter",
|
||||
"role": "inbound-adapter",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"inbound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "in-port",
|
||||
"label": "Input Port",
|
||||
"kind": "interface",
|
||||
"role": "port",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "port"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"label": "Application Core",
|
||||
"kind": "domain",
|
||||
"role": "core",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "hexagon",
|
||||
"emphasis": "primary",
|
||||
"details": [
|
||||
"domain + use cases"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "out-port",
|
||||
"label": "Output Port",
|
||||
"kind": "interface",
|
||||
"role": "port",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "port"
|
||||
},
|
||||
{
|
||||
"id": "persistence",
|
||||
"label": "Persistence Adapter",
|
||||
"kind": "adapter",
|
||||
"role": "outbound-adapter",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"JPA · outbound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "db",
|
||||
"label": "DB",
|
||||
"kind": "database",
|
||||
"role": "external-system",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database"
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "web-port",
|
||||
"from": "web",
|
||||
"to": "in-port",
|
||||
"label": "call",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "batch-port",
|
||||
"from": "batch",
|
||||
"to": "in-port",
|
||||
"label": "call",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "port-core",
|
||||
"from": "in-port",
|
||||
"to": "core",
|
||||
"label": "invoke use case",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "core-out",
|
||||
"from": "core",
|
||||
"to": "out-port",
|
||||
"label": "requires",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "adapter-out",
|
||||
"from": "persistence",
|
||||
"to": "out-port",
|
||||
"label": "implements",
|
||||
"kind": "dependency",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "adapter-db",
|
||||
"from": "persistence",
|
||||
"to": "db",
|
||||
"label": "JDBC",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 25 KiB |
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="854" height="300" viewBox="0 0 854 300" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">comparison runtime fixture</title>
|
||||
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the comparison profile.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"comparison","profile":"comparison"},"source_context":{"document":"examples/runtime-profiles/fixture.md","document_sha256":"0000000000000000000000000000000000000000000000000000000000000000","anchor":{"kind":"line","value":1,"line":1}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
</marker>
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
||||
.canvas { fill: #ffffff; }
|
||||
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
||||
.group-label-bg { fill: #ffffff; }
|
||||
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
||||
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
||||
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
||||
.edge.style-dotted { stroke-dasharray: 2 5; }
|
||||
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.edge.emphasis-muted { stroke: #9ca3af; }
|
||||
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
||||
.edge-label-bg { fill: #ffffff; }
|
||||
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
||||
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
||||
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
||||
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
||||
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
||||
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
||||
.node-shape.assumption { stroke-dasharray: 4 4; }
|
||||
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
||||
.controller-led { fill: #4b5563; }
|
||||
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
||||
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
||||
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
||||
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
||||
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
||||
.node-detail { font-size: 11px; fill: #374151; }
|
||||
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
||||
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
||||
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
||||
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
||||
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
||||
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
||||
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
||||
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
||||
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="854" height="300" />
|
||||
<g id="node-transaction">
|
||||
<rect class="node-shape kind-interface emphasis-primary role-contract" data-evidence="1-1" x="45.0" y="45.0" width="220.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="155.0" y="72.0">TransactionPort</text>
|
||||
<line class="node-detail-divider" x1="59.0" y1="93.0" x2="251.0" y2="93.0" />
|
||||
<text class="node-detail" x="61.0" y="110.0">세션 모델: Spring 구현</text>
|
||||
<text class="node-detail" x="61.0" y="126.0">책임: commit / rollback</text>
|
||||
<text class="node-detail" x="61.0" y="142.0">현재: 독립 계약</text>
|
||||
</g>
|
||||
<g id="node-lock">
|
||||
<rect class="node-shape kind-interface emphasis-primary role-contract" data-evidence="1-1" x="317.0" y="45.0" width="220.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="427.0" y="72.0">DistributedLockPort</text>
|
||||
<line class="node-detail-divider" x1="331.0" y1="93.0" x2="523.0" y2="93.0" />
|
||||
<text class="node-detail" x="333.0" y="110.0">세션 모델: 호출자 0</text>
|
||||
<text class="node-detail" x="333.0" y="126.0">책임: acquire / release</text>
|
||||
<text class="node-detail" x="333.0" y="142.0">현재: 독립 계약</text>
|
||||
</g>
|
||||
<g id="node-future">
|
||||
<rect class="node-shape kind-concept emphasis-warning role-option" data-evidence="1-1" x="589.0" y="45.0" width="220.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="699.0" y="79.5">Future lifecycle</text>
|
||||
<line class="node-detail-divider" x1="603.0" y1="100.5" x2="795.0" y2="100.5" />
|
||||
<text class="node-detail" x="605.0" y="117.5">acquire → commit → release</text>
|
||||
<text class="node-detail" x="605.0" y="133.5">통합 시 순서 명시 필요</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "comparison",
|
||||
"title": "comparison runtime fixture",
|
||||
"question": "Does the comparison logical composition render correctly?",
|
||||
"type": "concept",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable comparison fixture.",
|
||||
"alt": "Executable technical diagram fixture for the comparison composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the comparison profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "comparison",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"contract-comparison"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for comparison."
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "transaction",
|
||||
"label": "TransactionPort",
|
||||
"kind": "interface",
|
||||
"role": "contract",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"세션 모델: Spring 구현",
|
||||
"책임: commit / rollback",
|
||||
"현재: 독립 계약"
|
||||
],
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "lock",
|
||||
"label": "DistributedLockPort",
|
||||
"kind": "interface",
|
||||
"role": "contract",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"세션 모델: 호출자 0",
|
||||
"책임: acquire / release",
|
||||
"현재: 독립 계약"
|
||||
],
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "future",
|
||||
"label": "Future lifecycle",
|
||||
"kind": "concept",
|
||||
"role": "option",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"acquire → commit → release",
|
||||
"통합 시 순서 명시 필요"
|
||||
],
|
||||
"emphasis": "warning"
|
||||
}
|
||||
],
|
||||
"edges": [],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 MiB |