Auto-Routing

See this page in the Mac Manual
Auto-Routing Optimize Route