Shortest path drawing on canvas.