Add router state machine diagram to docs