Box
A thing in the diagram's arrangement. label: is the implicit attribute and is rich inline — maths, bold and !value all work — with sub: a second, smaller muted line beneath it. shape: carries the flowchart conventions: box (the default rounded rectangle), decision (the diamond), terminal (the pill), ellipse. With no at: the environment places it, layered along flow: by what its arrows connect; with at: it sits out of the arrangement at that fraction of the frame.
#Attributes
shape
box | decision | terminal | ellipse. The diamond and the pill are the flowchart conventions a reader already knows.Default
Out of the arrangement: the box's centre as fractions of the frame, top-left origin, y down. Boxes without it are placed by the environment.
colour
Also written: colorThe box fills with the hue's own tint and strokes deeper; unset, it sits quietly on the pane's ground.
#Allowed in
#Examples
box#pcr(label: PCR amplify; sub: 30 cycles)box#check(label: Enough DNA?; shape: decision; colour: orange)box#legend(at: 0.85, 0.1; label: Key)