diff -r 87f521f359d5 -r 6ba3564b7161 eric6/Graphics/PackageDiagramBuilder.py --- a/eric6/Graphics/PackageDiagramBuilder.py Thu Apr 29 17:39:17 2021 +0200 +++ b/eric6/Graphics/PackageDiagramBuilder.py Fri Apr 30 19:54:20 2021 +0200 @@ -430,13 +430,13 @@ @param routes list of relationsships """ - from .AssociationItem import AssociationItem, Generalisation + from .AssociationItem import AssociationItem, AssociationType for route in routes: if len(route) > 1: assoc = AssociationItem( self.__getCurrentShape(route[1]), self.__getCurrentShape(route[0]), - Generalisation, + AssociationType.GENERALISATION, topToBottom=True, colors=self.umlView.getDrawingColors()) self.scene.addItem(assoc)