add visualization for the path