ingFlow[&quot;Order Processing Flow&quot;]
        subgraph paymentFlow[&quot;Payment Flow&quot;]
            A[Validate Payment] --&gt;|process_payment| B[Process Payment]
            B --&gt;|payment_confirmation| C[Payment Confirmation]
            A --&gt;|reject_payment| D[Handle Rejection]
        end

        subgraph inventoryFlow[&quot;Inventory Flow&quot;]
            E[Check Stock] --&gt;|reserve_items| F[Reserve Items]
            F --&gt;|update_inventory| G[Update Inventory]
            E --&g