grelin_templates/feasibility/data/diagrams.typ
MORRO b8eed931ac Add Markdown-driven feasibility report with Typst styling pipeline.
Introduce cmarker/codly-based MD workflow, brutalist cover layout, and shared brand tokens so colleagues can author reports in report.md while the template handles PDF output.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 19:29:48 +08:00

34 lines
873 B
Plaintext
Raw Permalink 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: 8pt, 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),
)
}
}
}),
)