I will chime in with the others that are warning you of the dangers of leaving an unspayed Yorkie unattended on a leash outside alone...don't do it!
You've just seen one perfect example as to why you should never do this. An unplanned litter with a little one this young should not have been allowed to occur. I have to agree with another poster...I shudder to think if a 100 lb male had gotten to her!
If you must let her outdoors and she has issues with running away, you should consider being with her while she is on a harness & leash at all times or if you want her to be able to have some time to run around invest in a X-Pen for the yard & pull up a chair while you keep an eye on her.
Lastly, please get your girl spayed...that's responsible pet ownership!