Curved Arrow Formalism