A diagram is a very broad term that contains various types and subtypes of diagrams dedicated to multiple purposes.
There are several classifications, but - again - in the most general level, we can divide the diagram family into three types:
"Diagram is abstract graphic portrayals of the subject matter they represent."
Richard K. Lowe "Diagrammatic information: techniques for exploring its mental representation and processing," 1993.