Added option to colour connections by weight or delay

A check box indicates if the connections should have different colors
based on the weight or delay.