Just consider how vast a dyson sphere is, its not the size of a planet or a sun, or even a borg transwarp hub.
Its the size of the earth's orbit around the sun, although there's no reason it couldn't be bigger.
This is thousands if not millions of times bigger than a transwarp hub!