---
config:
  look: handDrawn
  layout: fixed
  theme: forest
---
flowchart LR
 subgraph cluster_loop["while loop"]
        C["process"]
        B["loop condiction"]
        D["accept_item"]
        E["skip_item"]
  end
    A["start"] L_A_B_0@--> B
    B -- True --> C
    C -- accept --> D
    C -- skip --> E
    D --> B
    E --> B
    B --> F["finish"]

    B@{ shape: diam}
     C:::flowbox
     D:::flowbox
     E:::flowbox
     A:::flowbox
     F:::flowbox
    classDef flowbox fill:#c5f5c5,stroke:#333
    classDef loopstyle fill:#ffffcc,stroke-dasharray: 5 5,stroke:#333
    style B fill:#c5f5c5,stroke:#333
    style cluster_loop stroke:#FFD600,fill:#FFF9C4

    L_A_B_0@{ curve: linear }