Chroma #1 You could calculate the distance in between each set of nodes and then compare them, choose the one with the shortest distance.