There are some useful tools in Stellaris that aren't exactly well advertised, that people might not know even when they've put in the hours!
Here's one: you can restrict a system so that your ships automatically path around it and not, say, directly into the leviathan. It's a button on the bottom of the screen in the system view.
Thank you ๐