#1694 Applying styles from the graph definition for flowcharts

This commit is contained in:
Knut Sveidqvist
2020-09-23 19:51:16 +02:00
parent f856782528
commit ce23316008
4 changed files with 28 additions and 2 deletions

View File

@@ -261,6 +261,7 @@ const rect = (parent, node) => {
rect
.attr('class', 'basic label-container')
.attr('style', node.style)
.attr('rx', node.rx)
.attr('ry', node.ry)
.attr('x', -bbox.width / 2 - halfPadding)