Navigating in a Graph by Aid of Its Spanning Tree Metric