link distance, colors