Launch navigator to more than two points

I want to launch external navigation to more than just the origin and destiny, I want to have the option to send an array of waypoints(or something like that), with different lat and long. Someone did something similar or have a repo to give me an example? Thanks for the help in advance.

Launch Navigator