digraph HitlPatterns {
    start [shape=Mdiamond]
    plan [label="Plan"]
    approve [shape=hexagon, label="Approve Plan"]
    implement [label="Implement"]
    review [shape=hexagon, label="Review Changes"]
    custom [label="Handle Custom"]
    exit [shape=Msquare]

    start -> plan -> approve
    approve -> implement [label="[A] Approve"]
    approve -> plan      [label="[R] Revise"]
    approve -> exit      [label="[S] Skip"]
    implement -> review
    review -> exit      [label="[A] Approve"]
    review -> plan      [label="[R] Revise"]
    review -> custom    [freeform=true]
    custom -> exit
}
