A comprehensive model for acrotonic, mesotonic and basitonic branchings in plants