```
graph TD

    %% Node Definitions
    d5{"Are PDTs clogging up your scratch schema?"}
    d6{"What is the build reason in the PDT Activity dashboard?"}
    h5["Check for a hung reaper."]
    h6["Change the scratch schema name for this connection."]
    h7["Another user may be manually rebuilding PDTs."]
    h8["Another PDT triggered this PDT to build."]
    h9["The PDT was built because of a trigger or initial build."]

    %% Connections
    d5 -- "Yes" --> h5
    d5 -- "No" --> d6
    d6 -- "Table not in scratch schema" --> h6
    d6 -- "Manual Rebuild" --> h7
    d6 -- "Dependent PDT Build" --> h8
    d6 -- "Other" --> h9

    %% Styling

    classDef decision fill:#D8EED8,stroke:#000,stroke-width:2px,font-weight:normal;
    class d5,d6 decision

    classDef solution fill:#FEF6E0,stroke:#000,stroke-width:2px,font-weight:normal;
    class h5,h6,h7,h8,h9 solution

    %% Click events

    click h5 href "https://cloud.google.com/looker/docs/best-practices/pdt-troubleshooting#too_many_pdts_in_scratch_schema"
    click h6 href "https://cloud.google.com/looker/docs/best-practices/pdt-troubleshooting#check_build_reason_in_pdt_activity_dashboard"
    click h7 href "https://cloud.google.com/looker/docs/best-practices/pdt-troubleshooting#check_build_reason_in_pdt_activity_dashboard"
    click h8 href "https://cloud.google.com/looker/docs/best-practices/pdt-troubleshooting#check_build_reason_in_pdt_activity_dashboard"
    click h9 href "https://cloud.google.com/looker/docs/best-practices/pdt-troubleshooting#check_build_reason_in_pdt_activity_dashboard"

```