Diagrams are pictorial representations of ideas. It associate semantic meanings to graphical artifacts.
On PKC, one may use simple textual data to generate diagrams, using the Diagrams extension.
There are some books on that directly relates to this concept: