Added the flow diagram for atd. It is big.