create generator diagramms