Examples
Minimal
One bounded context, one Event, and one State Change workflow.
This small example introduces the syntax. It declares a pet identity field but no behavior scenarios. Review the business details before using it for implementation.
state_changeThe rendered canvas
Generated with emhcl diagram examples/minimal.em.hcl. Use the view switcher for Model, Compact, Storming, and Context Map. Click a slice to view its scenarios.
The source
Source file: examples/minimal.em.hcl.