--- a/eric6/Graphics/ApplicationDiagramBuilder.py Wed May 05 17:29:41 2021 +0200 +++ b/eric6/Graphics/ApplicationDiagramBuilder.py Wed May 05 18:17:24 2021 +0200 @@ -434,3 +434,15 @@ self.initialize() return True + + def toDict(self): + """ + Public method to collect data to be persisted. + + @return dictionary containing data to be persisted + @rtype dict + """ + return { + "project_name": self.project.getProjectName(), + "no_modules": self.noModules, + }