cleanup and doc for creating of curved arrows