[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Mon Mar 12 09:50:02 UTC 2012
SVN commit 1285122 by habacker:
Added association multiplicity to dot export.
M +4 -0 dotgenerator.h
--- trunk/KDE/kdesdk/umbrello/umbrello/dotgenerator.h #1285121:1285122
@@ -259,11 +259,15 @@
QString headLabel = assoc->roleName(swapId ? Uml::B : Uml::A);
QString tailLabel = assoc->roleName(swapId ? Uml::A : Uml::B);
+
if (!headLabel.isEmpty())
headLabel.prepend("+");
if (!tailLabel.isEmpty())
tailLabel.prepend("+");
+ headLabel += QLatin1String(" ") + assoc->multiplicity(swapId ? Uml::B : Uml::A);
+ tailLabel += QLatin1String(" ") + assoc->multiplicity(swapId ? Uml::A : Uml::B);
+
QString edgeParameters;
QStringList params;
QString rkey = QLatin1String("ranking::") + key;
More information about the umbrello-devel
mailing list