do not overwrite createDiagram method during code generation