I have to admit, that I do not understand what point you are trying to make. To me "Word vs PDF" means a comparison between Word and PDF for choosing one or the other. How is that related to the use of libraries or drivers? How is that related to OP's question about a data exchange format that lets him/her edit diagrams in both yEd and Visio?