Hi,
how does dist_map of graph_tool.topology.shortest_distance indicate that two vertices are not connected. Is the value simply set to 2147483647?
Best regards,
Christopher