Repository navigation
Emboss v1.2.0
Added
- Six new diagram types, all exposed in the fluent API, JSON spec, Pydantic schema, and LLM spec prompt:
- Swimlanes:
doc.diagram(..., lanes=[...])-- banded columns/rows, one per lane. - Status-colored landscape / capability map:
ArchNode(status=...)draws a badge and an auto-generated legend. - Roadmap / timeline:
doc.roadmap(periods, workstreams, milestones=None)-- period-labeled workstream bars with milestone markers, no date arithmetic required. - Org chart:
doc.org_chart(nodes, edges)-- each parent centered over the full width its children occupy; a node with two parents, or a cycle, raisesValueError. - Gantt chart:
doc.gantt(tasks, milestones=None)-- the continuous-date counterpart to roadmap (real dates, progress, status, dependency arrows). - Force-directed layout:
doc.diagram(..., layout="force")-- a deterministic spring-embedder layout (fixed iterations, norandom()) for network topologies with no natural hierarchy.
- Swimlanes:
- Image/logo watermarks:
LegalFeatures(watermark_image=..., watermark_image_scale=1.0)alongside the existing text watermark.
Changed
spec_prompt()and the PydanticLegalConfigschema now explicitly instruct an LLM never to add a watermark, Bates numbering, or line numbering unless the user asked for one.
Full suite: 2226 passed, 5 skipped. ruff clean. CI and CodeQL green.