visualize path and the given polygon