Maybe this is useful to you? It’s about generating automated descriptive documents, not sure how to create diagrams (if possible at all):