Trace field
The parts of a car's braking and body system, wired to the requirements they satisfy. Each link is lit by its last test verdict: passing, flaky, failing or not tested. It does the job of the anfra Declination app.
archec new my-app --kind data-app --template trace-field
archec ui preview my-app/main.arche --serve
What it shows#
- Four tiles: the links, the share passing, those failing, those not tested.
canvas field "…" { links part, requirement in Trace; split status }: the parts on the left, the requirements on the right, a curve per link, coloured by its verdict. A part or a requirement takes the colour of its worst link. Hovering one shows its links alone; a click keeps them shown.- The verdicts, and the parts with their failing and untested links.
The data#
data/trace.csv: a link a row:part,requirement,status,cases. The links are thesatisfiesof the model's components. In a real project,archec status --jsonand the test evidence give each link's verdict.
Limits#
- The drawing is two columns: a part that satisfies through another part is not followed.
- Many links (more than a few hundred) make the curves hard to tell apart: filter first.
The model is lib/data-apps/trace-field/main.arche, and the gallery lists
the other templates.