How do You Diagram a Sentence?

Diagramming a sentence can help a writer look at his/her sentence(s) and see if it follows the proper rules and structure. A sentence needs to have a subject and and a predicate.