The distance matrix of a graph and its tree realization | Synapse