@digipair/skill-web-chatbot 0.113.0 → 0.114.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +7 -0
  2. package/{SAP-icons.cjs.js → dist/SAP-icons.cjs.js} +1 -1
  3. package/{SAP-icons.cjs2.js → dist/SAP-icons.cjs2.js} +1 -1
  4. package/{arc-d1f6357e.esm.js → dist/arc-d1f6357e.esm.js} +1 -1
  5. package/dist/array-2ff2c7a6.cjs.js +11 -0
  6. package/dist/array-2ff2c7a6.esm.js +9 -0
  7. package/{blockDiagram-5dc23a45.cjs.js → dist/blockDiagram-5dc23a45.cjs.js} +35 -40
  8. package/{blockDiagram-5dc23a45.esm.js → dist/blockDiagram-5dc23a45.esm.js} +36 -41
  9. package/{c4Diagram-1e775db3.cjs.js → dist/c4Diagram-1e775db3.cjs.js} +109 -110
  10. package/{c4Diagram-1e775db3.esm.js → dist/c4Diagram-1e775db3.esm.js} +110 -111
  11. package/{channel-ebbc4130.esm.js → dist/channel-ebbc4130.esm.js} +1 -1
  12. package/{classDiagram-f52caa06.cjs.js → dist/classDiagram-f52caa06.cjs.js} +9 -9
  13. package/{classDiagram-f52caa06.esm.js → dist/classDiagram-f52caa06.esm.js} +11 -11
  14. package/{classDiagram-v2-640c694e.cjs.js → dist/classDiagram-v2-640c694e.cjs.js} +2 -2
  15. package/{classDiagram-v2-640c694e.esm.js → dist/classDiagram-v2-640c694e.esm.js} +4 -4
  16. package/{createText-03b82060.cjs.js → dist/createText-03b82060.cjs.js} +62 -58
  17. package/{createText-03b82060.esm.js → dist/createText-03b82060.esm.js} +63 -59
  18. package/{edges-16357fde.cjs.js → dist/edges-16357fde.cjs.js} +39 -35
  19. package/{edges-16357fde.esm.js → dist/edges-16357fde.esm.js} +40 -36
  20. package/{erDiagram-c7ff1bec.cjs.js → dist/erDiagram-c7ff1bec.cjs.js} +34 -34
  21. package/{erDiagram-c7ff1bec.esm.js → dist/erDiagram-c7ff1bec.esm.js} +35 -35
  22. package/{flowDb-9a89ea33.cjs.js → dist/flowDb-9a89ea33.cjs.js} +44 -44
  23. package/{flowDb-9a89ea33.esm.js → dist/flowDb-9a89ea33.esm.js} +45 -45
  24. package/{flowDiagram-aadb13b0.cjs.js → dist/flowDiagram-aadb13b0.cjs.js} +11 -11
  25. package/{flowDiagram-aadb13b0.esm.js → dist/flowDiagram-aadb13b0.esm.js} +15 -15
  26. package/{flowDiagram-v2-f2119625.esm.js → dist/flowDiagram-v2-f2119625.esm.js} +3 -3
  27. package/{flowchart-elk-definition-cf813a97.cjs.js → dist/flowchart-elk-definition-cf813a97.cjs.js} +1469 -1478
  28. package/{flowchart-elk-definition-cf813a97.esm.js → dist/flowchart-elk-definition-cf813a97.esm.js} +1472 -1481
  29. package/{ganttDiagram-3c2fde2b.cjs.js → dist/ganttDiagram-3c2fde2b.cjs.js} +50 -50
  30. package/{ganttDiagram-3c2fde2b.esm.js → dist/ganttDiagram-3c2fde2b.esm.js} +52 -52
  31. package/{gitGraphDiagram-c3a0619c.cjs.js → dist/gitGraphDiagram-c3a0619c.cjs.js} +23 -28
  32. package/{gitGraphDiagram-c3a0619c.esm.js → dist/gitGraphDiagram-c3a0619c.esm.js} +24 -29
  33. package/{graph-0ee63739.cjs.js → dist/graph-0ee63739.cjs.js} +57 -64
  34. package/{graph-0ee63739.esm.js → dist/graph-0ee63739.esm.js} +59 -66
  35. package/{index-bb6d8841.cjs.js → dist/index-bb6d8841.cjs.js} +7 -7
  36. package/{index-bb6d8841.esm.js → dist/index-bb6d8841.esm.js} +10 -10
  37. package/{index.cjs.js → dist/index.cjs.js} +2 -4
  38. package/{index.cjs2.js → dist/index.cjs2.js} +60390 -62222
  39. package/dist/index.esm.js +1 -0
  40. package/{index.esm2.js → dist/index.esm2.js} +60390 -62203
  41. package/{infoDiagram-2f5c50c0.cjs.js → dist/infoDiagram-2f5c50c0.cjs.js} +18 -18
  42. package/{infoDiagram-2f5c50c0.esm.js → dist/infoDiagram-2f5c50c0.esm.js} +19 -19
  43. package/{journeyDiagram-14fe341a.cjs.js → dist/journeyDiagram-14fe341a.cjs.js} +20 -20
  44. package/{journeyDiagram-14fe341a.esm.js → dist/journeyDiagram-14fe341a.esm.js} +22 -22
  45. package/{katex-d90b6d29.cjs.js → dist/katex-d90b6d29.cjs.js} +640 -640
  46. package/{katex-d90b6d29.esm.js → dist/katex-d90b6d29.esm.js} +639 -639
  47. package/{layout-fd473db2.cjs.js → dist/layout-fd473db2.cjs.js} +30 -43
  48. package/{layout-fd473db2.esm.js → dist/layout-fd473db2.esm.js} +35 -48
  49. package/{line-24d93f1b.cjs.js → dist/line-24d93f1b.cjs.js} +2 -2
  50. package/{line-24d93f1b.esm.js → dist/line-24d93f1b.esm.js} +2 -2
  51. package/{linear-9bcf74c4.cjs.js → dist/linear-9bcf74c4.cjs.js} +5 -5
  52. package/{linear-9bcf74c4.esm.js → dist/linear-9bcf74c4.esm.js} +6 -6
  53. package/{mindmap-definition-9399c7e6.cjs.js → dist/mindmap-definition-9399c7e6.cjs.js} +942 -943
  54. package/{mindmap-definition-9399c7e6.esm.js → dist/mindmap-definition-9399c7e6.esm.js} +943 -944
  55. package/{ordinal-5695958c.cjs.js → dist/ordinal-5695958c.cjs.js} +1 -2
  56. package/{ordinal-5695958c.esm.js → dist/ordinal-5695958c.esm.js} +1 -2
  57. package/{path-428ebac9.cjs.js → dist/path-428ebac9.cjs.js} +0 -1
  58. package/{path-428ebac9.esm.js → dist/path-428ebac9.esm.js} +0 -1
  59. package/{pieDiagram-828dae43.cjs.js → dist/pieDiagram-828dae43.cjs.js} +23 -25
  60. package/{pieDiagram-828dae43.esm.js → dist/pieDiagram-828dae43.esm.js} +24 -26
  61. package/{quadrantDiagram-5fa00455.cjs.js → dist/quadrantDiagram-5fa00455.cjs.js} +28 -29
  62. package/{quadrantDiagram-5fa00455.esm.js → dist/quadrantDiagram-5fa00455.esm.js} +29 -30
  63. package/{requirementDiagram-03163dc4.cjs.js → dist/requirementDiagram-03163dc4.cjs.js} +24 -24
  64. package/{requirementDiagram-03163dc4.esm.js → dist/requirementDiagram-03163dc4.esm.js} +25 -25
  65. package/{sankeyDiagram-52ec8976.cjs.js → dist/sankeyDiagram-52ec8976.cjs.js} +18 -18
  66. package/{sankeyDiagram-52ec8976.esm.js → dist/sankeyDiagram-52ec8976.esm.js} +19 -19
  67. package/{sequenceDiagram-b517d154.cjs.js → dist/sequenceDiagram-b517d154.cjs.js} +50 -51
  68. package/{sequenceDiagram-b517d154.esm.js → dist/sequenceDiagram-b517d154.esm.js} +52 -53
  69. package/{libs/skill-web-chatbot → dist}/src/index.d.ts +1 -0
  70. package/dist/src/index.d.ts.map +1 -0
  71. package/{libs/skill-web-chatbot → dist}/src/lib/chat.element.d.ts +1 -0
  72. package/dist/src/lib/chat.element.d.ts.map +1 -0
  73. package/{libs/skill-web-chatbot → dist}/src/lib/common.data.d.ts +1 -0
  74. package/dist/src/lib/common.data.d.ts.map +1 -0
  75. package/{libs/skill-web-chatbot → dist}/src/lib/config.d.ts +1 -0
  76. package/dist/src/lib/config.d.ts.map +1 -0
  77. package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.data.d.ts +1 -0
  78. package/dist/src/lib/digipair-full.data.d.ts.map +1 -0
  79. package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.element.d.ts +4 -3
  80. package/dist/src/lib/digipair-full.element.d.ts.map +1 -0
  81. package/{libs/skill-web-chatbot → dist}/src/lib/digipair.data.d.ts +1 -0
  82. package/dist/src/lib/digipair.data.d.ts.map +1 -0
  83. package/{libs/skill-web-chatbot → dist}/src/lib/digipair.element.d.ts +4 -3
  84. package/dist/src/lib/digipair.element.d.ts.map +1 -0
  85. package/{libs/skill-web-chatbot → dist}/src/lib/inputs.element.d.ts +1 -0
  86. package/dist/src/lib/inputs.element.d.ts.map +1 -0
  87. package/{libs/skill-web-chatbot → dist}/src/lib/message.interface.d.ts +1 -0
  88. package/dist/src/lib/message.interface.d.ts.map +1 -0
  89. package/{libs/skill-web-chatbot → dist}/src/lib/pins/chatbot.actions.d.ts +1 -0
  90. package/dist/src/lib/pins/chatbot.actions.d.ts.map +1 -0
  91. package/{libs/skill-web-chatbot → dist}/src/lib/tools/css-selector.d.ts +1 -0
  92. package/dist/src/lib/tools/css-selector.d.ts.map +1 -0
  93. package/{stateDiagram-fca82b5b.cjs.js → dist/stateDiagram-fca82b5b.cjs.js} +13 -13
  94. package/{stateDiagram-fca82b5b.esm.js → dist/stateDiagram-fca82b5b.esm.js} +15 -15
  95. package/{stateDiagram-v2-ed04200a.cjs.js → dist/stateDiagram-v2-ed04200a.cjs.js} +5 -5
  96. package/{stateDiagram-v2-ed04200a.esm.js → dist/stateDiagram-v2-ed04200a.esm.js} +7 -7
  97. package/{styles-11e81fdd.cjs.js → dist/styles-11e81fdd.cjs.js} +32 -33
  98. package/{styles-11e81fdd.esm.js → dist/styles-11e81fdd.esm.js} +33 -34
  99. package/{styles-cacbff60.cjs.js → dist/styles-cacbff60.cjs.js} +42 -42
  100. package/{styles-cacbff60.esm.js → dist/styles-cacbff60.esm.js} +43 -43
  101. package/{styles-e75131e4.cjs.js → dist/styles-e75131e4.cjs.js} +2 -2
  102. package/{styles-e75131e4.esm.js → dist/styles-e75131e4.esm.js} +8 -8
  103. package/{svgDrawCommon-ecc5f780.cjs.js → dist/svgDrawCommon-ecc5f780.cjs.js} +1 -1
  104. package/{svgDrawCommon-ecc5f780.esm.js → dist/svgDrawCommon-ecc5f780.esm.js} +2 -2
  105. package/{timeline-definition-4ee9bff4.cjs.js → dist/timeline-definition-4ee9bff4.cjs.js} +23 -23
  106. package/{timeline-definition-4ee9bff4.esm.js → dist/timeline-definition-4ee9bff4.esm.js} +24 -24
  107. package/{xychartDiagram-e5e6b652.cjs.js → dist/xychartDiagram-e5e6b652.cjs.js} +44 -44
  108. package/{xychartDiagram-e5e6b652.esm.js → dist/xychartDiagram-e5e6b652.esm.js} +45 -45
  109. package/package.json +33 -6
  110. package/array-2ff2c7a6.cjs.js +0 -7
  111. package/array-2ff2c7a6.esm.js +0 -5
  112. package/index.d.ts +0 -1
  113. package/index.esm.js +0 -1
  114. package/libs/engine/src/index.d.ts +0 -2
  115. package/libs/engine/src/lib/alias.interface.d.ts +0 -9
  116. package/libs/engine/src/lib/engine.d.ts +0 -13
  117. package/libs/engine/src/lib/pins-settings.interface.d.ts +0 -15
  118. /package/{SAP-icons.esm.js → dist/SAP-icons.esm.js} +0 -0
  119. /package/{SAP-icons.esm2.js → dist/SAP-icons.esm2.js} +0 -0
  120. /package/{Tableau10-558cc280.cjs.js → dist/Tableau10-558cc280.cjs.js} +0 -0
  121. /package/{Tableau10-558cc280.esm.js → dist/Tableau10-558cc280.esm.js} +0 -0
  122. /package/{arc-d1f6357e.cjs.js → dist/arc-d1f6357e.cjs.js} +0 -0
  123. /package/{channel-ebbc4130.cjs.js → dist/channel-ebbc4130.cjs.js} +0 -0
  124. /package/{clone-afc2f047.cjs.js → dist/clone-afc2f047.cjs.js} +0 -0
  125. /package/{clone-afc2f047.esm.js → dist/clone-afc2f047.esm.js} +0 -0
  126. /package/{flowDiagram-v2-f2119625.cjs.js → dist/flowDiagram-v2-f2119625.cjs.js} +0 -0
  127. /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
  128. /package/{init-f9637058.cjs.js → dist/init-f9637058.cjs.js} +0 -0
  129. /package/{init-f9637058.esm.js → dist/init-f9637058.esm.js} +0 -0
  130. /package/{schema.fr.json → dist/schema.fr.json} +0 -0
  131. /package/{schema.json → dist/schema.json} +0 -0
@@ -974,10 +974,10 @@ var at = function() {
974
974
  P && (c = c.slice(0, -1 * P * 2), E = E.slice(0, -1 * P), i = i.slice(0, -1 * P)), c.push(this.productions_[D[1]][0]), E.push(z.$), i.push(z._$), lt = K[c[c.length - 2]][c[c.length - 1]], c.push(lt);
975
975
  break;
976
976
  case 3:
977
- return !0;
977
+ return true;
978
978
  }
979
979
  }
980
- return !0;
980
+ return true;
981
981
  }
982
982
  }, O = function() {
983
983
  var S = {
@@ -988,7 +988,7 @@ var at = function() {
988
988
  },
989
989
  // resets the lexer, sets new input
990
990
  setInput: function setInput(a, n) {
991
- return this.yy = n || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
991
+ return this.yy = n || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
992
992
  "INITIAL"
993
993
  ], this.yylloc = {
994
994
  first_line: 1,
@@ -1026,11 +1026,11 @@ var at = function() {
1026
1026
  },
1027
1027
  // When called from action, caches matched text and appends it on next action
1028
1028
  more: function more() {
1029
- return this._more = !0, this;
1029
+ return this._more = true, this;
1030
1030
  },
1031
1031
  // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1032
1032
  reject: function reject() {
1033
- if (this.options.backtrack_lexer) this._backtrack = !0;
1033
+ if (this.options.backtrack_lexer) this._backtrack = true;
1034
1034
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1035
1035
  text: "",
1036
1036
  token: null,
@@ -1087,29 +1087,29 @@ var at = function() {
1087
1087
  }, this.yytext += a[0], this.match += a[0], this.matches = a, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1088
1088
  this.offset,
1089
1089
  this.offset += this.yyleng
1090
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c) return c;
1090
+ ]), this._more = false, this._backtrack = false, this._input = this._input.slice(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), c) return c;
1091
1091
  if (this._backtrack) {
1092
1092
  for(var i in E)this[i] = E[i];
1093
- return !1;
1093
+ return false;
1094
1094
  }
1095
- return !1;
1095
+ return false;
1096
1096
  },
1097
1097
  // return next match in input
1098
1098
  next: function next() {
1099
1099
  if (this.done) return this.EOF;
1100
- this._input || (this.done = !0);
1100
+ this._input || (this.done = true);
1101
1101
  var a, n, c, d;
1102
1102
  this._more || (this.yytext = "", this.match = "");
1103
1103
  for(var E = this._currentRules(), i = 0; i < E.length; i++)if (c = this._input.match(this.rules[E[i]]), c && (!n || c[0].length > n[0].length)) {
1104
1104
  if (n = c, d = i, this.options.backtrack_lexer) {
1105
- if (a = this.test_match(c, E[i]), a !== !1) return a;
1105
+ if (a = this.test_match(c, E[i]), a !== false) return a;
1106
1106
  if (this._backtrack) {
1107
- n = !1;
1107
+ n = false;
1108
1108
  continue;
1109
- } else return !1;
1109
+ } else return false;
1110
1110
  } else if (!this.options.flex) break;
1111
1111
  }
1112
- return n ? (a = this.test_match(n, E[d]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1112
+ return n ? (a = this.test_match(n, E[d]), a !== false ? a : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1113
1113
  text: "",
1114
1114
  token: null,
1115
1115
  line: this.yylineno
@@ -1146,7 +1146,7 @@ var at = function() {
1146
1146
  return this.conditionStack.length;
1147
1147
  },
1148
1148
  options: {
1149
- "case-insensitive": !0
1149
+ "case-insensitive": true
1150
1150
  },
1151
1151
  performAction: function performAction(n, c, d, E) {
1152
1152
  switch(d){
@@ -1330,19 +1330,19 @@ var at = function() {
1330
1330
  5,
1331
1331
  6
1332
1332
  ],
1333
- inclusive: !1
1333
+ inclusive: false
1334
1334
  },
1335
1335
  acc_descr: {
1336
1336
  rules: [
1337
1337
  3
1338
1338
  ],
1339
- inclusive: !1
1339
+ inclusive: false
1340
1340
  },
1341
1341
  acc_title: {
1342
1342
  rules: [
1343
1343
  1
1344
1344
  ],
1345
- inclusive: !1
1345
+ inclusive: false
1346
1346
  },
1347
1347
  block: {
1348
1348
  rules: [
@@ -1356,7 +1356,7 @@ var at = function() {
1356
1356
  21,
1357
1357
  22
1358
1358
  ],
1359
- inclusive: !1
1359
+ inclusive: false
1360
1360
  },
1361
1361
  INITIAL: {
1362
1362
  rules: [
@@ -1404,7 +1404,7 @@ var at = function() {
1404
1404
  54,
1405
1405
  55
1406
1406
  ],
1407
- inclusive: !0
1407
+ inclusive: true
1408
1408
  }
1409
1409
  }
1410
1410
  };
@@ -1627,23 +1627,23 @@ var te = function te(t) {
1627
1627
  }
1628
1628
  }, ee = function(t, e, r) {
1629
1629
  var u = k.entityPadding / 3, l = k.entityPadding / 3, p = k.fontSize * 0.85, f = e.node().getBBox(), o = [];
1630
- var h = !1, _ = !1, m = 0, g = 0, x = 0, y = 0, N = f.height + u * 2, I = 1;
1630
+ var h = false, _ = false, m = 0, g = 0, x = 0, y = 0, N = f.height + u * 2, I = 1;
1631
1631
  r.forEach(function(T) {
1632
- T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = !0), T.attributeComment !== void 0 && (_ = !0);
1632
+ T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = true), T.attributeComment !== void 0 && (_ = true);
1633
1633
  }), r.forEach(function(T) {
1634
1634
  var M = "".concat(e.node().id, "-attr-").concat(I);
1635
1635
  var R = 0;
1636
- var O = index.C1(T.attributeType), L = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-type")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(O), S = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-name")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(T.attributeName), a = {};
1636
+ var O = index.C1(T.attributeType), L = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-type")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(O), S = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-name")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(T.attributeName), a = {};
1637
1637
  a.tn = L, a.nn = S;
1638
1638
  var n = L.node().getBBox(), c = S.node().getBBox();
1639
1639
  if (m = Math.max(m, n.width), g = Math.max(g, c.width), R = Math.max(n.height, c.height), h) {
1640
- var d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-key")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(d);
1640
+ var d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-key")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(d);
1641
1641
  a.kn = E;
1642
1642
  var i = E.node().getBBox();
1643
1643
  x = Math.max(x, i.width), R = Math.max(R, i.height);
1644
1644
  }
1645
1645
  if (_) {
1646
- var d1 = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-comment")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
1646
+ var d1 = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-comment")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", index.Vn().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
1647
1647
  a.cn = d1;
1648
1648
  var E1 = d1.node().getBBox();
1649
1649
  y = Math.max(y, E1.width), R = Math.max(R, E1.height);
@@ -1663,13 +1663,13 @@ var te = function te(t) {
1663
1663
  o.forEach(function(O) {
1664
1664
  var L = M + u + O.height / 2;
1665
1665
  O.tn.attr("transform", "translate(" + l + "," + L + ")");
1666
- var S = t.insert("rect", "#" + O.tn.node().id).classed("er ".concat(R), !0).attr("x", 0).attr("y", M).attr("width", m + l * 2 + T).attr("height", O.height + u * 2), a = parseFloat(S.attr("x")) + parseFloat(S.attr("width"));
1666
+ var S = t.insert("rect", "#" + O.tn.node().id).classed("er ".concat(R), true).attr("x", 0).attr("y", M).attr("width", m + l * 2 + T).attr("height", O.height + u * 2), a = parseFloat(S.attr("x")) + parseFloat(S.attr("width"));
1667
1667
  O.nn.attr("transform", "translate(" + (a + l) + "," + L + ")");
1668
- var n = t.insert("rect", "#" + O.nn.node().id).classed("er ".concat(R), !0).attr("x", a).attr("y", M).attr("width", g + l * 2 + T).attr("height", O.height + u * 2);
1668
+ var n = t.insert("rect", "#" + O.nn.node().id).classed("er ".concat(R), true).attr("x", a).attr("y", M).attr("width", g + l * 2 + T).attr("height", O.height + u * 2);
1669
1669
  var c = parseFloat(n.attr("x")) + parseFloat(n.attr("width"));
1670
1670
  if (h) {
1671
1671
  O.kn.attr("transform", "translate(" + (c + l) + "," + L + ")");
1672
- var d = t.insert("rect", "#" + O.kn.node().id).classed("er ".concat(R), !0).attr("x", c).attr("y", M).attr("width", x + l * 2 + T).attr("height", O.height + u * 2);
1672
+ var d = t.insert("rect", "#" + O.kn.node().id).classed("er ".concat(R), true).attr("x", c).attr("y", M).attr("width", x + l * 2 + T).attr("height", O.height + u * 2);
1673
1673
  c = parseFloat(d.attr("x")) + parseFloat(d.attr("width"));
1674
1674
  }
1675
1675
  _ && (O.cn.attr("transform", "translate(" + (c + l) + "," + L + ")"), t.insert("rect", "#" + O.cn.node().id).classed("er ".concat(R), "true").attr("x", c).attr("y", M).attr("width", y + l * 2 + T).attr("height", O.height + u * 2)), M += O.height + u * 2, R = R === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
@@ -1685,7 +1685,7 @@ var te = function te(t) {
1685
1685
  var o = t.append("g").attr("id", f);
1686
1686
  l = l === void 0 ? f : l;
1687
1687
  var _e_p_alias;
1688
- var h = "text-" + f, _ = o.append("text").classed("er entityLabel", !0).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", index.Vn().fontFamily).style("font-size", k.fontSize + "px").text((_e_p_alias = e[p].alias) !== null && _e_p_alias !== void 0 ? _e_p_alias : p), _ee = ee(o, _, e[p].attributes), m = _ee.width, g = _ee.height, y = o.insert("rect", "#" + h).classed("er entityBox", !0).attr("x", 0).attr("y", 0).attr("width", m).attr("height", g).node().getBBox();
1688
+ var h = "text-" + f, _ = o.append("text").classed("er entityLabel", true).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", index.Vn().fontFamily).style("font-size", k.fontSize + "px").text((_e_p_alias = e[p].alias) !== null && _e_p_alias !== void 0 ? _e_p_alias : p), _ee = ee(o, _, e[p].attributes), m = _ee.width, g = _ee.height, y = o.insert("rect", "#" + h).classed("er entityBox", true).attr("x", 0).attr("y", 0).attr("width", m).attr("height", g).node().getBBox();
1689
1689
  r.setNode(f, {
1690
1690
  width: y.width,
1691
1691
  height: y.height,
@@ -1713,7 +1713,7 @@ var ne = function ne(t, e, r, u, l) {
1713
1713
  return N.x;
1714
1714
  }).y(function(N) {
1715
1715
  return N.y;
1716
- }).curve(index.Pf), o = t.insert("path", "#" + u).classed("er relationshipLine", !0).attr("d", f(p.points)).style("stroke", k.stroke).style("fill", "none");
1716
+ }).curve(index.Pf), o = t.insert("path", "#" + u).classed("er relationshipLine", true).attr("d", f(p.points)).style("stroke", k.stroke).style("fill", "none");
1717
1717
  e.relSpec.relType === l.db.Identification.NON_IDENTIFYING && o.attr("stroke-dasharray", "8,8");
1718
1718
  var h = "";
1719
1719
  switch(k.arrowMarkerAbsolute && (h = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, h = h.replace(/\(/g, "\\("), h = h.replace(/\)/g, "\\)")), e.relSpec.cardA){
@@ -1750,8 +1750,8 @@ var ne = function ne(t, e, r, u, l) {
1750
1750
  o.attr("marker-start", "url(" + h + "#" + B.ERMarkers.MD_PARENT_START + ")");
1751
1751
  break;
1752
1752
  }
1753
- var _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + ct, y = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", index.Vn().fontFamily).style("font-size", k.fontSize + "px").text(e.roleA).node().getBBox();
1754
- t.insert("rect", "#" + g).classed("er relationshipLabelBox", !0).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
1753
+ var _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + ct, y = t.append("text").classed("er relationshipLabel", true).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", index.Vn().fontFamily).style("font-size", k.fontSize + "px").text(e.roleA).node().getBBox();
1754
+ t.insert("rect", "#" + g).classed("er relationshipLabelBox", true).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
1755
1755
  }, se = function se(t, e, r, u) {
1756
1756
  k = index.Vn().er, index.L.info("Drawing ER diagram");
1757
1757
  var l = index.Vn().securityLevel;
@@ -1761,9 +1761,9 @@ var ne = function ne(t, e, r, u, l) {
1761
1761
  B.insertMarkers(o, k);
1762
1762
  var h;
1763
1763
  h = new graph0ee63739.Ze({
1764
- multigraph: !0,
1765
- directed: !0,
1766
- compound: !1
1764
+ multigraph: true,
1765
+ directed: true,
1766
+ compound: false
1767
1767
  }).setGraph({
1768
1768
  rankdir: k.layoutDirection,
1769
1769
  marginx: 20,
@@ -1,4 +1,4 @@
1
- import { V as Vn, F as F_, A as A_, L as L_, E as E_, M as M_, h as O_, c as L, j as B_, b as bt, i as ei, O as Ol, ao as Pf, as as C1 } from './index.esm2.js';
1
+ import { l as O_, M as M_, E as E_, L as L_, A as A_, F as F_, V as Vn, a as L, b as bt, g as ei, O as Ol, m as B_, P as Pf, C as C1 } from './index.esm2.js';
2
2
  import { Z as Ze } from './graph-0ee63739.esm.js';
3
3
  import { Y as Yt$1 } from './layout-fd473db2.esm.js';
4
4
  import { P } from './line-24d93f1b.esm.js';
@@ -972,10 +972,10 @@ var at = function() {
972
972
  P && (c = c.slice(0, -1 * P * 2), E = E.slice(0, -1 * P), i = i.slice(0, -1 * P)), c.push(this.productions_[D[1]][0]), E.push(z.$), i.push(z._$), lt = K[c[c.length - 2]][c[c.length - 1]], c.push(lt);
973
973
  break;
974
974
  case 3:
975
- return !0;
975
+ return true;
976
976
  }
977
977
  }
978
- return !0;
978
+ return true;
979
979
  }
980
980
  }, O = function() {
981
981
  var S = {
@@ -986,7 +986,7 @@ var at = function() {
986
986
  },
987
987
  // resets the lexer, sets new input
988
988
  setInput: function setInput(a, n) {
989
- return this.yy = n || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
989
+ return this.yy = n || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
990
990
  "INITIAL"
991
991
  ], this.yylloc = {
992
992
  first_line: 1,
@@ -1024,11 +1024,11 @@ var at = function() {
1024
1024
  },
1025
1025
  // When called from action, caches matched text and appends it on next action
1026
1026
  more: function more() {
1027
- return this._more = !0, this;
1027
+ return this._more = true, this;
1028
1028
  },
1029
1029
  // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1030
1030
  reject: function reject() {
1031
- if (this.options.backtrack_lexer) this._backtrack = !0;
1031
+ if (this.options.backtrack_lexer) this._backtrack = true;
1032
1032
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1033
1033
  text: "",
1034
1034
  token: null,
@@ -1085,29 +1085,29 @@ var at = function() {
1085
1085
  }, this.yytext += a[0], this.match += a[0], this.matches = a, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1086
1086
  this.offset,
1087
1087
  this.offset += this.yyleng
1088
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c) return c;
1088
+ ]), this._more = false, this._backtrack = false, this._input = this._input.slice(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), c) return c;
1089
1089
  if (this._backtrack) {
1090
1090
  for(var i in E)this[i] = E[i];
1091
- return !1;
1091
+ return false;
1092
1092
  }
1093
- return !1;
1093
+ return false;
1094
1094
  },
1095
1095
  // return next match in input
1096
1096
  next: function next() {
1097
1097
  if (this.done) return this.EOF;
1098
- this._input || (this.done = !0);
1098
+ this._input || (this.done = true);
1099
1099
  var a, n, c, d;
1100
1100
  this._more || (this.yytext = "", this.match = "");
1101
1101
  for(var E = this._currentRules(), i = 0; i < E.length; i++)if (c = this._input.match(this.rules[E[i]]), c && (!n || c[0].length > n[0].length)) {
1102
1102
  if (n = c, d = i, this.options.backtrack_lexer) {
1103
- if (a = this.test_match(c, E[i]), a !== !1) return a;
1103
+ if (a = this.test_match(c, E[i]), a !== false) return a;
1104
1104
  if (this._backtrack) {
1105
- n = !1;
1105
+ n = false;
1106
1106
  continue;
1107
- } else return !1;
1107
+ } else return false;
1108
1108
  } else if (!this.options.flex) break;
1109
1109
  }
1110
- return n ? (a = this.test_match(n, E[d]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1110
+ return n ? (a = this.test_match(n, E[d]), a !== false ? a : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1111
1111
  text: "",
1112
1112
  token: null,
1113
1113
  line: this.yylineno
@@ -1144,7 +1144,7 @@ var at = function() {
1144
1144
  return this.conditionStack.length;
1145
1145
  },
1146
1146
  options: {
1147
- "case-insensitive": !0
1147
+ "case-insensitive": true
1148
1148
  },
1149
1149
  performAction: function performAction(n, c, d, E) {
1150
1150
  switch(d){
@@ -1328,19 +1328,19 @@ var at = function() {
1328
1328
  5,
1329
1329
  6
1330
1330
  ],
1331
- inclusive: !1
1331
+ inclusive: false
1332
1332
  },
1333
1333
  acc_descr: {
1334
1334
  rules: [
1335
1335
  3
1336
1336
  ],
1337
- inclusive: !1
1337
+ inclusive: false
1338
1338
  },
1339
1339
  acc_title: {
1340
1340
  rules: [
1341
1341
  1
1342
1342
  ],
1343
- inclusive: !1
1343
+ inclusive: false
1344
1344
  },
1345
1345
  block: {
1346
1346
  rules: [
@@ -1354,7 +1354,7 @@ var at = function() {
1354
1354
  21,
1355
1355
  22
1356
1356
  ],
1357
- inclusive: !1
1357
+ inclusive: false
1358
1358
  },
1359
1359
  INITIAL: {
1360
1360
  rules: [
@@ -1402,7 +1402,7 @@ var at = function() {
1402
1402
  54,
1403
1403
  55
1404
1404
  ],
1405
- inclusive: !0
1405
+ inclusive: true
1406
1406
  }
1407
1407
  }
1408
1408
  };
@@ -1625,23 +1625,23 @@ var te = function te(t) {
1625
1625
  }
1626
1626
  }, ee = function(t, e, r) {
1627
1627
  var u = k.entityPadding / 3, l = k.entityPadding / 3, p = k.fontSize * 0.85, f = e.node().getBBox(), o = [];
1628
- var h = !1, _ = !1, m = 0, g = 0, x = 0, y = 0, N = f.height + u * 2, I = 1;
1628
+ var h = false, _ = false, m = 0, g = 0, x = 0, y = 0, N = f.height + u * 2, I = 1;
1629
1629
  r.forEach(function(T) {
1630
- T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = !0), T.attributeComment !== void 0 && (_ = !0);
1630
+ T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = true), T.attributeComment !== void 0 && (_ = true);
1631
1631
  }), r.forEach(function(T) {
1632
1632
  var M = "".concat(e.node().id, "-attr-").concat(I);
1633
1633
  var R = 0;
1634
- var O = C1(T.attributeType), L = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-type")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(O), S = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-name")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(T.attributeName), a = {};
1634
+ var O = C1(T.attributeType), L = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-type")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(O), S = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-name")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(T.attributeName), a = {};
1635
1635
  a.tn = L, a.nn = S;
1636
1636
  var n = L.node().getBBox(), c = S.node().getBBox();
1637
1637
  if (m = Math.max(m, n.width), g = Math.max(g, c.width), R = Math.max(n.height, c.height), h) {
1638
- var d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-key")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(d);
1638
+ var d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-key")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(d);
1639
1639
  a.kn = E;
1640
1640
  var i = E.node().getBBox();
1641
1641
  x = Math.max(x, i.width), R = Math.max(R, i.height);
1642
1642
  }
1643
1643
  if (_) {
1644
- var d1 = t.append("text").classed("er entityLabel", !0).attr("id", "".concat(M, "-comment")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
1644
+ var d1 = t.append("text").classed("er entityLabel", true).attr("id", "".concat(M, "-comment")).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Vn().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
1645
1645
  a.cn = d1;
1646
1646
  var E1 = d1.node().getBBox();
1647
1647
  y = Math.max(y, E1.width), R = Math.max(R, E1.height);
@@ -1661,13 +1661,13 @@ var te = function te(t) {
1661
1661
  o.forEach(function(O) {
1662
1662
  var L = M + u + O.height / 2;
1663
1663
  O.tn.attr("transform", "translate(" + l + "," + L + ")");
1664
- var S = t.insert("rect", "#" + O.tn.node().id).classed("er ".concat(R), !0).attr("x", 0).attr("y", M).attr("width", m + l * 2 + T).attr("height", O.height + u * 2), a = parseFloat(S.attr("x")) + parseFloat(S.attr("width"));
1664
+ var S = t.insert("rect", "#" + O.tn.node().id).classed("er ".concat(R), true).attr("x", 0).attr("y", M).attr("width", m + l * 2 + T).attr("height", O.height + u * 2), a = parseFloat(S.attr("x")) + parseFloat(S.attr("width"));
1665
1665
  O.nn.attr("transform", "translate(" + (a + l) + "," + L + ")");
1666
- var n = t.insert("rect", "#" + O.nn.node().id).classed("er ".concat(R), !0).attr("x", a).attr("y", M).attr("width", g + l * 2 + T).attr("height", O.height + u * 2);
1666
+ var n = t.insert("rect", "#" + O.nn.node().id).classed("er ".concat(R), true).attr("x", a).attr("y", M).attr("width", g + l * 2 + T).attr("height", O.height + u * 2);
1667
1667
  var c = parseFloat(n.attr("x")) + parseFloat(n.attr("width"));
1668
1668
  if (h) {
1669
1669
  O.kn.attr("transform", "translate(" + (c + l) + "," + L + ")");
1670
- var d = t.insert("rect", "#" + O.kn.node().id).classed("er ".concat(R), !0).attr("x", c).attr("y", M).attr("width", x + l * 2 + T).attr("height", O.height + u * 2);
1670
+ var d = t.insert("rect", "#" + O.kn.node().id).classed("er ".concat(R), true).attr("x", c).attr("y", M).attr("width", x + l * 2 + T).attr("height", O.height + u * 2);
1671
1671
  c = parseFloat(d.attr("x")) + parseFloat(d.attr("width"));
1672
1672
  }
1673
1673
  _ && (O.cn.attr("transform", "translate(" + (c + l) + "," + L + ")"), t.insert("rect", "#" + O.cn.node().id).classed("er ".concat(R), "true").attr("x", c).attr("y", M).attr("width", y + l * 2 + T).attr("height", O.height + u * 2)), M += O.height + u * 2, R = R === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
@@ -1683,7 +1683,7 @@ var te = function te(t) {
1683
1683
  var o = t.append("g").attr("id", f);
1684
1684
  l = l === void 0 ? f : l;
1685
1685
  var _e_p_alias;
1686
- var h = "text-" + f, _ = o.append("text").classed("er entityLabel", !0).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Vn().fontFamily).style("font-size", k.fontSize + "px").text((_e_p_alias = e[p].alias) !== null && _e_p_alias !== void 0 ? _e_p_alias : p), _ee = ee(o, _, e[p].attributes), m = _ee.width, g = _ee.height, y = o.insert("rect", "#" + h).classed("er entityBox", !0).attr("x", 0).attr("y", 0).attr("width", m).attr("height", g).node().getBBox();
1686
+ var h = "text-" + f, _ = o.append("text").classed("er entityLabel", true).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Vn().fontFamily).style("font-size", k.fontSize + "px").text((_e_p_alias = e[p].alias) !== null && _e_p_alias !== void 0 ? _e_p_alias : p), _ee = ee(o, _, e[p].attributes), m = _ee.width, g = _ee.height, y = o.insert("rect", "#" + h).classed("er entityBox", true).attr("x", 0).attr("y", 0).attr("width", m).attr("height", g).node().getBBox();
1687
1687
  r.setNode(f, {
1688
1688
  width: y.width,
1689
1689
  height: y.height,
@@ -1711,7 +1711,7 @@ var ne = function ne(t, e, r, u, l) {
1711
1711
  return N.x;
1712
1712
  }).y(function(N) {
1713
1713
  return N.y;
1714
- }).curve(Pf), o = t.insert("path", "#" + u).classed("er relationshipLine", !0).attr("d", f(p.points)).style("stroke", k.stroke).style("fill", "none");
1714
+ }).curve(Pf), o = t.insert("path", "#" + u).classed("er relationshipLine", true).attr("d", f(p.points)).style("stroke", k.stroke).style("fill", "none");
1715
1715
  e.relSpec.relType === l.db.Identification.NON_IDENTIFYING && o.attr("stroke-dasharray", "8,8");
1716
1716
  var h = "";
1717
1717
  switch(k.arrowMarkerAbsolute && (h = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, h = h.replace(/\(/g, "\\("), h = h.replace(/\)/g, "\\)")), e.relSpec.cardA){
@@ -1748,8 +1748,8 @@ var ne = function ne(t, e, r, u, l) {
1748
1748
  o.attr("marker-start", "url(" + h + "#" + B.ERMarkers.MD_PARENT_START + ")");
1749
1749
  break;
1750
1750
  }
1751
- var _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + ct, y = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Vn().fontFamily).style("font-size", k.fontSize + "px").text(e.roleA).node().getBBox();
1752
- t.insert("rect", "#" + g).classed("er relationshipLabelBox", !0).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
1751
+ var _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + ct, y = t.append("text").classed("er relationshipLabel", true).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Vn().fontFamily).style("font-size", k.fontSize + "px").text(e.roleA).node().getBBox();
1752
+ t.insert("rect", "#" + g).classed("er relationshipLabelBox", true).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
1753
1753
  }, se = function se(t, e, r, u) {
1754
1754
  k = Vn().er, L.info("Drawing ER diagram");
1755
1755
  var l = Vn().securityLevel;
@@ -1759,9 +1759,9 @@ var ne = function ne(t, e, r, u, l) {
1759
1759
  B.insertMarkers(o, k);
1760
1760
  var h;
1761
1761
  h = new Ze({
1762
- multigraph: !0,
1763
- directed: !0,
1764
- compound: !1
1762
+ multigraph: true,
1763
+ directed: true,
1764
+ compound: false
1765
1765
  }).setGraph({
1766
1766
  rankdir: k.layoutDirection,
1767
1767
  marginx: 20,