Shop layout is all about making the best use of space. Place your machines so that you have adequate “safe space” that you need to work around them. The “buffer area” beyond that is the amount of room you need to run large stock though a given machine, keeping in mind that buffer areas can overlap between machines. If you want to get more organized, buy some 1/4-inch squared paper, make scale models of each machine including the safe space around each, and place them on your model shop layout. Remember that buffer areas need to be long enough to put an 8' sheet through a table saw, or a 6' plank through your planer, for instance. I raised my planer, so that I can use the area above my router table to pass long planks through the planer – all it takes is some modelling, and a little shuffling, and you will find the layout that works for you. Each space will have challenges; I had the area under the stairs that was wasted space, so I installed the dust collector there.
Unless you’re a big fan of frequent shop remodeling, planning the layout of your workshop early in its development will save you a lot of time and trouble and also can keep you from spending years in an uncomfortable, poorly organized space. And if you already work in a shop that’s as organized as a trailer park after a tornado, careful planning and a little remodeling is likely to help you make a quantum leap.