| name | svg |
| description | Generate SVG diagrams from a compact DSL with brand-resolved colors. Use for charts, flows, and schematic 2D graphics. |
feinbild — SVG diagrams
feinbild is a command on your PATH. Two steps: expand a .svg.dsl to .svg
(brand colors resolved), then render to PNG.
feinbild svg expand chart.svg.dsl --brand feinschliff
feinbild svg render chart.svg
feinbild verify chart.svg
--brand (or a leading @brand <name> line in the DSL) selects the brand;
render takes no brand (it consumes already-resolved colors). Write outputs
into the project so other plugins can consume them.
References
- DSL reference — canvas header, basic + extended
primitives, the 17-name semantic color vocabulary, the
virtual: viewport.
- Examples — small / medium charts (bar chart, stat
card grid, annotated chart).
- Deep examples — dense compositions with the
extended primitive set (
stacked_bar, brace, callout, swatch_grid,
label_box, polyline, path); see examples/yocto-build-pipeline.svg.dsl.
Workflow: author a .svg.dsl, run feinbild svg expand then feinbild svg render, inspect the PNG, and do at most one DSL fix loop before escalating to
the references above.