Change from graph_adjacents to graph_adjacent_head in graph_metric