sdd:corners

sdd:corners styles an sdd:Edge's interior sdd:route waypoints — rounded or bevel (absent renders a plain angled line through the waypoint). Anchor endpoints are never styled by sdd:corners; it applies only where a route bends.

sdd:corners is projection geometry, not CSS: stroke-linejoin rounds at stroke-width scale, far too small to read as a corner at diagram scale. Instead, at each interior waypoint the renderer computes a radius clamped to half the length of the shorter adjacent segment, shortens both segments by that radius, and joins them with a quadratic Bézier (rounded) or a straight chamfer (bevel) — the clamp is what keeps a short segment from self-intersecting. Like sdd:route, it is an aesthetic token line: unmarked is cache, !corners pins it.