feat(edge-options): add labelBgPadding #421

This commit is contained in:
moklick
2020-08-11 10:36:22 +02:00
parent 6d651bdc98
commit 6bbc152041
10 changed files with 57 additions and 37 deletions
+4
View File
@@ -94,6 +94,10 @@ const useElementUpdater = (propElements: Elements): void => {
edgeProps.labelShowBg = propEdge.labelShowBg;
}
if (typeof propEdge.labelBgPadding !== 'undefined') {
edgeProps.labelBgPadding = propEdge.labelBgPadding;
}
if (typeof labelBgStyle !== 'undefined') {
edgeProps.labelBgStyle = labelBgStyle;
}