How to find out the best flow for each applications types?
e.g:
is there any decision flowchart for that?
You should only use either the authorization code flow where users are involved or the client credential flow for machine to machine communication.
All other flows has been deprecated, take a look at the OAuth 2.1 specification for guidance.
Btw, OAuth 2.1 was just approved and you can hear all about it in this video.
Ps, I also wrote a OpenID Connect for Developers that covers the different flows.