Naming Simple Lines

I have now written the code to generate diagrams like this. I have got the colours to roughly cycle, but I am wondering if I need...