Distance metrics and frameworks used for the distance calculation. Figures A, B, C and D represent the metrics available in PhylDiag. Distance values are calculated starting from the black dot. The warmer the colour, the closer the point from the black dot. Considering that the user chose the DPD, when backslash diagonals are merged, the backslash framework of figure E is used for the distance calculation. For a slash diagonal merge, the framework of figure F is used. Frameworks would have been built in the same fashion if another metric had been chosen.