layout.distance function

Provides a default way to convert a network into a set of euclidian distances suitable for MDS-style layout optimization.