Adjust class diagram label size

This commit is contained in:
Tyler Long
2017-04-22 22:31:18 +08:00
parent c63d556cf8
commit 97b9edf7c3
2 changed files with 3 additions and 2 deletions

View File

@@ -200,8 +200,8 @@ var drawEdge = function (elem, path, relation) {
.attr('class', 'box')
.attr('x', bounds.x - conf.padding / 2)
.attr('y', bounds.y - conf.padding / 2)
.attr('width', bounds.width + 2 * conf.padding / 2)
.attr('height', bounds.height + 2 * conf.padding / 2)
.attr('width', bounds.width + conf.padding)
.attr('height', bounds.height + conf.padding)
}
edgeCount++

View File

@@ -24,6 +24,7 @@ svg .classLabel .box {
svg .classLabel .label {
fill: @nodeBorder;
font-size: 10px;
}
.relation {