I've not got time to draw a diagram, but break it down into key sections.

Start with the mains.
Mains power in -> isolator switch.

Then it needs to split.
Via a Control (Enable) relay for the stepper power supply.
Power for the spindle (if VFD, then you can keep them permanently powered, and rely on the control wiring to start/stop things. If a standard router, then for safety you probably want an additional big relay for cutting power to it, that is controlled at the same time as the stepper power supply relay)
Power for the controller/control circuits, which should be permanently on.

Then think about the control wiring.
E-stop loop should directly control the enable relay, with a suitable signal fed to the controller.
Stepper drivers need the step/dir signals fed to the controller, but you'll need to check voltage levels, as the UNO might only output 3.3V, and most drivers need at least 5V, so you might need a buffer board.
Stepper driver enable signals would typically be controlled by the controller, but you can set them so they're permanently enabled and rely on the E-stop.