Sequence: Par Block

Parallel execution with `par`/`and` constructs.

sequence-par-block.mmd
sequenceDiagram
  participant C as Client
  participant A as AuthService
  participant U as UserService
  participant O as OrderService
  C->>A: Authenticate
  par Fetch user data
    A->>U: Get profile
  and Fetch orders
    A->>O: Get orders
  end
  A-->>C: Combined response
Output
Sequence diagram, Zombie Mermaid par [Fetch user data] [Fetch orders] Authenticate Get profile Get orders Combined response Client AuthService UserService OrderService

More Sequence diagram examples