The diagram component

Describes the basic functions of the diagram component.