First version of the diagram