Draw the inner chords as a quadratic path (similar to the circos diagram).
Refactor the code a bit.