Files
temporal/docs/_assets/matching-context.d2
Stephan Behnke 648daa7d2e Define layout engine in d2 file (#9697)
## 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>
2026-03-30 17:08:45 +00:00

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