Mermaid Event Model with MAIDR

Each time frame's entity is read in its swimlane -- UI, commands and read models, events -- with its frame, along the flow between them.

eventmodeling

tf 01 ui CartUI
tf 02 cmd AddItem
tf 03 evt ItemAdded

rf 04 evt External.InventoryChanged
tf 05 pcr InventoryProcessor
tf 06 cmd ChangeInventory
tf 07 evt Cart.InventoryChanged