Ugly code, pretty text (First pass at the DistanceGraph)