Epic Spaceman made a video about it where he showed how it looks from an outside perspective and our point of view while explaining a bunch of other things.
OP, they look through telescopes and figure out how far away the stars are. They record it in a little diagram on a computer and eventually they get a good idea of what it looks like from the outside.