export let widget_c4_boundary = (b) => {
let w = attr_or(b, "width", 200)
let h = attr_or(b, "height", 120)
let name = attr_or(b, "label", "Boundary")
let color = attr_or(b, "color", "var(--color-nav-border)")
let border_stroke = attr_or(b, "border_stroke", color)
let label_fill = attr_or(b, "label_fill", "currentColor")
[
{ kind = "rect", x = 0, y = 0, width = w, height = h, rx = 4,
fill = attr_or(b, "surface_fill", "none"), stroke = border_stroke, stroke_width = 2, stroke_dasharray = "8,4" },
{ kind = "text", x = 8, y = 4, width = w - 16, height = 18,
content = name, font_size = 12, anchor = "start", fill = label_fill }
]
}
// ----- UML shapes -----