It feels like 'order' should also reorder fragment colors, specially if it reorders fragment names, right?
When passing the above arguments, the user probably wants "A"->"red", "B"->"green", "C"->"blue" regardless of order being [0,1,2], [2,1,0] or whatever.
E.g., when trying different orders, you want a each arch conserving color accross trials, to be able to "follow" them visually, right?
PS: I accidentally (pushed directly from terminal) created the branch 'fix_colors' in your original repo instead of my fork. I deleted it already, I think I should never push to yours. That was an accident, sorry!
EDIT: I closed the previous PR because I re-worded the commit message (fragments->chords)