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. |