Is a graph database better for shortest paths algorithms? Is a graph database better for shortest paths algorithms? database database