ADR algorithm flowchart

I’m looking for a diagram of how the ADR is implemented. I suppose that RSSI and SNR is taken into account in the GW and in the node and based on this info the Network server sends a command to the node. But I need a flowchart for this algo.