Platform spans
Ingress spans the width; core owns height; ops shares a band. Spans without a canvas.
Edit source — diagram updates live
Source
diagram "Grid spans" {
direction LR
presentation {
title: "Grid spans"
titleSubtitle: "colSpan full-width bands and rowSpan tall columns"
}
layout {
density: normal
}
group platform {
arrange: grid
columns: [edge, core, data]
rows: 3
align: stretch
group ingress "Ingress" {
row: 1
colSpan: 3
arrange: pack
cdn: external "CDN" { icon: globe }
gateway: gateway "API Gateway" { icon: waypoints }
}
group edgePlane "Edge" {
column: edge
row: 2
arrange: pack
auth: service "Auth" { icon: shield-check }
}
group core "Core" {
column: core
row: 2
rowSpan: 2
arrange: stack
checkout: service "Checkout" { icon: shopping-cart }
billing: service "Billing" { icon: credit-card }
}
group data "Data" {
column: data
row: 2
arrange: stack
db: database "Postgres" { icon: logos:postgresql }
cache: cache "Redis" { icon: logos:redis }
}
group ops "Ops" {
row: 3
colSpan: 2
column: edge
arrange: pack
metrics: service "Metrics" { icon: activity }
logs: service "Logs" { icon: scroll-text }
}
}
// Cross-cell edges only (avoid siblings inside pack/stack cells)
cdn -> auth
gateway -> checkout
gateway -> billing
auth -> checkout
checkout -> db
billing ..> cache
metrics ..> gateway
}
Try this
Shrink ingress colSpan and watch the band.