refactor: 문서 개선 중
This commit is contained in:
@@ -10,18 +10,18 @@
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **Boundary: 종류별 테이블** (system): No additional description. Evidence: L1071–L1073.
|
||||
- **topic** (database): 주제. 축의 이름을 주제가 정한다. Evidence: L1057–L1059, L1067–L1068.
|
||||
- **topic_variant** (database): 축의 값들. Evidence: L1060–L1060, L1047–L1048.
|
||||
- **record_variant** (database): 어느 기록이 어느 축에 걸리는지 적는 자리. 외래키를 걸지 못한다. Evidence: L1061–L1061, L1071–L1073.
|
||||
- **document** (database): 기록 테이블 하나. Evidence: L1071–L1072.
|
||||
- **open_question** (database): 기록 테이블 하나. Evidence: L1071–L1072.
|
||||
- **project_decision** (database): 기록 테이블 하나. Evidence: L1071–L1072.
|
||||
- **Boundary: 종류별 테이블** (system): No additional description. Evidence: L1382–L1384.
|
||||
- **topic** (database): 주제. 축의 이름을 주제가 정한다. Evidence: L1368–L1370, L1377–L1379.
|
||||
- **topic_variant** (database): 축의 값들. Evidence: L1371–L1371, L1358–L1359.
|
||||
- **record_variant** (database): 어느 기록이 어느 축에 걸리는지 적는 자리. 외래키를 걸지 못한다. Evidence: L1372–L1372, L1382–L1384.
|
||||
- **document** (database): 기록 테이블 하나. Evidence: L1382–L1384.
|
||||
- **open_question** (database): 기록 테이블 하나. Evidence: L1382–L1384.
|
||||
- **project_decision** (database): 기록 테이블 하나. Evidence: L1382–L1384.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **topic → topic_variant:** 1 : N. Evidence: L1057–L1060.
|
||||
- **topic_variant → record_variant:** 축에 건다. Evidence: L1060–L1061.
|
||||
- **record_variant → document:** (kind, id). Evidence: L1061–L1073.
|
||||
- **record_variant → open_question:** (kind, id). Evidence: L1061–L1073.
|
||||
- **record_variant → project_decision:** (kind, id). Evidence: L1061–L1073.
|
||||
- **topic → topic_variant:** 1 : N. Evidence: L1368–L1371.
|
||||
- **topic_variant → record_variant:** 축에 건다. Evidence: L1371–L1372.
|
||||
- **record_variant → document:** (kind, id). Evidence: L1372–L1384.
|
||||
- **record_variant → open_question:** (kind, id). Evidence: L1372–L1384.
|
||||
- **record_variant → project_decision:** (kind, id). Evidence: L1372–L1384.
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph techviz {
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
subgraph cluster_0 {
|
||||
label="기록은 종류마다 다른 테이블에 산다";
|
||||
label="종류별 테이블";
|
||||
style="rounded,dashed";
|
||||
color="#66788a";
|
||||
n3 [label="document", shape=cylinder, style="rounded,filled"];
|
||||
|
||||
@@ -8,22 +8,22 @@
|
||||
<mxCell id="g_record-tables" value="종류별 테이블" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="1130.0" y="35.0" width="210.0" height="408.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_topic" value="topic<br/>variant_label" tooltip="주제. 축의 이름을 주제가 정한다. | Evidence: L1057-L1059, L1067-L1068" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxCell id="n_topic" value="topic<br/>variant_label" tooltip="주제. 축의 이름을 주제가 정한다. | Evidence: L1368-L1370, L1377-L1379" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="70.0" y="213.5" width="150.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_topic-variant" value="topic_variant<br/>SPA · Mediator · BFF · Forward-Auth" tooltip="축의 값들. | Evidence: L1060-L1060, L1047-L1048" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxCell id="n_topic-variant" value="topic_variant<br/>SPA · Mediator · BFF · Forward-Auth" tooltip="축의 값들. | Evidence: L1371-L1371, L1358-L1359" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="380.0" y="213.5" width="279.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_record-variant" value="record_variant<br/>(kind, id) 쌍 · 외래키 없음" tooltip="어느 기록이 어느 축에 걸리는지 적는 자리. 외래키를 걸지 못한다. | Evidence: L1061-L1061, L1071-L1073" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxCell id="n_record-variant" value="record_variant<br/>(kind, id) 쌍 · 외래키 없음" tooltip="어느 기록이 어느 축에 걸리는지 적는 자리. 외래키를 걸지 못한다. | Evidence: L1372-L1372, L1382-L1384" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="819.0" y="213.5" width="181.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_document" value="document" tooltip="기록 테이블 하나. | Evidence: L1071-L1072" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxCell id="n_document" value="document" tooltip="기록 테이블 하나. | Evidence: L1382-L1384" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1160.0" y="81.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_open-question" value="open_question" tooltip="기록 테이블 하나. | Evidence: L1071-L1072" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxCell id="n_open-question" value="open_question" tooltip="기록 테이블 하나. | Evidence: L1382-L1384" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1160.0" y="217.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_project-decision" value="project_decision" tooltip="기록 테이블 하나. | Evidence: L1071-L1072" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxCell id="n_project-decision" value="project_decision" tooltip="기록 테이블 하나. | Evidence: L1382-L1384" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="1160.0" y="353.0" width="150.0" height="64.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_t1" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_topic" target="n_topic-variant">
|
||||
|
||||
+5
-4
@@ -2,14 +2,14 @@
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "topic-variant-model",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "9877bf8caf67db577f45c1576cb30b722b4339578a9880267164f759c1c63df4",
|
||||
"spec_sha256": "22de32de9a4de3c4b242a01071f8461d27ca4bcbbcdec3c37606db6e2b21cdb9",
|
||||
"source_context": {
|
||||
"document": "document.md",
|
||||
"document_sha256": "93b9fec4884efa0e6231de07dc27e2b0ac36c9052d3720e28d102d9747ac4f8f",
|
||||
"document": "docs/TechLog/final/document.md",
|
||||
"document_sha256": "c3a7de37b778fff7b6ea555a3ad7338c91c6fb15d685e7734f89472b4924d955",
|
||||
"anchor": {
|
||||
"kind": "marker",
|
||||
"value": "topic-variant-model",
|
||||
"line": 1064
|
||||
"line": 1375
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -17,6 +17,7 @@
|
||||
"topic-variant-model.drawio",
|
||||
"topic-variant-model.mmd",
|
||||
"topic-variant-model.d2",
|
||||
"topic-variant-model.dot",
|
||||
"topic-variant-model.excalidraw",
|
||||
"topic-variant-model.alt.md"
|
||||
],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1385" height="488" viewBox="0 0 1385 488" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">주제 안의 축과 기록을 잇는 자리</title>
|
||||
<desc id="diagram-description">왼쪽에 topic 이 있고 variant_label 로 축의 이름을 스스로 정한다. 그 오른쪽에 topic_variant 가 있고 SPA, Mediator, BFF, Forward-Auth 같은 축의 값들을 담는다. 그 오른쪽에 record_variant 가 있고 어느 기록이 어느 축에 걸리는지를 종류와 아이디의 쌍으로 적는다. record_variant 는 오른쪽의 document, open_question, project_decision 세 테이블을 가리키는데, 기록이 종류마다 다른 테이블에 살기 때문에 외래키를 걸지 못하고 쌍으로만 가리킨다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"topic-variant-model","profile":"component-flow"},"source_context":{"document":"document.md","document_sha256":"93b9fec4884efa0e6231de07dc27e2b0ac36c9052d3720e28d102d9747ac4f8f","anchor":{"kind":"marker","value":"topic-variant-model","line":1064}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"topic-variant-model","profile":"component-flow"},"source_context":{"document":"docs/TechLog/final/document.md","document_sha256":"c3a7de37b778fff7b6ea555a3ad7338c91c6fb15d685e7734f89472b4924d955","anchor":{"kind":"marker","value":"topic-variant-model","line":1375}},"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" />
|
||||
@@ -53,49 +53,49 @@
|
||||
<rect class="group-box" x="1130.0" y="35.0" width="210.0" height="408.0" rx="8" />
|
||||
<rect class="group-label-bg" x="1144.0" y="25.0" width="90.0" height="22" />
|
||||
<text class="group-label" x="1154.0" y="40.0">종류별 테이블</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="220.0,249.0 300.0,249.0 300.0,249.0 380.0,249.0" data-evidence="1057-1060" />
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="220.0,249.0 300.0,249.0 300.0,249.0 380.0,249.0" data-evidence="1368-1371" />
|
||||
<rect class="edge-label-bg" x="274.2" y="207.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="300.0" y="222.0">1 : N</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="659.0,249.0 739.0,249.0 739.0,249.0 819.0,249.0" data-evidence="1060-1061" />
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="659.0,249.0 739.0,249.0 739.0,249.0 819.0,249.0" data-evidence="1371-1372" />
|
||||
<rect class="edge-label-bg" x="713.2" y="207.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="739.0" y="222.0">축에 건다</text>
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,231.0 1080.0,231.0 1080.0,113.0 1160.0,113.0" data-evidence="1061-1073" />
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,231.0 1080.0,231.0 1080.0,113.0 1160.0,113.0" data-evidence="1372-1384" />
|
||||
<rect class="edge-label-bg" x="1061.5" y="158.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1104.0" y="173.0">(kind, id)</text>
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,249.0 1080.0,249.0 1080.0,249.0 1160.0,249.0" data-evidence="1061-1073" />
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,249.0 1080.0,249.0 1080.0,249.0 1160.0,249.0" data-evidence="1372-1384" />
|
||||
<rect class="edge-label-bg" x="1037.5" y="207.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1080.0" y="222.0">(kind, id)</text>
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,267.0 1080.0,267.0 1080.0,385.0 1160.0,385.0" data-evidence="1061-1073" />
|
||||
<polyline class="edge kind-data style-dashed emphasis-normal" points="1000.0,267.0 1080.0,267.0 1080.0,385.0 1160.0,385.0" data-evidence="1372-1384" />
|
||||
<rect class="edge-label-bg" x="1061.5" y="312.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="1104.0" y="327.0">(kind, id)</text>
|
||||
<g id="node-topic">
|
||||
<rect class="node-shape kind-database emphasis-normal role-source" data-evidence="1057-1059,1067-1068" x="70.0" y="213.5" width="150.0" height="71.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-normal role-source" data-evidence="1368-1370,1377-1379" x="70.0" y="213.5" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="240.5">topic</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="261.5" x2="206.0" y2="261.5" />
|
||||
<text class="node-detail" x="86.0" y="278.5">variant_label</text>
|
||||
</g>
|
||||
<g id="node-topic-variant">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1060-1060,1047-1048" x="380.0" y="213.5" width="279.0" height="71.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1371-1371,1358-1359" x="380.0" y="213.5" width="279.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="519.5" y="240.5">topic_variant</text>
|
||||
<line class="node-detail-divider" x1="394.0" y1="261.5" x2="645.0" y2="261.5" />
|
||||
<text class="node-detail" x="396.0" y="278.5">SPA · Mediator · BFF · Forward-Auth</text>
|
||||
</g>
|
||||
<g id="node-record-variant">
|
||||
<rect class="node-shape kind-database emphasis-primary role-store" data-evidence="1061-1061,1071-1073" x="819.0" y="213.5" width="181.0" height="71.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-primary role-store" data-evidence="1372-1372,1382-1384" x="819.0" y="213.5" width="181.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="909.5" y="240.5">record_variant</text>
|
||||
<line class="node-detail-divider" x1="833.0" y1="261.5" x2="986.0" y2="261.5" />
|
||||
<text class="node-detail" x="835.0" y="278.5">(kind, id) 쌍 · 외래키 없음</text>
|
||||
</g>
|
||||
<g id="node-document">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1071-1072" x="1160.0" y="81.0" width="150.0" height="64.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1382-1384" x="1160.0" y="81.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="1235.0" y="111.0">document</text>
|
||||
</g>
|
||||
<g id="node-open-question">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1071-1072" x="1160.0" y="217.0" width="150.0" height="64.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1382-1384" x="1160.0" y="217.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="1235.0" y="247.0">open_question</text>
|
||||
</g>
|
||||
<g id="node-project-decision">
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1071-1072" x="1160.0" y="353.0" width="150.0" height="64.0" rx="7" />
|
||||
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1382-1384" x="1160.0" y="353.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="1235.0" y="383.0">project_decision</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Reference in New Issue
Block a user