                                             *fromLanelet);
// with
using ConstLaneletRelation = std::pair<ConstLanelet, RelationType>;
```

---

# 5. Query examples - Shortest Paths and Routes
#### Shortest Path
```cpp
ConstLanelets shortestPath = graph->shortestPath(*fromLanelet, 
                                    *toLanelet, routingCostId);
```
* `shortestPath` will be empty if there's no route.
* there's also `shortestPathWithIntermediate`

#### Get and write a route
```cpp
Optional<Route> route = gra