--- a/Graphics/UMLClassDiagramBuilder.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Graphics/UMLClassDiagramBuilder.py Sun Nov 03 15:58:22 2013 +0100 @@ -107,10 +107,9 @@ self.allModules[self.file].append(className) if cw and cw.noAttrs != self.noAttrs: cw = None - if cw and not (cw.external and \ + if cw and not (cw.external and (className in module.classes or - className in module.modules) - ): + className in module.modules)): if cw.scene() != self.scene: self.scene.addItem(cw) cw.setPos(10, 10) @@ -279,10 +278,10 @@ for route in routes: if len(route) > 1: assoc = AssociationItem( - self.__getCurrentShape(route[1]), - self.__getCurrentShape(route[0]), - Generalisation, - topToBottom=True) + self.__getCurrentShape(route[1]), + self.__getCurrentShape(route[0]), + Generalisation, + topToBottom=True) self.scene.addItem(assoc) def getPersistenceData(self):