eric6/Graphics/ImportsDiagramBuilder.py

changeset 8270
6ba3564b7161
parent 8257
28146736bbfc
child 8273
698ae46f40a4
child 8277
ea734702ae94
equal deleted inserted replaced
8269:87f521f359d5 8270:6ba3564b7161
243 """ 243 """
244 Private method to generate the associations between the module shapes. 244 Private method to generate the associations between the module shapes.
245 245
246 @param shapes list of shapes 246 @param shapes list of shapes
247 """ 247 """
248 from .AssociationItem import AssociationItem, Imports 248 from .AssociationItem import AssociationItem, AssociationType
249 for module in list(shapes.keys()): 249 for module in list(shapes.keys()):
250 for rel in shapes[module][1]: 250 for rel in shapes[module][1]:
251 assoc = AssociationItem( 251 assoc = AssociationItem(
252 shapes[module][0], shapes[rel][0], 252 shapes[module][0], shapes[rel][0],
253 Imports, 253 AssociationType.IMPORTS,
254 colors=self.umlView.getDrawingColors()) 254 colors=self.umlView.getDrawingColors())
255 self.scene.addItem(assoc) 255 self.scene.addItem(assoc)
256 256
257 def getPersistenceData(self): 257 def getPersistenceData(self):
258 """ 258 """

eric ide

mercurial