i think 'Auto-Illustrator' has a filter that does that kinda thing...
there is...
it's the 'DR text' filter...
maybe you could import your file into Auto-Illustrator and then run the filter..?
http://www.auto-illustrator.com/…
thanks, something like that, but would just give me the x,y positions for each node