The red path is the optimal path calculated with GraphHopper and visualized via Swing. This was done a few years ago.
These days I would probably use deck.gl & the browser: https://www.graphhopper.com/blog/2018/07/04/high-precision-r...