for-each-anchor
for-each-anchor()
Iterates through all named anchors of an element and calls a callback for each one.
// Label nodes anchors
rect((0, 0), (2,2), name: "my-rect")
for-each-anchor("my-rect", exclude: ("start", "mid", "end"), (name) => {
content((), box(inset: 1pt, fill: white, text(8pt, [#name])), angle: -30deg)
})