Mermaid Flowchart with MAIDR

Left and right walk the steps in flow order; down opens a subgraph. The rotor's Outputs and Inputs follow the arrows, and each arrow's label is read with it.

flowchart LR
  order[Order received] --> stock{In stock?}
  stock -->|yes| pack[Pack items]
  stock -->|no| back[Back-order]
  back --> stock
  subgraph shipping [Shipping]
    pack --> label[Print label]
    label --> ship([Ship])
  end