mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? Moved decision which d2 layout engine to use into file. ## Why? Allows each file to pick the right layout engine for itself. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
68 lines
1.3 KiB
Plaintext
68 lines
1.3 KiB
Plaintext
# https://d2lang.com
|
|
# Generate SVG by running `make` inside of `docs/`.
|
|
|
|
vars: {
|
|
d2-config: {
|
|
layout-engine: elk
|
|
}
|
|
}
|
|
|
|
Cluster: {
|
|
grid-rows: 2
|
|
vertical-gap: 10
|
|
|
|
label: "Temporal Cluster"
|
|
style.fill: transparent
|
|
style.stroke-dash: 3
|
|
style.double-border: false
|
|
|
|
Server: {
|
|
grid-columns: 3
|
|
horizontal-gap: 120
|
|
|
|
style.fill: transparent
|
|
style.stroke-dash: 3
|
|
|
|
History: {
|
|
style.multiple: true
|
|
}
|
|
Matching: {
|
|
style.multiple: true
|
|
}
|
|
Frontend: {
|
|
style.multiple: true
|
|
}
|
|
}
|
|
Database: {
|
|
label: ""
|
|
style.opacity: 0
|
|
|
|
grid-columns: 3
|
|
horizontal-gap: 120
|
|
vertical-gap: 10
|
|
|
|
placeho1.style.opacity: 0 # hack to align Database
|
|
Database: {
|
|
label: "Database"
|
|
style.border-radius: 100
|
|
}
|
|
}
|
|
}
|
|
|
|
Outside: {
|
|
grid-rows: 2
|
|
vertical-gap: 10
|
|
horizontal-gap: 20
|
|
style.opacity: 0
|
|
|
|
Worker: {
|
|
style.multiple: true
|
|
}
|
|
placeho.style.opacity: 0 # hack to align Worker
|
|
}
|
|
|
|
Outside.Worker -> Cluster.Server.Frontend: Poll Tasks
|
|
Cluster.Server.Frontend -> Cluster.Server.Matching: Poll Tasks
|
|
Cluster.Server.History <-> Cluster.Server.Matching: Add Tasks \n Record Start
|
|
Cluster.Server.Matching <-> Cluster.Database.Database
|