I think its very hard for anyone to understand unless we communicate to them. Eating disorders inspire fear and she sounds very scared of losing you, and she probably also feels helpless and like she doesn't know what she can do to help you (probably similar to how you felt about your friend, but showed it in a different way).
Have you tried talking to her since? Maybe print out some info and share it with her and also communicate to her how it is for you, what she could do that helps you, etc.