Graphics/ApplicationDiagramBuilder.py

changeset 3035
36e9f388958b
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3071
83d066710d60
equal deleted inserted replaced
3034:7ce719013078 3035:36e9f388958b
244 """ 244 """
245 from .AssociationItem import AssociationItem, Imports 245 from .AssociationItem import AssociationItem, Imports
246 for package in shapes: 246 for package in shapes:
247 for rel in shapes[package][1]: 247 for rel in shapes[package][1]:
248 assoc = AssociationItem( 248 assoc = AssociationItem(
249 shapes[package][0], shapes[rel][0], 249 shapes[package][0], shapes[rel][0],
250 Imports) 250 Imports)
251 self.scene.addItem(assoc) 251 self.scene.addItem(assoc)
252 252
253 def getPersistenceData(self): 253 def getPersistenceData(self):
254 """ 254 """
255 Public method to get a string for data to be persisted. 255 Public method to get a string for data to be persisted.

eric ide

mercurial