> the equation string as a comment to the images
Yes some diagramming tools do this when exporting to PNG, this is a great feature