Realizing the distance matrix of a graph | Synapse