Files
document-haness/docs/TechLog/final/assets/diagrams/topic-variant-model/topic-variant-model.d2
T

29 lines
625 B
Plaintext

# 주제 안의 축과 기록을 잇는 자리
# Question: 하나의 질문에 대한 네 답을 무엇으로 담고, 기록은 어떻게 축에 걸리는가?
direction: right
g0: "기록은 종류마다 다른 테이블에 산다" {
n3: "document" {
shape: sql_table
}
n4: "open_question" {
shape: sql_table
}
n5: "project_decision" {
shape: sql_table
}
}
n0: "topic" {
shape: sql_table
}
n1: "topic_variant" {
shape: sql_table
}
n2: "record_variant" {
shape: sql_table
}
n0 -> n1: "1 : N"
n1 -> n2: "축에 건다"
n2 -> g0.n3: "(kind, id)"
n2 -> g0.n4: "(kind, id)"
n2 -> g0.n5: "(kind, id)"