Sentence Diagramming in Pressbooks

Has anyone created a pressbook that features sentence diagramming?

Ideally, we want to be able to render the sentence diagrams in some machine readable form so that people with screen readers have a chance of interacting with them. I’m thinking about using some sort of Latex plugin to do it, but if anyone has done this before and would be willing to send examples, that would be great. I’ve looked in the pressbooks directory and didn’t find anything. Thanks in advanced!