To extract all text from a diagram, use the text plugin by adding p=text to the URL, then go to Extract, Extract Text. Here is an example.