On the connection between the vertex function in coordinate space and in momentum space (I). Formalism