Further progress in implementing arcs in diagrams backend.