Examples
API screens
Clinic staff register pets and read the pet directory through the clinic API.
Each API request and each API response is a screen with kind = "api". The request screen sends the command. The response screen shows the read model. Both screens name the endpoint in api_endpoint. Spec v0.7.0 added the kind attribute.
state_change state_viewThe rendered canvas
Generated with emhcl diagram examples/api-screens.em.hcl. Use the chapter picker to choose a chapter, then the view switcher for its Model, Compact, and Storming views. Context Map covers the whole model. Click a slice to view its scenarios.
The source
Source file: examples/api-screens.em.hcl.