Optimized coding in View and Model regarding colouring of lines
Optimized coding