For source and target vertices connected by a path of less than max_distance, the function outputs their corresponding source and target vertex keys and the distance of the shortest path between them. The function does not output cycle information.
Output Table Schema
Column | Data Type | Description |
---|---|---|
source | INTEGER or VARCHAR | Source vertex key. |
target | INTEGER or VARCHAR | Target vertex key. |
distance | INTEGER | Distance of shortest path between the source and target vertices. |