Chord type handling and node coloring