[graph-tool] About the usage of weights in shortest_path