Merge branch 'develop' into 1104(b)-SupportForAbstractMethodInClassDiagram

This commit is contained in:
Justin Greywolf
2019-12-11 10:31:27 -08:00
9 changed files with 342 additions and 17 deletions

View File

@@ -342,10 +342,16 @@ const drawClass = function(elem, classDef) {
isFirst = false;
});
let classTitleString = classDef.id;
if (classDef.type !== undefined && classDef.type !== '') {
classTitleString += '<' + classDef.type + '>';
}
// add class title
const classTitle = title
.append('tspan')
.text(classDef.id)
.text(classTitleString)
.attr('class', 'title');
// If class has annotations the title needs to have an offset of the text height