jekyll-ham 1.0.4 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/_layouts/default.html +6 -0
  4. data/_layouts/page.html +1 -1
  5. data/assets/mermaid/Diagram.d.ts +33 -0
  6. data/assets/mermaid/Tableau10-31042135.js +10 -0
  7. data/assets/mermaid/Tableau10-558cc280.js +9 -0
  8. data/assets/mermaid/__mocks__/mermaidAPI.d.ts +13 -0
  9. data/assets/mermaid/accessibility.d.ts +27 -0
  10. data/assets/mermaid/accessibility.spec.d.ts +1 -0
  11. data/assets/mermaid/arc-c0f908ab.js +148 -0
  12. data/assets/mermaid/arc-d1f6357e.js +86 -0
  13. data/assets/mermaid/array-2ff2c7a6.js +6 -0
  14. data/assets/mermaid/array-b7dcf730.js +6 -0
  15. data/assets/mermaid/assignWithDepth.d.ts +30 -0
  16. data/assets/mermaid/blockDiagram-5dc23a45.js +1230 -0
  17. data/assets/mermaid/blockDiagram-9f4a6865.js +1822 -0
  18. data/assets/mermaid/blockDiagram-efe38566.js +1818 -0
  19. data/assets/mermaid/c4Diagram-1e775db3.js +1579 -0
  20. data/assets/mermaid/c4Diagram-ae766693.js +2473 -0
  21. data/assets/mermaid/c4Diagram-af207393.js +2463 -0
  22. data/assets/mermaid/channel-ebbc4130.js +5 -0
  23. data/assets/mermaid/channel-f9001828.js +8 -0
  24. data/assets/mermaid/classDiagram-72b9c71d.js +356 -0
  25. data/assets/mermaid/classDiagram-f52caa06.js +220 -0
  26. data/assets/mermaid/classDiagram-fb54d2a0.js +363 -0
  27. data/assets/mermaid/classDiagram-v2-640c694e.js +206 -0
  28. data/assets/mermaid/classDiagram-v2-a2b738ad.js +298 -0
  29. data/assets/mermaid/classDiagram-v2-fedb80f6.js +290 -0
  30. data/assets/mermaid/clone-9ea6bfeb.js +8 -0
  31. data/assets/mermaid/clone-afc2f047.js +8 -0
  32. data/assets/mermaid/config.d.ts +98 -0
  33. data/assets/mermaid/config.spec.d.ts +1 -0
  34. data/assets/mermaid/config.type.d.ts +1534 -0
  35. data/assets/mermaid/createText-03b82060.js +2966 -0
  36. data/assets/mermaid/createText-b70fe78a.js +4929 -0
  37. data/assets/mermaid/createText-ca0c5216.js +251 -0
  38. data/assets/mermaid/dagre-wrapper/blockArrowHelper.d.ts +8 -0
  39. data/assets/mermaid/dagre-wrapper/clusters.d.ts +4 -0
  40. data/assets/mermaid/dagre-wrapper/createLabel.d.ts +9 -0
  41. data/assets/mermaid/dagre-wrapper/edgeMarker.d.ts +12 -0
  42. data/assets/mermaid/dagre-wrapper/edgeMarker.spec.d.ts +1 -0
  43. data/assets/mermaid/dagre-wrapper/edges.d.ts +14 -0
  44. data/assets/mermaid/dagre-wrapper/index.d.ts +1 -0
  45. data/assets/mermaid/dagre-wrapper/intersect/index.d.ts +13 -0
  46. data/assets/mermaid/dagre-wrapper/intersect/intersect-circle.d.ts +10 -0
  47. data/assets/mermaid/dagre-wrapper/intersect/intersect-ellipse.d.ts +11 -0
  48. data/assets/mermaid/dagre-wrapper/intersect/intersect-line.d.ts +13 -0
  49. data/assets/mermaid/dagre-wrapper/intersect/intersect-node.d.ts +6 -0
  50. data/assets/mermaid/dagre-wrapper/intersect/intersect-polygon.d.ts +10 -0
  51. data/assets/mermaid/dagre-wrapper/intersect/intersect-rect.d.ts +5 -0
  52. data/assets/mermaid/dagre-wrapper/markers.d.ts +2 -0
  53. data/assets/mermaid/dagre-wrapper/mermaid-graphlib.d.ts +8 -0
  54. data/assets/mermaid/dagre-wrapper/nodes.d.ts +4 -0
  55. data/assets/mermaid/dagre-wrapper/shapes/note.d.ts +2 -0
  56. data/assets/mermaid/dagre-wrapper/shapes/util.d.ts +14 -0
  57. data/assets/mermaid/defaultConfig.d.ts +12 -0
  58. data/assets/mermaid/diagram-api/comments.d.ts +6 -0
  59. data/assets/mermaid/diagram-api/comments.spec.d.ts +1 -0
  60. data/assets/mermaid/diagram-api/detectType.d.ts +42 -0
  61. data/assets/mermaid/diagram-api/diagram-orchestration.d.ts +1 -0
  62. data/assets/mermaid/diagram-api/diagram-orchestration.spec.d.ts +1 -0
  63. data/assets/mermaid/diagram-api/diagramAPI.d.ts +31 -0
  64. data/assets/mermaid/diagram-api/diagramAPI.spec.d.ts +1 -0
  65. data/assets/mermaid/diagram-api/frontmatter.d.ts +18 -0
  66. data/assets/mermaid/diagram-api/frontmatter.spec.d.ts +1 -0
  67. data/assets/mermaid/diagram-api/loadDiagram.d.ts +1 -0
  68. data/assets/mermaid/diagram-api/regexes.d.ts +3 -0
  69. data/assets/mermaid/diagram-api/types.d.ts +84 -0
  70. data/assets/mermaid/diagram.spec.d.ts +1 -0
  71. data/assets/mermaid/diagrams/block/blockDB.d.ts +54 -0
  72. data/assets/mermaid/diagrams/block/blockDetector.d.ts +3 -0
  73. data/assets/mermaid/diagrams/block/blockDiagram.d.ts +2 -0
  74. data/assets/mermaid/diagrams/block/blockRenderer.d.ts +15 -0
  75. data/assets/mermaid/diagrams/block/blockTypes.d.ts +36 -0
  76. data/assets/mermaid/diagrams/block/blockUtils.d.ts +1 -0
  77. data/assets/mermaid/diagrams/block/layout.d.ts +13 -0
  78. data/assets/mermaid/diagrams/block/layout.spec.d.ts +1 -0
  79. data/assets/mermaid/diagrams/block/parser/block.spec.d.ts +1 -0
  80. data/assets/mermaid/diagrams/block/renderHelpers.d.ts +10 -0
  81. data/assets/mermaid/diagrams/block/styles.d.ts +18 -0
  82. data/assets/mermaid/diagrams/c4/c4Db.d.ts +127 -0
  83. data/assets/mermaid/diagrams/c4/c4Detector.d.ts +3 -0
  84. data/assets/mermaid/diagrams/c4/c4Diagram.d.ts +2 -0
  85. data/assets/mermaid/diagrams/c4/c4Renderer.d.ts +12 -0
  86. data/assets/mermaid/diagrams/c4/styles.d.ts +2 -0
  87. data/assets/mermaid/diagrams/c4/svgDraw.d.ts +36 -0
  88. data/assets/mermaid/diagrams/class/classDb.d.ts +144 -0
  89. data/assets/mermaid/diagrams/class/classDetector-V2.d.ts +3 -0
  90. data/assets/mermaid/diagrams/class/classDetector.d.ts +3 -0
  91. data/assets/mermaid/diagrams/class/classDiagram-v2.d.ts +2 -0
  92. data/assets/mermaid/diagrams/class/classDiagram.d.ts +2 -0
  93. data/assets/mermaid/diagrams/class/classDiagram.spec.d.ts +1 -0
  94. data/assets/mermaid/diagrams/class/classRenderer-v2.d.ts +57 -0
  95. data/assets/mermaid/diagrams/class/classRenderer.d.ts +5 -0
  96. data/assets/mermaid/diagrams/class/classTypes.d.ts +78 -0
  97. data/assets/mermaid/diagrams/class/classTypes.spec.d.ts +1 -0
  98. data/assets/mermaid/diagrams/class/styles.d.ts +2 -0
  99. data/assets/mermaid/diagrams/class/svgDraw.d.ts +25 -0
  100. data/assets/mermaid/diagrams/common/common.d.ts +110 -0
  101. data/assets/mermaid/diagrams/common/common.spec.d.ts +1 -0
  102. data/assets/mermaid/diagrams/common/commonDb.d.ts +7 -0
  103. data/assets/mermaid/diagrams/common/commonTypes.d.ts +51 -0
  104. data/assets/mermaid/diagrams/common/svgDrawCommon.d.ts +15 -0
  105. data/assets/mermaid/diagrams/er/erDb.d.ts +49 -0
  106. data/assets/mermaid/diagrams/er/erDetector.d.ts +3 -0
  107. data/assets/mermaid/diagrams/er/erDiagram.d.ts +34 -0
  108. data/assets/mermaid/diagrams/er/erMarkers.d.ts +24 -0
  109. data/assets/mermaid/diagrams/er/erRenderer.d.ts +19 -0
  110. data/assets/mermaid/diagrams/er/erRenderer.spec.d.ts +1 -0
  111. data/assets/mermaid/diagrams/er/styles.d.ts +2 -0
  112. data/assets/mermaid/diagrams/error/errorDiagram.d.ts +3 -0
  113. data/assets/mermaid/diagrams/error/errorRenderer.d.ts +12 -0
  114. data/assets/mermaid/diagrams/flowchart/elk/detector.d.ts +3 -0
  115. data/assets/mermaid/diagrams/flowchart/elk/detector.spec.d.ts +1 -0
  116. data/assets/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts +10 -0
  117. data/assets/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts +10 -0
  118. data/assets/mermaid/diagrams/flowchart/elk/render-utils.d.ts +5 -0
  119. data/assets/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts +1 -0
  120. data/assets/mermaid/diagrams/flowchart/elk/styles.d.ts +19 -0
  121. data/assets/mermaid/diagrams/flowchart/flowChartShapes.d.ts +9 -0
  122. data/assets/mermaid/diagrams/flowchart/flowDb.d.ts +87 -0
  123. data/assets/mermaid/diagrams/flowchart/flowDetector-v2.d.ts +3 -0
  124. data/assets/mermaid/diagrams/flowchart/flowDetector.d.ts +3 -0
  125. data/assets/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts +57 -0
  126. data/assets/mermaid/diagrams/flowchart/flowDiagram.d.ts +57 -0
  127. data/assets/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts +13 -0
  128. data/assets/mermaid/diagrams/flowchart/flowRenderer.d.ts +13 -0
  129. data/assets/mermaid/diagrams/flowchart/styles.d.ts +18 -0
  130. data/assets/mermaid/diagrams/gantt/ganttDb.d.ts +106 -0
  131. data/assets/mermaid/diagrams/gantt/ganttDb.spec.d.ts +1 -0
  132. data/assets/mermaid/diagrams/gantt/ganttDetector.d.ts +3 -0
  133. data/assets/mermaid/diagrams/gantt/ganttDiagram.d.ts +2 -0
  134. data/assets/mermaid/diagrams/gantt/ganttRenderer.d.ts +7 -0
  135. data/assets/mermaid/diagrams/gantt/styles.d.ts +2 -0
  136. data/assets/mermaid/diagrams/git/gitGraphAst.d.ts +61 -0
  137. data/assets/mermaid/diagrams/git/gitGraphDetector.d.ts +3 -0
  138. data/assets/mermaid/diagrams/git/gitGraphDiagram.d.ts +2 -0
  139. data/assets/mermaid/diagrams/git/gitGraphRenderer.d.ts +5 -0
  140. data/assets/mermaid/diagrams/git/styles.d.ts +2 -0
  141. data/assets/mermaid/diagrams/info/info.spec.d.ts +1 -0
  142. data/assets/mermaid/diagrams/info/infoDb.d.ts +5 -0
  143. data/assets/mermaid/diagrams/info/infoDetector.d.ts +2 -0
  144. data/assets/mermaid/diagrams/info/infoDiagram.d.ts +2 -0
  145. data/assets/mermaid/diagrams/info/infoRenderer.d.ts +4 -0
  146. data/assets/mermaid/diagrams/info/infoTypes.d.ts +9 -0
  147. data/assets/mermaid/diagrams/mindmap/detector.d.ts +3 -0
  148. data/assets/mermaid/diagrams/mindmap/mindmap-definition.d.ts +2 -0
  149. data/assets/mermaid/diagrams/mindmap/mindmap.spec.d.ts +1 -0
  150. data/assets/mermaid/diagrams/mindmap/mindmapDb.d.ts +30 -0
  151. data/assets/mermaid/diagrams/mindmap/mindmapRenderer.d.ts +21 -0
  152. data/assets/mermaid/diagrams/mindmap/mindmapTypes.d.ts +20 -0
  153. data/assets/mermaid/diagrams/mindmap/styles.d.ts +3 -0
  154. data/assets/mermaid/diagrams/mindmap/svgDraw.d.ts +13 -0
  155. data/assets/mermaid/diagrams/pie/pie.spec.d.ts +1 -0
  156. data/assets/mermaid/diagrams/pie/pieDb.d.ts +6 -0
  157. data/assets/mermaid/diagrams/pie/pieDetector.d.ts +2 -0
  158. data/assets/mermaid/diagrams/pie/pieDiagram.d.ts +2 -0
  159. data/assets/mermaid/diagrams/pie/pieRenderer.d.ts +13 -0
  160. data/assets/mermaid/diagrams/pie/pieStyles.d.ts +3 -0
  161. data/assets/mermaid/diagrams/pie/pieTypes.d.ts +53 -0
  162. data/assets/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts +1 -0
  163. data/assets/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts +118 -0
  164. data/assets/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts +38 -0
  165. data/assets/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts +3 -0
  166. data/assets/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts +2 -0
  167. data/assets/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts +6 -0
  168. data/assets/mermaid/diagrams/requirement/requirementDb.d.ts +70 -0
  169. data/assets/mermaid/diagrams/requirement/requirementDetector.d.ts +3 -0
  170. data/assets/mermaid/diagrams/requirement/requirementDiagram.d.ts +2 -0
  171. data/assets/mermaid/diagrams/requirement/requirementMarkers.d.ts +10 -0
  172. data/assets/mermaid/diagrams/requirement/requirementRenderer.d.ts +7 -0
  173. data/assets/mermaid/diagrams/requirement/styles.d.ts +2 -0
  174. data/assets/mermaid/diagrams/sankey/parser/sankey.spec.d.ts +1 -0
  175. data/assets/mermaid/diagrams/sankey/sankeyDB.d.ts +36 -0
  176. data/assets/mermaid/diagrams/sankey/sankeyDetector.d.ts +3 -0
  177. data/assets/mermaid/diagrams/sankey/sankeyDiagram.d.ts +2 -0
  178. data/assets/mermaid/diagrams/sankey/sankeyRenderer.d.ts +14 -0
  179. data/assets/mermaid/diagrams/sankey/sankeyUtils.d.ts +1 -0
  180. data/assets/mermaid/diagrams/sequence/sequenceDb.d.ts +153 -0
  181. data/assets/mermaid/diagrams/sequence/sequenceDetector.d.ts +3 -0
  182. data/assets/mermaid/diagrams/sequence/sequenceDiagram.d.ts +2 -0
  183. data/assets/mermaid/diagrams/sequence/sequenceRenderer.d.ts +202 -0
  184. data/assets/mermaid/diagrams/sequence/styles.d.ts +2 -0
  185. data/assets/mermaid/diagrams/sequence/svgDraw.d.ts +73 -0
  186. data/assets/mermaid/diagrams/state/id-cache.d.ts +11 -0
  187. data/assets/mermaid/diagrams/state/shapes.d.ts +14 -0
  188. data/assets/mermaid/diagrams/state/stateCommon.d.ts +22 -0
  189. data/assets/mermaid/diagrams/state/stateDb.d.ts +91 -0
  190. data/assets/mermaid/diagrams/state/stateDetector-V2.d.ts +3 -0
  191. data/assets/mermaid/diagrams/state/stateDetector.d.ts +3 -0
  192. data/assets/mermaid/diagrams/state/stateDiagram-v2.d.ts +2 -0
  193. data/assets/mermaid/diagrams/state/stateDiagram.d.ts +2 -0
  194. data/assets/mermaid/diagrams/state/stateRenderer-v2.d.ts +20 -0
  195. data/assets/mermaid/diagrams/state/stateRenderer.d.ts +7 -0
  196. data/assets/mermaid/diagrams/state/styles.d.ts +2 -0
  197. data/assets/mermaid/diagrams/timeline/detector.d.ts +3 -0
  198. data/assets/mermaid/diagrams/timeline/styles.d.ts +2 -0
  199. data/assets/mermaid/diagrams/timeline/svgDraw.d.ts +46 -0
  200. data/assets/mermaid/diagrams/timeline/timeline-definition.d.ts +10 -0
  201. data/assets/mermaid/diagrams/timeline/timelineDb.d.ts +20 -0
  202. data/assets/mermaid/diagrams/timeline/timelineRenderer.d.ts +19 -0
  203. data/assets/mermaid/diagrams/user-journey/journeyDb.d.ts +30 -0
  204. data/assets/mermaid/diagrams/user-journey/journeyDetector.d.ts +3 -0
  205. data/assets/mermaid/diagrams/user-journey/journeyDiagram.d.ts +2 -0
  206. data/assets/mermaid/diagrams/user-journey/journeyRenderer.d.ts +30 -0
  207. data/assets/mermaid/diagrams/user-journey/styles.d.ts +2 -0
  208. data/assets/mermaid/diagrams/user-journey/svgDraw.d.ts +20 -0
  209. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts +12 -0
  210. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts +38 -0
  211. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts +12 -0
  212. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts +11 -0
  213. data/assets/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts +16 -0
  214. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts +12 -0
  215. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts +20 -0
  216. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts +11 -0
  217. data/assets/mermaid/diagrams/xychart/chartBuilder/index.d.ts +5 -0
  218. data/assets/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts +132 -0
  219. data/assets/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts +12 -0
  220. data/assets/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts +10 -0
  221. data/assets/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts +1 -0
  222. data/assets/mermaid/diagrams/xychart/xychartDb.d.ts +40 -0
  223. data/assets/mermaid/diagrams/xychart/xychartDetector.d.ts +3 -0
  224. data/assets/mermaid/diagrams/xychart/xychartDiagram.d.ts +2 -0
  225. data/assets/mermaid/diagrams/xychart/xychartRenderer.d.ts +6 -0
  226. data/assets/mermaid/docs/vite.config.d.ts +2 -0
  227. data/assets/mermaid/edges-066a5561.js +1840 -0
  228. data/assets/mermaid/edges-16357fde.js +1083 -0
  229. data/assets/mermaid/edges-ce5cfb7c.js +1840 -0
  230. data/assets/mermaid/erDiagram-09d1c15f.js +1176 -0
  231. data/assets/mermaid/erDiagram-543717f2.js +1321 -0
  232. data/assets/mermaid/erDiagram-c7ff1bec.js +931 -0
  233. data/assets/mermaid/errors.d.ts +3 -0
  234. data/assets/mermaid/flowDb-9a89ea33.js +1126 -0
  235. data/assets/mermaid/flowDb-ba9bd7fa.js +1713 -0
  236. data/assets/mermaid/flowDb-c1833063.js +1714 -0
  237. data/assets/mermaid/flowDiagram-aadb13b0.js +797 -0
  238. data/assets/mermaid/flowDiagram-b222e15a.js +614 -0
  239. data/assets/mermaid/flowDiagram-b5e7ba30.js +1278 -0
  240. data/assets/mermaid/flowDiagram-v2-13329dc7.js +40 -0
  241. data/assets/mermaid/flowDiagram-v2-54711e03.js +32 -0
  242. data/assets/mermaid/flowDiagram-v2-f2119625.js +25 -0
  243. data/assets/mermaid/flowchart-elk-definition-2d49707c.js +93397 -0
  244. data/assets/mermaid/flowchart-elk-definition-ae0efee6.js +814 -0
  245. data/assets/mermaid/flowchart-elk-definition-cf813a97.js +48407 -0
  246. data/assets/mermaid/ganttDiagram-12cf43db.js +3445 -0
  247. data/assets/mermaid/ganttDiagram-3c2fde2b.js +2501 -0
  248. data/assets/mermaid/ganttDiagram-b62c793e.js +2061 -0
  249. data/assets/mermaid/gitGraphDiagram-942e62fe.js +1800 -0
  250. data/assets/mermaid/gitGraphDiagram-b9392a12.js +1790 -0
  251. data/assets/mermaid/gitGraphDiagram-c3a0619c.js +1264 -0
  252. data/assets/mermaid/graph-0ee63739.js +881 -0
  253. data/assets/mermaid/graph-fe24fab6.js +1285 -0
  254. data/assets/mermaid/index-01f381cb.js +622 -0
  255. data/assets/mermaid/index-bb6d8841.js +373 -0
  256. data/assets/mermaid/index-fc479858.js +663 -0
  257. data/assets/mermaid/infoDiagram-2f5c50c0.js +319 -0
  258. data/assets/mermaid/infoDiagram-94cd232f.js +520 -0
  259. data/assets/mermaid/infoDiagram-d0d5c9bd.js +510 -0
  260. data/assets/mermaid/init-cc95ec8e.js +16 -0
  261. data/assets/mermaid/init-f9637058.js +16 -0
  262. data/assets/mermaid/interactionDb.d.ts +2 -0
  263. data/assets/mermaid/journeyDiagram-14fe341a.js +804 -0
  264. data/assets/mermaid/journeyDiagram-6625b456.js +1191 -0
  265. data/assets/mermaid/journeyDiagram-b56e6921.js +1183 -0
  266. data/assets/mermaid/katex-d90b6d29.js +11624 -0
  267. data/assets/mermaid/katex-ffb0e8f1.js +14432 -0
  268. data/assets/mermaid/layout-163b9689.js +2314 -0
  269. data/assets/mermaid/layout-fd473db2.js +1536 -0
  270. data/assets/mermaid/line-24d93f1b.js +34 -0
  271. data/assets/mermaid/line-87f517ef.js +50 -0
  272. data/assets/mermaid/linear-0ad15847.js +595 -0
  273. data/assets/mermaid/linear-9bcf74c4.js +447 -0
  274. data/assets/mermaid/logger.d.ts +9 -0
  275. data/assets/mermaid/mermaid-6dc72991.js +6461 -0
  276. data/assets/mermaid/mermaid-9f2aa176.js +8112 -0
  277. data/assets/mermaid/mermaid-dcacb631.js +12793 -0
  278. data/assets/mermaid/mermaid.core.mjs +14 -0
  279. data/assets/mermaid/mermaid.d.ts +146 -0
  280. data/assets/mermaid/mermaid.esm.min.mjs +4 -0
  281. data/assets/mermaid/mermaid.esm.mjs +4 -0
  282. data/assets/mermaid/mermaid.js +195755 -0
  283. data/assets/mermaid/mermaid.min.js +2029 -0
  284. data/assets/mermaid/mermaid.spec.d.ts +1 -0
  285. data/assets/mermaid/mermaidAPI.d.ts +170 -0
  286. data/assets/mermaid/mermaidAPI.spec.d.ts +1 -0
  287. data/assets/mermaid/mindmap-definition-307c710a.js +1177 -0
  288. data/assets/mermaid/mindmap-definition-696ddea4.js +32342 -0
  289. data/assets/mermaid/mindmap-definition-9399c7e6.js +18760 -0
  290. data/assets/mermaid/ordinal-475e0c0c.js +82 -0
  291. data/assets/mermaid/ordinal-5695958c.js +65 -0
  292. data/assets/mermaid/path-39bad7e2.js +118 -0
  293. data/assets/mermaid/path-428ebac9.js +91 -0
  294. data/assets/mermaid/pieDiagram-828dae43.js +502 -0
  295. data/assets/mermaid/pieDiagram-bb1d19e5.js +722 -0
  296. data/assets/mermaid/pieDiagram-e854eaf0.js +772 -0
  297. data/assets/mermaid/preprocess.d.ts +10 -0
  298. data/assets/mermaid/quadrantDiagram-25a9848b.js +1199 -0
  299. data/assets/mermaid/quadrantDiagram-5fa00455.js +904 -0
  300. data/assets/mermaid/quadrantDiagram-c759a472.js +1207 -0
  301. data/assets/mermaid/rendering-util/createText.d.ts +11 -0
  302. data/assets/mermaid/rendering-util/handle-markdown-text.d.ts +6 -0
  303. data/assets/mermaid/rendering-util/handle-markdown-text.spec.d.ts +1 -0
  304. data/assets/mermaid/rendering-util/selectSvgElement.d.ts +8 -0
  305. data/assets/mermaid/rendering-util/splitText.d.ts +24 -0
  306. data/assets/mermaid/rendering-util/splitText.spec.d.ts +1 -0
  307. data/assets/mermaid/rendering-util/uid.d.ts +8 -0
  308. data/assets/mermaid/requirementDiagram-03163dc4.js +769 -0
  309. data/assets/mermaid/requirementDiagram-87253d64.js +1098 -0
  310. data/assets/mermaid/requirementDiagram-a721e157.js +1091 -0
  311. data/assets/mermaid/sankeyDiagram-33525efb.js +1198 -0
  312. data/assets/mermaid/sankeyDiagram-52ec8976.js +818 -0
  313. data/assets/mermaid/sankeyDiagram-707fac0f.js +660 -0
  314. data/assets/mermaid/sequenceDiagram-6894f283.js +3346 -0
  315. data/assets/mermaid/sequenceDiagram-9813c129.js +3336 -0
  316. data/assets/mermaid/sequenceDiagram-b517d154.js +2234 -0
  317. data/assets/mermaid/setupGraphViewbox.d.ts +3 -0
  318. data/assets/mermaid/stateDiagram-5dee940d.js +474 -0
  319. data/assets/mermaid/stateDiagram-5ec31577.js +467 -0
  320. data/assets/mermaid/stateDiagram-fca82b5b.js +275 -0
  321. data/assets/mermaid/stateDiagram-v2-1992cada.js +333 -0
  322. data/assets/mermaid/stateDiagram-v2-992e82a1.js +325 -0
  323. data/assets/mermaid/stateDiagram-v2-ed04200a.js +190 -0
  324. data/assets/mermaid/styles-0784dbeb.js +1363 -0
  325. data/assets/mermaid/styles-11e81fdd.js +1089 -0
  326. data/assets/mermaid/styles-36a1a2e8.js +1483 -0
  327. data/assets/mermaid/styles-483fbfea.js +509 -0
  328. data/assets/mermaid/styles-727cdd61.js +571 -0
  329. data/assets/mermaid/styles-b83b31c9.js +1484 -0
  330. data/assets/mermaid/styles-cacbff60.js +960 -0
  331. data/assets/mermaid/styles-e75131e4.js +433 -0
  332. data/assets/mermaid/styles-f80da881.js +1363 -0
  333. data/assets/mermaid/styles.d.ts +12 -0
  334. data/assets/mermaid/styles.spec.d.ts +1 -0
  335. data/assets/mermaid/svgDrawCommon-5e1cfd1d.js +101 -0
  336. data/assets/mermaid/svgDrawCommon-d6ab583c.js +100 -0
  337. data/assets/mermaid/svgDrawCommon-ecc5f780.js +64 -0
  338. data/assets/mermaid/tests/MockedD3.d.ts +45 -0
  339. data/assets/mermaid/tests/setup.d.ts +1 -0
  340. data/assets/mermaid/tests/util.d.ts +3 -0
  341. data/assets/mermaid/themes/erDiagram-oldHardcodedValues.d.ts +7 -0
  342. data/assets/mermaid/themes/index.d.ts +24 -0
  343. data/assets/mermaid/themes/theme-base.d.ts +189 -0
  344. data/assets/mermaid/themes/theme-dark.d.ts +177 -0
  345. data/assets/mermaid/themes/theme-default.d.ts +188 -0
  346. data/assets/mermaid/themes/theme-forest.d.ts +185 -0
  347. data/assets/mermaid/themes/theme-helpers.d.ts +1 -0
  348. data/assets/mermaid/themes/theme-neutral.d.ts +182 -0
  349. data/assets/mermaid/timeline-definition-23ce0e2e.js +1211 -0
  350. data/assets/mermaid/timeline-definition-4ee9bff4.js +795 -0
  351. data/assets/mermaid/timeline-definition-bf702344.js +1219 -0
  352. data/assets/mermaid/types.d.ts +31 -0
  353. data/assets/mermaid/utils/imperativeState.d.ts +32 -0
  354. data/assets/mermaid/utils/imperativeState.spec.d.ts +1 -0
  355. data/assets/mermaid/utils/lineWithOffset.d.ts +5 -0
  356. data/assets/mermaid/utils/sanitizeDirective.d.ts +7 -0
  357. data/assets/mermaid/utils/subGraphTitleMargins.d.ts +8 -0
  358. data/assets/mermaid/utils/subGraphTitleMargins.spec.d.ts +1 -0
  359. data/assets/mermaid/utils.d.ts +286 -0
  360. data/assets/mermaid/utils.spec.d.ts +1 -0
  361. data/assets/mermaid/xychartDiagram-de2e5521.js +1800 -0
  362. data/assets/mermaid/xychartDiagram-e5e6b652.js +1284 -0
  363. data/assets/mermaid/xychartDiagram-f11f50a6.js +1745 -0
  364. data/assets/tables.css +23 -0
  365. data/assets/toURI.js +142 -0
  366. metadata +363 -2
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export default getStyles;
2
+ declare function getStyles(options: any): string;
@@ -0,0 +1,25 @@
1
+ export function drawEdge(elem: any, path: any, relation: any, conf: any, diagObj: any): void;
2
+ export function drawClass(elem: SVGSVGElement, classDef: any, conf: any, diagObj: any): {
3
+ id: any;
4
+ label: any;
5
+ width: number;
6
+ height: number;
7
+ };
8
+ export function getClassTitleString(classDef: any): any;
9
+ export function drawNote(elem: SVGSVGElement, note: {
10
+ id: string;
11
+ text: string;
12
+ class: string;
13
+ }, conf: any, diagObj: any): {
14
+ id: string;
15
+ text: string;
16
+ width: number;
17
+ height: number;
18
+ };
19
+ declare namespace _default {
20
+ export { getClassTitleString };
21
+ export { drawClass };
22
+ export { drawEdge };
23
+ export { drawNote };
24
+ }
25
+ export default _default;
@@ -0,0 +1,110 @@
1
+ import type { MermaidConfig } from '../../config.type.js';
2
+ export declare const lineBreakRegex: RegExp;
3
+ /**
4
+ * Gets the rows of lines in a string
5
+ *
6
+ * @param s - The string to check the lines for
7
+ * @returns The rows in that string
8
+ */
9
+ export declare const getRows: (s?: string) => string[];
10
+ /**
11
+ * Removes script tags from a text
12
+ *
13
+ * @param txt - The text to sanitize
14
+ * @returns The safer text
15
+ */
16
+ export declare const removeScript: (txt: string) => string;
17
+ export declare const sanitizeText: (text: string, config: MermaidConfig) => string;
18
+ export declare const sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
19
+ /**
20
+ * Whether or not a text has any line breaks
21
+ *
22
+ * @param text - The text to test
23
+ * @returns Whether or not the text has breaks
24
+ */
25
+ export declare const hasBreaks: (text: string) => boolean;
26
+ /**
27
+ * Splits on <br> tags
28
+ *
29
+ * @param text - Text to split
30
+ * @returns List of lines as strings
31
+ */
32
+ export declare const splitBreaks: (text: string) => string[];
33
+ /**
34
+ * Converts a string/boolean into a boolean
35
+ *
36
+ * @param val - String or boolean to convert
37
+ * @returns The result from the input
38
+ */
39
+ export declare const evaluate: (val?: string | boolean) => boolean;
40
+ /**
41
+ * Wrapper around Math.max which removes non-numeric values
42
+ * Returns the larger of a set of supplied numeric expressions.
43
+ * @param values - Numeric expressions to be evaluated
44
+ * @returns The smaller value
45
+ */
46
+ export declare const getMax: (...values: number[]) => number;
47
+ /**
48
+ * Wrapper around Math.min which removes non-numeric values
49
+ * Returns the smaller of a set of supplied numeric expressions.
50
+ * @param values - Numeric expressions to be evaluated
51
+ * @returns The smaller value
52
+ */
53
+ export declare const getMin: (...values: number[]) => number;
54
+ /**
55
+ * Makes generics in typescript syntax
56
+ *
57
+ * @example
58
+ * Array of array of strings in typescript syntax
59
+ *
60
+ * ```js
61
+ * // returns "Array<Array<string>>"
62
+ * parseGenericTypes('Array~Array~string~~');
63
+ * ```
64
+ * @param text - The text to convert
65
+ * @returns The converted string
66
+ */
67
+ export declare const parseGenericTypes: (input: string) => string;
68
+ export declare const countOccurrence: (string: string, substring: string) => number;
69
+ export declare const isMathMLSupported: () => boolean;
70
+ export declare const katexRegex: RegExp;
71
+ /**
72
+ * Whether or not a text has KaTeX delimiters
73
+ *
74
+ * @param text - The text to test
75
+ * @returns Whether or not the text has KaTeX delimiters
76
+ */
77
+ export declare const hasKatex: (text: string) => boolean;
78
+ /**
79
+ * Computes the minimum dimensions needed to display a div containing MathML
80
+ *
81
+ * @param text - The text to test
82
+ * @param config - Configuration for Mermaid
83
+ * @returns Object containing \{width, height\}
84
+ */
85
+ export declare const calculateMathMLDimensions: (text: string, config: MermaidConfig) => Promise<{
86
+ width: number;
87
+ height: number;
88
+ }>;
89
+ /**
90
+ * Attempts to render and return the KaTeX portion of a string with MathML
91
+ *
92
+ * @param text - The text to test
93
+ * @param config - Configuration for Mermaid
94
+ * @returns String containing MathML if KaTeX is supported, or an error message if it is not and stylesheets aren't present
95
+ */
96
+ export declare const renderKatex: (text: string, config: MermaidConfig) => Promise<string>;
97
+ declare const _default: {
98
+ getRows: (s?: string | undefined) => string[];
99
+ sanitizeText: (text: string, config: MermaidConfig) => string;
100
+ sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
101
+ hasBreaks: (text: string) => boolean;
102
+ splitBreaks: (text: string) => string[];
103
+ lineBreakRegex: RegExp;
104
+ removeScript: (txt: string) => string;
105
+ getUrl: (useAbsolute: boolean) => string;
106
+ evaluate: (val?: string | boolean | undefined) => boolean;
107
+ getMax: (...values: number[]) => number;
108
+ getMin: (...values: number[]) => number;
109
+ };
110
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const clear: () => void;
2
+ export declare const setAccTitle: (txt: string) => void;
3
+ export declare const getAccTitle: () => string;
4
+ export declare const setAccDescription: (txt: string) => void;
5
+ export declare const getAccDescription: () => string;
6
+ export declare const setDiagramTitle: (txt: string) => void;
7
+ export declare const getDiagramTitle: () => string;
@@ -0,0 +1,51 @@
1
+ export interface RectData {
2
+ x: number;
3
+ y: number;
4
+ fill: string;
5
+ width: number;
6
+ height: number;
7
+ stroke: string;
8
+ class?: string;
9
+ color?: string;
10
+ rx?: number;
11
+ ry?: number;
12
+ attrs?: Record<string, string | number>;
13
+ anchor?: string;
14
+ name?: string;
15
+ }
16
+ export interface Bound {
17
+ startx: number;
18
+ stopx: number;
19
+ starty: number;
20
+ stopy: number;
21
+ fill: string;
22
+ stroke: string;
23
+ }
24
+ export interface TextData {
25
+ x: number;
26
+ y: number;
27
+ anchor: string;
28
+ text: string;
29
+ textMargin: number;
30
+ class?: string;
31
+ }
32
+ export interface TextObject {
33
+ x: number;
34
+ y: number;
35
+ width: number;
36
+ height: number;
37
+ fill?: string;
38
+ anchor?: string;
39
+ 'text-anchor': string;
40
+ style: string;
41
+ textMargin: number;
42
+ rx: number;
43
+ ry: number;
44
+ tspan: boolean;
45
+ valign?: string;
46
+ }
47
+ export type D3RectElement = d3.Selection<SVGRectElement, unknown, Element | null, unknown>;
48
+ export type D3UseElement = d3.Selection<SVGUseElement, unknown, Element | null, unknown>;
49
+ export type D3ImageElement = d3.Selection<SVGImageElement, unknown, Element | null, unknown>;
50
+ export type D3TextElement = d3.Selection<SVGTextElement, unknown, Element | null, unknown>;
51
+ export type D3TSpanElement = d3.Selection<SVGTSpanElement, unknown, Element | null, unknown>;
@@ -0,0 +1,15 @@
1
+ import type { Group, SVG } from '../../diagram-api/types.js';
2
+ import type { Bound, D3RectElement, D3TextElement, RectData, TextData, TextObject } from './commonTypes.js';
3
+ export declare const drawRect: (element: SVG | Group, rectData: RectData) => D3RectElement;
4
+ /**
5
+ * Draws a background rectangle
6
+ *
7
+ * @param element - Diagram (reference for bounds)
8
+ * @param bounds - Shape of the rectangle
9
+ */
10
+ export declare const drawBackgroundRect: (element: SVG | Group, bounds: Bound) => void;
11
+ export declare const drawText: (element: SVG | Group, textData: TextData) => D3TextElement;
12
+ export declare const drawImage: (elem: SVG | Group, x: number, y: number, link: string) => void;
13
+ export declare const drawEmbeddedImage: (element: SVG | Group, x: number, y: number, link: string) => void;
14
+ export declare const getNoteRect: () => RectData;
15
+ export declare const getTextObj: () => TextObject;
@@ -0,0 +1,49 @@
1
+ declare namespace _default {
2
+ export { Cardinality };
3
+ export { Identification };
4
+ export function getConfig(): import("../../config.type.js").ErDiagramConfig | undefined;
5
+ export { addEntity };
6
+ export { addAttributes };
7
+ export { getEntities };
8
+ export { addRelationship };
9
+ export { getRelationships };
10
+ export { clear };
11
+ export { setAccTitle };
12
+ export { getAccTitle };
13
+ export { setAccDescription };
14
+ export { getAccDescription };
15
+ export { setDiagramTitle };
16
+ export { getDiagramTitle };
17
+ }
18
+ export default _default;
19
+ declare namespace Cardinality {
20
+ let ZERO_OR_ONE: string;
21
+ let ZERO_OR_MORE: string;
22
+ let ONE_OR_MORE: string;
23
+ let ONLY_ONE: string;
24
+ let MD_PARENT: string;
25
+ }
26
+ declare namespace Identification {
27
+ let NON_IDENTIFYING: string;
28
+ let IDENTIFYING: string;
29
+ }
30
+ declare function addEntity(name: any, alias?: undefined): any;
31
+ declare function addAttributes(entityName: any, attribs: any): void;
32
+ declare function getEntities(): {};
33
+ /**
34
+ * Add a relationship
35
+ *
36
+ * @param entA The first entity in the relationship
37
+ * @param rolA The role played by the first entity in relation to the second
38
+ * @param entB The second entity in the relationship
39
+ * @param rSpec The details of the relationship between the two entities
40
+ */
41
+ declare function addRelationship(entA: any, rolA: any, entB: any, rSpec: any): void;
42
+ declare function getRelationships(): any[];
43
+ declare function clear(): void;
44
+ import { setAccTitle } from '../common/commonDb.js';
45
+ import { getAccTitle } from '../common/commonDb.js';
46
+ import { setAccDescription } from '../common/commonDb.js';
47
+ import { getAccDescription } from '../common/commonDb.js';
48
+ import { setDiagramTitle } from '../common/commonDb.js';
49
+ import { getDiagramTitle } from '../common/commonDb.js';
@@ -0,0 +1,3 @@
1
+ import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
2
+ declare const plugin: ExternalDiagramDefinition;
3
+ export default plugin;
@@ -0,0 +1,34 @@
1
+ export declare const diagram: {
2
+ parser: any;
3
+ db: {
4
+ Cardinality: {
5
+ ZERO_OR_ONE: string;
6
+ ZERO_OR_MORE: string;
7
+ ONE_OR_MORE: string;
8
+ ONLY_ONE: string;
9
+ MD_PARENT: string;
10
+ };
11
+ Identification: {
12
+ NON_IDENTIFYING: string;
13
+ IDENTIFYING: string;
14
+ };
15
+ getConfig: () => import("../../config.type.js").ErDiagramConfig | undefined;
16
+ addEntity: (name: any, alias?: undefined) => any;
17
+ addAttributes: (entityName: any, attribs: any) => void;
18
+ getEntities: () => {};
19
+ addRelationship: (entA: any, rolA: any, entB: any, rSpec: any) => void;
20
+ getRelationships: () => any[];
21
+ clear: () => void;
22
+ setAccTitle: (txt: string) => void;
23
+ getAccTitle: () => string;
24
+ setAccDescription: (txt: string) => void;
25
+ getAccDescription: () => string;
26
+ setDiagramTitle: (txt: string) => void;
27
+ getDiagramTitle: () => string;
28
+ };
29
+ renderer: {
30
+ setConf: (cnf: any) => void;
31
+ draw: (text: any, id: any, _version: any, diagObj: any) => void;
32
+ };
33
+ styles: (options: any) => string;
34
+ };
@@ -0,0 +1,24 @@
1
+ declare namespace _default {
2
+ export { ERMarkers };
3
+ export { insertMarkers };
4
+ }
5
+ export default _default;
6
+ declare namespace ERMarkers {
7
+ let ONLY_ONE_START: string;
8
+ let ONLY_ONE_END: string;
9
+ let ZERO_OR_ONE_START: string;
10
+ let ZERO_OR_ONE_END: string;
11
+ let ONE_OR_MORE_START: string;
12
+ let ONE_OR_MORE_END: string;
13
+ let ZERO_OR_MORE_START: string;
14
+ let ZERO_OR_MORE_END: string;
15
+ let MD_PARENT_END: string;
16
+ let MD_PARENT_START: string;
17
+ }
18
+ /**
19
+ * Put the markers into the svg DOM for later use with edge paths
20
+ *
21
+ * @param elem
22
+ * @param conf
23
+ */
24
+ declare function insertMarkers(elem: any, conf: any): void;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Return a unique id based on the given string. Start with the prefix, then a hyphen, then the
3
+ * simplified str, then a hyphen, then a unique uuid based on the str. (Hyphens are only included if needed.)
4
+ * Although the official XML standard for ids says that many more characters are valid in the id,
5
+ * this keeps things simple by accepting only A-Za-z0-9.
6
+ *
7
+ * @param {string} str Given string to use as the basis for the id. Default is `''`
8
+ * @param {string} prefix String to put at the start, followed by '-'. Default is `''`
9
+ * @returns {string}
10
+ * @see https://www.w3.org/TR/xml/#NT-Name
11
+ */
12
+ export function generateId(str?: string, prefix?: string): string;
13
+ export function setConf(cnf: any): void;
14
+ export function draw(text: any, id: any, _version: any, diagObj: any): void;
15
+ declare namespace _default {
16
+ export { setConf };
17
+ export { draw };
18
+ }
19
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export default getStyles;
2
+ declare function getStyles(options: any): string;
@@ -0,0 +1,3 @@
1
+ import type { DiagramDefinition } from '../../diagram-api/types.js';
2
+ declare const diagram: DiagramDefinition;
3
+ export default diagram;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Draws an info picture in the tag with id: id based on the graph definition in text.
3
+ *
4
+ * @param _text - Mermaid graph definition.
5
+ * @param id - The text for the error
6
+ * @param version - The version
7
+ */
8
+ export declare const draw: (_text: string, id: string, version: string) => void;
9
+ export declare const renderer: {
10
+ draw: (_text: string, id: string, version: string) => void;
11
+ };
12
+ export default renderer;
@@ -0,0 +1,3 @@
1
+ import type { ExternalDiagramDefinition } from '../../../diagram-api/types.js';
2
+ declare const plugin: ExternalDiagramDefinition;
3
+ export default plugin;
@@ -0,0 +1,10 @@
1
+ export function setConf(cnf: any): void;
2
+ export function addVertices(vert: any, svgId: any, root: any, doc: any, diagObj: any, parentLookupDb: any, graph: any): Promise<any>;
3
+ export function addEdges(edges: object, diagObj: any, graph: any, svg: any): any;
4
+ export function getClasses(text: any, diagObj: any): Record<string, import('../../../diagram-api/types.js').DiagramStyleClassDef>;
5
+ export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
6
+ declare namespace _default {
7
+ export { getClasses };
8
+ export { draw };
9
+ }
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import * as db from '../flowDb.js';
2
+ export declare const diagram: {
3
+ db: typeof db;
4
+ renderer: {
5
+ getClasses: (text: any, diagObj: any) => Record<string, import("../../../diagram-api/types.js").DiagramStyleClassDef>;
6
+ draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
7
+ };
8
+ parser: any;
9
+ styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
10
+ };
@@ -0,0 +1,5 @@
1
+ export interface TreeData {
2
+ parentById: Record<string, string>;
3
+ childrenById: Record<string, string[]>;
4
+ }
5
+ export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;
@@ -0,0 +1,19 @@
1
+ /** Returns the styles given options */
2
+ export interface FlowChartStyleOptions {
3
+ arrowheadColor: string;
4
+ border2: string;
5
+ clusterBkg: string;
6
+ clusterBorder: string;
7
+ edgeLabelBackground: string;
8
+ fontFamily: string;
9
+ lineColor: string;
10
+ mainBkg: string;
11
+ nodeBorder: string;
12
+ nodeTextColor: string;
13
+ tertiaryColor: string;
14
+ textColor: string;
15
+ titleColor: string;
16
+ [key: string]: string;
17
+ }
18
+ declare const getStyles: (options: FlowChartStyleOptions) => string;
19
+ export default getStyles;
@@ -0,0 +1,9 @@
1
+ /** @param render */
2
+ export function addToRender(render: any): void;
3
+ /** @param addShape */
4
+ export function addToRenderV2(addShape: any): void;
5
+ declare namespace _default {
6
+ export { addToRender };
7
+ export { addToRenderV2 };
8
+ }
9
+ export default _default;
@@ -0,0 +1,87 @@
1
+ export function lookUpDomId(id: any): any;
2
+ export function addVertex(_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}): void;
3
+ export function addSingleLink(_start: any, _end: any, type: any): void;
4
+ export function addLink(_start: any, _end: any, type: any): void;
5
+ export function updateLinkInterpolate(positions: any, interp: any): void;
6
+ export function updateLink(positions: any, style: any): void;
7
+ export function addClass(ids: any, style: any): void;
8
+ export function setDirection(dir: any): void;
9
+ export function setClass(ids: any, className: any): void;
10
+ export function setLink(ids: any, linkStr: any, target: any): void;
11
+ export function getTooltip(id: any): any;
12
+ export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
13
+ export function bindFunctions(element: any): void;
14
+ export function getDirection(): any;
15
+ export function getVertices(): {} | any | any;
16
+ export function getEdges(): {} | any | any[];
17
+ export function getClasses(): {} | any | any;
18
+ export function clear(ver?: string): void;
19
+ export function setGen(ver: any): void;
20
+ export function defaultStyle(): string;
21
+ export function addSubGraph(_id: any, list: any, _title: any): any;
22
+ export function getDepthFirstPos(pos: any): any;
23
+ export function indexNodes(): void;
24
+ export function getSubGraphs(): any[];
25
+ export function firstGraph(): boolean;
26
+ export function destructLink(_str: any, _startStr: any): {
27
+ type: string;
28
+ stroke: string;
29
+ };
30
+ export namespace lex {
31
+ export { firstGraph };
32
+ }
33
+ declare namespace _default {
34
+ export function defaultConfig(): import("../../config.type.js").FlowchartDiagramConfig | undefined;
35
+ export { setAccTitle };
36
+ export { getAccTitle };
37
+ export { getAccDescription };
38
+ export { setAccDescription };
39
+ export { addVertex };
40
+ export { lookUpDomId };
41
+ export { addLink };
42
+ export { updateLinkInterpolate };
43
+ export { updateLink };
44
+ export { addClass };
45
+ export { setDirection };
46
+ export { setClass };
47
+ export { setTooltip };
48
+ export { getTooltip };
49
+ export { setClickEvent };
50
+ export { setLink };
51
+ export { bindFunctions };
52
+ export { getDirection };
53
+ export { getVertices };
54
+ export { getEdges };
55
+ export { getClasses };
56
+ export { clear };
57
+ export { setGen };
58
+ export { defaultStyle };
59
+ export { addSubGraph };
60
+ export { getDepthFirstPos };
61
+ export { indexNodes };
62
+ export { getSubGraphs };
63
+ export { destructLink };
64
+ export { lex };
65
+ export { exists };
66
+ export { makeUniq };
67
+ export { setDiagramTitle };
68
+ export { getDiagramTitle };
69
+ }
70
+ export default _default;
71
+ import { setAccTitle } from '../common/commonDb.js';
72
+ import { getAccTitle } from '../common/commonDb.js';
73
+ import { getAccDescription } from '../common/commonDb.js';
74
+ import { setAccDescription } from '../common/commonDb.js';
75
+ declare function setTooltip(ids: any, tooltip: any): void;
76
+ declare function exists(allSgs: any, _id: any): boolean;
77
+ /**
78
+ * Deletes an id from all subgraphs
79
+ *
80
+ * @param sg
81
+ * @param allSubgraphs
82
+ */
83
+ declare function makeUniq(sg: any, allSubgraphs: any): {
84
+ nodes: any[];
85
+ };
86
+ import { setDiagramTitle } from '../common/commonDb.js';
87
+ import { getDiagramTitle } from '../common/commonDb.js';
@@ -0,0 +1,3 @@
1
+ import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
2
+ declare const plugin: ExternalDiagramDefinition;
3
+ export default plugin;
@@ -0,0 +1,3 @@
1
+ import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
2
+ declare const plugin: ExternalDiagramDefinition;
3
+ export default plugin;
@@ -0,0 +1,57 @@
1
+ import type { MermaidConfig } from '../../config.type.js';
2
+ export declare const diagram: {
3
+ parser: any;
4
+ db: {
5
+ defaultConfig: () => import("../../config.type.js").FlowchartDiagramConfig | undefined;
6
+ setAccTitle: (txt: string) => void;
7
+ getAccTitle: () => string;
8
+ getAccDescription: () => string;
9
+ setAccDescription: (txt: string) => void;
10
+ addVertex: (_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}) => void;
11
+ lookUpDomId: (id: any) => any;
12
+ addLink: (_start: any, _end: any, type: any) => void;
13
+ updateLinkInterpolate: (positions: any, interp: any) => void;
14
+ updateLink: (positions: any, style: any) => void;
15
+ addClass: (ids: any, style: any) => void;
16
+ setDirection: (dir: any) => void;
17
+ setClass: (ids: any, className: any) => void;
18
+ setTooltip: (ids: any, tooltip: any) => void;
19
+ getTooltip: (id: any) => any;
20
+ setClickEvent: (ids: any, functionName: any, functionArgs: any) => void;
21
+ setLink: (ids: any, linkStr: any, target: any) => void;
22
+ bindFunctions: (element: any) => void;
23
+ getDirection: () => any;
24
+ getVertices: () => any;
25
+ getEdges: () => any;
26
+ getClasses: () => any;
27
+ clear: (ver?: string) => void;
28
+ setGen: (ver: any) => void;
29
+ defaultStyle: () => string;
30
+ addSubGraph: (_id: any, list: any, _title: any) => any;
31
+ getDepthFirstPos: (pos: any) => any;
32
+ indexNodes: () => void;
33
+ getSubGraphs: () => any[];
34
+ destructLink: (_str: any, _startStr: any) => {
35
+ type: string;
36
+ stroke: string;
37
+ };
38
+ lex: {
39
+ firstGraph: () => boolean;
40
+ };
41
+ exists: (allSgs: any, _id: any) => boolean;
42
+ makeUniq: (sg: any, allSubgraphs: any) => {
43
+ nodes: any[];
44
+ };
45
+ setDiagramTitle: (txt: string) => void;
46
+ getDiagramTitle: () => string;
47
+ };
48
+ renderer: {
49
+ setConf: (cnf: any) => void;
50
+ addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => Promise<void>;
51
+ addEdges: (edges: object, g: object, diagObj: any) => Promise<void>;
52
+ getClasses: (text: any, diagObj: any) => Record<string, import("../../diagram-api/types.js").DiagramStyleClassDef>;
53
+ draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
54
+ };
55
+ styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
56
+ init: (cnf: MermaidConfig) => void;
57
+ };