Trace sheet
A simulation trace as a spreadsheet. Every event of the run is a row; the tables group and pivot them. It does the job of the anfra Spreadsheet.
archec new my-app --kind data-app --template trace-sheet
archec ui preview my-app/main.arche --serve
What it shows#
- A filter bar: the event kind, the message, a search on the sender and the receiver.
- Four tiles: the events, the messages, the state changes, the nearest obstacle.
- The distance and the speed over the run.
- The messages by sender, with when each was first and last sent.
- The state changes as a table from one state to the next, and in order.
- Every event, fifteen to a page, with Export CSV.
The data#
data/run.jsonisarchec sim --json: runarchec sim main.arche --json --for 60s > data/run.jsonon your model.- Each event is a row: its
timein seconds, itskind,from,to,msg,part,state, and the fields of its payload (distance,speed).
Limits#
- A payload's fields are columns only when the dataset names them. Name the
fields of your own messages in its
measureline.
The model is lib/data-apps/trace-sheet/main.arche, and the gallery lists
the other templates.