
You can overcome this problem!
But - do not succumb to the temptation to rush things. To start with, keep her away from people, really, long long way away. Turn and go the other way rather than pass someone on the pavement, cross the road, hide if you have to and distract and reward her with VERY high value treats.
If you have to have people to the house, put her in another room with something really good to do - if they are going to be there long enough that she will become upset by this, bring her into the room on a lead (have them sit where you won't pass them closely) and then sit as far away as possible and again distract her with rewards.
Ask the visitor to stay seated until you remove her from the room as someone suddenly moving can trigger a fearful reaction, as you have found out!
Do NOT have guests or strangers at this point, feed her. Instead YOU reward her, the next stage will be to have a few trusted people (trusted to do exactly as you say, to the letter, and not get clever and think for themselves), one per visit, toss high value rewards too her (and in fact, past her, not in any way luring her to move forwards towards them, sideways and back away from them is much better).
That does two things - she starts to associate people directly with good things and throwing food to the side and behind her so she must move reminds her she has other options than approaching them. Fearful dogs forget this and tend to focus only on the source of their fear!
Its also really important to remember that stress levels go up fast and come down slowly, imagine her as a dog shaped water glass - fills up quickly from the tap, takes a loooooooong time for the contents to evaporate though. So each incident, good OR bad, creates stress which takes days to dissipate. Therefore, do not think you can build on success progressively, ie, one person today, two persons tomorrow, or that you can replace a bad experience one day with setting up a good one of equal difficulty the next; ie, if she freaks out at someone on Monday, forget Tuesday.. do something simple on Wednesday and maybe think about setting up a good experience on Thursday.
This latter thing is why people think what they are doing is not working, they think 'well Fido coped with seeing one person yesterday, and one person the day before, why has he freaked out at one person today..' the answer is that seeing one person two days in a row was just about tolerable, but the third time, the 'water glass' of stress overflowed, it hadn't had time to evaporate!
Also harden your heart to what people think and expect - IF you mess up, do NOT tell her off. People will expect you to do so, but don't, as you will only be adding to her stress and not helping.