grelin_templates/tech-report/data/diagrams.typ
MORRO d83e6a99a9 Add tech-report and travel-plan templates, replacing feasibility.
Introduce tech-report/ with cover page, custom TOC, and summary flow; add travel-plan/ for trip planning; update README, gitignore, and brand colors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 13:56:22 +08:00

34 lines
877 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#import "@preview/cetz:0.3.4"
#import "theme.typ": *
#let ore-sorting-flow() = figure(
caption: [智能分选系统流程CeTZ 矢量示意)],
cetz.canvas(length: 0.85cm, {
import cetz.draw: *
let w = 1.7
let gap = 0.55
let labels = ("采集", "推理", "分选", "产出")
for (i, label) in labels.enumerate() {
let x = i * (w + gap)
rect(
(x, 0),
(x + w, 1),
radius: 0.12,
fill: color-brand.lighten(72%),
stroke: 1pt + color-brand,
)
content((x + w / 2, 0.5), align(center + horizon)[
#text(font: body-font, size: text-xs, fill: color-body)[#label]
])
if i < labels.len() - 1 {
line(
(x + w, 0.5),
(x + w + gap, 0.5),
stroke: 1pt + color-muted,
mark: (end: ">", fill: color-muted),
)
}
}
}),
)