Each example is a complete .moment file beside the Facet flow it compiles into. The diagram is a build artifact of the spec — never drawn by hand.
context "Ordering" [Core] event OrderPlaced orderId: UUID items: LineItem[] context "Fulfillment" [Supporting] command InitiateFulfillment flow "order-placed" moment "Submission" ordering: OrderPlaced crosses-to fulfillment via CustomerSupplier contract { orderId, items } triggers InitiateFulfillment
context "Payments" [Core] event PaymentAuthorized event PaymentCaptured event PaymentRefunded flow "settlement" saga "capture-or-refund" moment "Authorize" payments: PaymentAuthorized triggers CapturePayment until PaymentCaptured | PaymentRefunded
flow "customer-onboarding" moment "SignUp" identity: AccountCreated crosses-to billing contract { accountId, plan } moment "Provision" billing: SubscriptionStarted crosses-to workspace contract { accountId, seats } triggers ProvisionWorkspace
Every one of these is a plain .moment file. Clone the repo and render your first flow in minutes.