feat(edges): add labelBgBorderRadius option closes #421

This commit is contained in:
moklick
2020-08-12 13:00:54 +02:00
parent f65a29d96a
commit ee74c90f15
10 changed files with 35 additions and 4 deletions
+4
View File
@@ -98,6 +98,10 @@ const useElementUpdater = (propElements: Elements): void => {
edgeProps.labelBgPadding = propEdge.labelBgPadding;
}
if (typeof propEdge.labelBgBorderRadius !== 'undefined') {
edgeProps.labelBgBorderRadius = propEdge.labelBgBorderRadius;
}
if (typeof labelBgStyle !== 'undefined') {
edgeProps.labelBgStyle = labelBgStyle;
}