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.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/_layouts/default.html +6 -0
- data/_layouts/page.html +1 -1
- data/assets/mermaid/Diagram.d.ts +33 -0
- data/assets/mermaid/Tableau10-31042135.js +10 -0
- data/assets/mermaid/Tableau10-558cc280.js +9 -0
- data/assets/mermaid/__mocks__/mermaidAPI.d.ts +13 -0
- data/assets/mermaid/accessibility.d.ts +27 -0
- data/assets/mermaid/accessibility.spec.d.ts +1 -0
- data/assets/mermaid/arc-c0f908ab.js +148 -0
- data/assets/mermaid/arc-d1f6357e.js +86 -0
- data/assets/mermaid/array-2ff2c7a6.js +6 -0
- data/assets/mermaid/array-b7dcf730.js +6 -0
- data/assets/mermaid/assignWithDepth.d.ts +30 -0
- data/assets/mermaid/blockDiagram-5dc23a45.js +1230 -0
- data/assets/mermaid/blockDiagram-9f4a6865.js +1822 -0
- data/assets/mermaid/blockDiagram-efe38566.js +1818 -0
- data/assets/mermaid/c4Diagram-1e775db3.js +1579 -0
- data/assets/mermaid/c4Diagram-ae766693.js +2473 -0
- data/assets/mermaid/c4Diagram-af207393.js +2463 -0
- data/assets/mermaid/channel-ebbc4130.js +5 -0
- data/assets/mermaid/channel-f9001828.js +8 -0
- data/assets/mermaid/classDiagram-72b9c71d.js +356 -0
- data/assets/mermaid/classDiagram-f52caa06.js +220 -0
- data/assets/mermaid/classDiagram-fb54d2a0.js +363 -0
- data/assets/mermaid/classDiagram-v2-640c694e.js +206 -0
- data/assets/mermaid/classDiagram-v2-a2b738ad.js +298 -0
- data/assets/mermaid/classDiagram-v2-fedb80f6.js +290 -0
- data/assets/mermaid/clone-9ea6bfeb.js +8 -0
- data/assets/mermaid/clone-afc2f047.js +8 -0
- data/assets/mermaid/config.d.ts +98 -0
- data/assets/mermaid/config.spec.d.ts +1 -0
- data/assets/mermaid/config.type.d.ts +1534 -0
- data/assets/mermaid/createText-03b82060.js +2966 -0
- data/assets/mermaid/createText-b70fe78a.js +4929 -0
- data/assets/mermaid/createText-ca0c5216.js +251 -0
- data/assets/mermaid/dagre-wrapper/blockArrowHelper.d.ts +8 -0
- data/assets/mermaid/dagre-wrapper/clusters.d.ts +4 -0
- data/assets/mermaid/dagre-wrapper/createLabel.d.ts +9 -0
- data/assets/mermaid/dagre-wrapper/edgeMarker.d.ts +12 -0
- data/assets/mermaid/dagre-wrapper/edgeMarker.spec.d.ts +1 -0
- data/assets/mermaid/dagre-wrapper/edges.d.ts +14 -0
- data/assets/mermaid/dagre-wrapper/index.d.ts +1 -0
- data/assets/mermaid/dagre-wrapper/intersect/index.d.ts +13 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-circle.d.ts +10 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-ellipse.d.ts +11 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-line.d.ts +13 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-node.d.ts +6 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-polygon.d.ts +10 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-rect.d.ts +5 -0
- data/assets/mermaid/dagre-wrapper/markers.d.ts +2 -0
- data/assets/mermaid/dagre-wrapper/mermaid-graphlib.d.ts +8 -0
- data/assets/mermaid/dagre-wrapper/nodes.d.ts +4 -0
- data/assets/mermaid/dagre-wrapper/shapes/note.d.ts +2 -0
- data/assets/mermaid/dagre-wrapper/shapes/util.d.ts +14 -0
- data/assets/mermaid/defaultConfig.d.ts +12 -0
- data/assets/mermaid/diagram-api/comments.d.ts +6 -0
- data/assets/mermaid/diagram-api/comments.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/detectType.d.ts +42 -0
- data/assets/mermaid/diagram-api/diagram-orchestration.d.ts +1 -0
- data/assets/mermaid/diagram-api/diagram-orchestration.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/diagramAPI.d.ts +31 -0
- data/assets/mermaid/diagram-api/diagramAPI.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/frontmatter.d.ts +18 -0
- data/assets/mermaid/diagram-api/frontmatter.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/loadDiagram.d.ts +1 -0
- data/assets/mermaid/diagram-api/regexes.d.ts +3 -0
- data/assets/mermaid/diagram-api/types.d.ts +84 -0
- data/assets/mermaid/diagram.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/blockDB.d.ts +54 -0
- data/assets/mermaid/diagrams/block/blockDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/block/blockDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/block/blockRenderer.d.ts +15 -0
- data/assets/mermaid/diagrams/block/blockTypes.d.ts +36 -0
- data/assets/mermaid/diagrams/block/blockUtils.d.ts +1 -0
- data/assets/mermaid/diagrams/block/layout.d.ts +13 -0
- data/assets/mermaid/diagrams/block/layout.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/parser/block.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/renderHelpers.d.ts +10 -0
- data/assets/mermaid/diagrams/block/styles.d.ts +18 -0
- data/assets/mermaid/diagrams/c4/c4Db.d.ts +127 -0
- data/assets/mermaid/diagrams/c4/c4Detector.d.ts +3 -0
- data/assets/mermaid/diagrams/c4/c4Diagram.d.ts +2 -0
- data/assets/mermaid/diagrams/c4/c4Renderer.d.ts +12 -0
- data/assets/mermaid/diagrams/c4/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/c4/svgDraw.d.ts +36 -0
- data/assets/mermaid/diagrams/class/classDb.d.ts +144 -0
- data/assets/mermaid/diagrams/class/classDetector-V2.d.ts +3 -0
- data/assets/mermaid/diagrams/class/classDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/class/classDiagram-v2.d.ts +2 -0
- data/assets/mermaid/diagrams/class/classDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/class/classDiagram.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/class/classRenderer-v2.d.ts +57 -0
- data/assets/mermaid/diagrams/class/classRenderer.d.ts +5 -0
- data/assets/mermaid/diagrams/class/classTypes.d.ts +78 -0
- data/assets/mermaid/diagrams/class/classTypes.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/class/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/class/svgDraw.d.ts +25 -0
- data/assets/mermaid/diagrams/common/common.d.ts +110 -0
- data/assets/mermaid/diagrams/common/common.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/common/commonDb.d.ts +7 -0
- data/assets/mermaid/diagrams/common/commonTypes.d.ts +51 -0
- data/assets/mermaid/diagrams/common/svgDrawCommon.d.ts +15 -0
- data/assets/mermaid/diagrams/er/erDb.d.ts +49 -0
- data/assets/mermaid/diagrams/er/erDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/er/erDiagram.d.ts +34 -0
- data/assets/mermaid/diagrams/er/erMarkers.d.ts +24 -0
- data/assets/mermaid/diagrams/er/erRenderer.d.ts +19 -0
- data/assets/mermaid/diagrams/er/erRenderer.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/er/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/error/errorDiagram.d.ts +3 -0
- data/assets/mermaid/diagrams/error/errorRenderer.d.ts +12 -0
- data/assets/mermaid/diagrams/flowchart/elk/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/elk/detector.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts +10 -0
- data/assets/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts +10 -0
- data/assets/mermaid/diagrams/flowchart/elk/render-utils.d.ts +5 -0
- data/assets/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/flowchart/elk/styles.d.ts +19 -0
- data/assets/mermaid/diagrams/flowchart/flowChartShapes.d.ts +9 -0
- data/assets/mermaid/diagrams/flowchart/flowDb.d.ts +87 -0
- data/assets/mermaid/diagrams/flowchart/flowDetector-v2.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/flowDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts +57 -0
- data/assets/mermaid/diagrams/flowchart/flowDiagram.d.ts +57 -0
- data/assets/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts +13 -0
- data/assets/mermaid/diagrams/flowchart/flowRenderer.d.ts +13 -0
- data/assets/mermaid/diagrams/flowchart/styles.d.ts +18 -0
- data/assets/mermaid/diagrams/gantt/ganttDb.d.ts +106 -0
- data/assets/mermaid/diagrams/gantt/ganttDb.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/gantt/ganttDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/gantt/ganttDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/gantt/ganttRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/gantt/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/git/gitGraphAst.d.ts +61 -0
- data/assets/mermaid/diagrams/git/gitGraphDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/git/gitGraphDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/git/gitGraphRenderer.d.ts +5 -0
- data/assets/mermaid/diagrams/git/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/info/info.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/info/infoDb.d.ts +5 -0
- data/assets/mermaid/diagrams/info/infoDetector.d.ts +2 -0
- data/assets/mermaid/diagrams/info/infoDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/info/infoRenderer.d.ts +4 -0
- data/assets/mermaid/diagrams/info/infoTypes.d.ts +9 -0
- data/assets/mermaid/diagrams/mindmap/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/mindmap/mindmap-definition.d.ts +2 -0
- data/assets/mermaid/diagrams/mindmap/mindmap.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/mindmap/mindmapDb.d.ts +30 -0
- data/assets/mermaid/diagrams/mindmap/mindmapRenderer.d.ts +21 -0
- data/assets/mermaid/diagrams/mindmap/mindmapTypes.d.ts +20 -0
- data/assets/mermaid/diagrams/mindmap/styles.d.ts +3 -0
- data/assets/mermaid/diagrams/mindmap/svgDraw.d.ts +13 -0
- data/assets/mermaid/diagrams/pie/pie.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/pie/pieDb.d.ts +6 -0
- data/assets/mermaid/diagrams/pie/pieDetector.d.ts +2 -0
- data/assets/mermaid/diagrams/pie/pieDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/pie/pieRenderer.d.ts +13 -0
- data/assets/mermaid/diagrams/pie/pieStyles.d.ts +3 -0
- data/assets/mermaid/diagrams/pie/pieTypes.d.ts +53 -0
- data/assets/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts +118 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts +38 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts +6 -0
- data/assets/mermaid/diagrams/requirement/requirementDb.d.ts +70 -0
- data/assets/mermaid/diagrams/requirement/requirementDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/requirement/requirementDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/requirement/requirementMarkers.d.ts +10 -0
- data/assets/mermaid/diagrams/requirement/requirementRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/requirement/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/sankey/parser/sankey.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/sankey/sankeyDB.d.ts +36 -0
- data/assets/mermaid/diagrams/sankey/sankeyDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/sankey/sankeyDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/sankey/sankeyRenderer.d.ts +14 -0
- data/assets/mermaid/diagrams/sankey/sankeyUtils.d.ts +1 -0
- data/assets/mermaid/diagrams/sequence/sequenceDb.d.ts +153 -0
- data/assets/mermaid/diagrams/sequence/sequenceDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/sequence/sequenceDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/sequence/sequenceRenderer.d.ts +202 -0
- data/assets/mermaid/diagrams/sequence/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/sequence/svgDraw.d.ts +73 -0
- data/assets/mermaid/diagrams/state/id-cache.d.ts +11 -0
- data/assets/mermaid/diagrams/state/shapes.d.ts +14 -0
- data/assets/mermaid/diagrams/state/stateCommon.d.ts +22 -0
- data/assets/mermaid/diagrams/state/stateDb.d.ts +91 -0
- data/assets/mermaid/diagrams/state/stateDetector-V2.d.ts +3 -0
- data/assets/mermaid/diagrams/state/stateDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/state/stateDiagram-v2.d.ts +2 -0
- data/assets/mermaid/diagrams/state/stateDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/state/stateRenderer-v2.d.ts +20 -0
- data/assets/mermaid/diagrams/state/stateRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/state/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/timeline/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/timeline/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/timeline/svgDraw.d.ts +46 -0
- data/assets/mermaid/diagrams/timeline/timeline-definition.d.ts +10 -0
- data/assets/mermaid/diagrams/timeline/timelineDb.d.ts +20 -0
- data/assets/mermaid/diagrams/timeline/timelineRenderer.d.ts +19 -0
- data/assets/mermaid/diagrams/user-journey/journeyDb.d.ts +30 -0
- data/assets/mermaid/diagrams/user-journey/journeyDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/user-journey/journeyDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/user-journey/journeyRenderer.d.ts +30 -0
- data/assets/mermaid/diagrams/user-journey/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/user-journey/svgDraw.d.ts +20 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts +38 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts +11 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts +16 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts +20 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts +11 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/index.d.ts +5 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts +132 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts +10 -0
- data/assets/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/xychart/xychartDb.d.ts +40 -0
- data/assets/mermaid/diagrams/xychart/xychartDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/xychart/xychartDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/xychart/xychartRenderer.d.ts +6 -0
- data/assets/mermaid/docs/vite.config.d.ts +2 -0
- data/assets/mermaid/edges-066a5561.js +1840 -0
- data/assets/mermaid/edges-16357fde.js +1083 -0
- data/assets/mermaid/edges-ce5cfb7c.js +1840 -0
- data/assets/mermaid/erDiagram-09d1c15f.js +1176 -0
- data/assets/mermaid/erDiagram-543717f2.js +1321 -0
- data/assets/mermaid/erDiagram-c7ff1bec.js +931 -0
- data/assets/mermaid/errors.d.ts +3 -0
- data/assets/mermaid/flowDb-9a89ea33.js +1126 -0
- data/assets/mermaid/flowDb-ba9bd7fa.js +1713 -0
- data/assets/mermaid/flowDb-c1833063.js +1714 -0
- data/assets/mermaid/flowDiagram-aadb13b0.js +797 -0
- data/assets/mermaid/flowDiagram-b222e15a.js +614 -0
- data/assets/mermaid/flowDiagram-b5e7ba30.js +1278 -0
- data/assets/mermaid/flowDiagram-v2-13329dc7.js +40 -0
- data/assets/mermaid/flowDiagram-v2-54711e03.js +32 -0
- data/assets/mermaid/flowDiagram-v2-f2119625.js +25 -0
- data/assets/mermaid/flowchart-elk-definition-2d49707c.js +93397 -0
- data/assets/mermaid/flowchart-elk-definition-ae0efee6.js +814 -0
- data/assets/mermaid/flowchart-elk-definition-cf813a97.js +48407 -0
- data/assets/mermaid/ganttDiagram-12cf43db.js +3445 -0
- data/assets/mermaid/ganttDiagram-3c2fde2b.js +2501 -0
- data/assets/mermaid/ganttDiagram-b62c793e.js +2061 -0
- data/assets/mermaid/gitGraphDiagram-942e62fe.js +1800 -0
- data/assets/mermaid/gitGraphDiagram-b9392a12.js +1790 -0
- data/assets/mermaid/gitGraphDiagram-c3a0619c.js +1264 -0
- data/assets/mermaid/graph-0ee63739.js +881 -0
- data/assets/mermaid/graph-fe24fab6.js +1285 -0
- data/assets/mermaid/index-01f381cb.js +622 -0
- data/assets/mermaid/index-bb6d8841.js +373 -0
- data/assets/mermaid/index-fc479858.js +663 -0
- data/assets/mermaid/infoDiagram-2f5c50c0.js +319 -0
- data/assets/mermaid/infoDiagram-94cd232f.js +520 -0
- data/assets/mermaid/infoDiagram-d0d5c9bd.js +510 -0
- data/assets/mermaid/init-cc95ec8e.js +16 -0
- data/assets/mermaid/init-f9637058.js +16 -0
- data/assets/mermaid/interactionDb.d.ts +2 -0
- data/assets/mermaid/journeyDiagram-14fe341a.js +804 -0
- data/assets/mermaid/journeyDiagram-6625b456.js +1191 -0
- data/assets/mermaid/journeyDiagram-b56e6921.js +1183 -0
- data/assets/mermaid/katex-d90b6d29.js +11624 -0
- data/assets/mermaid/katex-ffb0e8f1.js +14432 -0
- data/assets/mermaid/layout-163b9689.js +2314 -0
- data/assets/mermaid/layout-fd473db2.js +1536 -0
- data/assets/mermaid/line-24d93f1b.js +34 -0
- data/assets/mermaid/line-87f517ef.js +50 -0
- data/assets/mermaid/linear-0ad15847.js +595 -0
- data/assets/mermaid/linear-9bcf74c4.js +447 -0
- data/assets/mermaid/logger.d.ts +9 -0
- data/assets/mermaid/mermaid-6dc72991.js +6461 -0
- data/assets/mermaid/mermaid-9f2aa176.js +8112 -0
- data/assets/mermaid/mermaid-dcacb631.js +12793 -0
- data/assets/mermaid/mermaid.core.mjs +14 -0
- data/assets/mermaid/mermaid.d.ts +146 -0
- data/assets/mermaid/mermaid.esm.min.mjs +4 -0
- data/assets/mermaid/mermaid.esm.mjs +4 -0
- data/assets/mermaid/mermaid.js +195755 -0
- data/assets/mermaid/mermaid.min.js +2029 -0
- data/assets/mermaid/mermaid.spec.d.ts +1 -0
- data/assets/mermaid/mermaidAPI.d.ts +170 -0
- data/assets/mermaid/mermaidAPI.spec.d.ts +1 -0
- data/assets/mermaid/mindmap-definition-307c710a.js +1177 -0
- data/assets/mermaid/mindmap-definition-696ddea4.js +32342 -0
- data/assets/mermaid/mindmap-definition-9399c7e6.js +18760 -0
- data/assets/mermaid/ordinal-475e0c0c.js +82 -0
- data/assets/mermaid/ordinal-5695958c.js +65 -0
- data/assets/mermaid/path-39bad7e2.js +118 -0
- data/assets/mermaid/path-428ebac9.js +91 -0
- data/assets/mermaid/pieDiagram-828dae43.js +502 -0
- data/assets/mermaid/pieDiagram-bb1d19e5.js +722 -0
- data/assets/mermaid/pieDiagram-e854eaf0.js +772 -0
- data/assets/mermaid/preprocess.d.ts +10 -0
- data/assets/mermaid/quadrantDiagram-25a9848b.js +1199 -0
- data/assets/mermaid/quadrantDiagram-5fa00455.js +904 -0
- data/assets/mermaid/quadrantDiagram-c759a472.js +1207 -0
- data/assets/mermaid/rendering-util/createText.d.ts +11 -0
- data/assets/mermaid/rendering-util/handle-markdown-text.d.ts +6 -0
- data/assets/mermaid/rendering-util/handle-markdown-text.spec.d.ts +1 -0
- data/assets/mermaid/rendering-util/selectSvgElement.d.ts +8 -0
- data/assets/mermaid/rendering-util/splitText.d.ts +24 -0
- data/assets/mermaid/rendering-util/splitText.spec.d.ts +1 -0
- data/assets/mermaid/rendering-util/uid.d.ts +8 -0
- data/assets/mermaid/requirementDiagram-03163dc4.js +769 -0
- data/assets/mermaid/requirementDiagram-87253d64.js +1098 -0
- data/assets/mermaid/requirementDiagram-a721e157.js +1091 -0
- data/assets/mermaid/sankeyDiagram-33525efb.js +1198 -0
- data/assets/mermaid/sankeyDiagram-52ec8976.js +818 -0
- data/assets/mermaid/sankeyDiagram-707fac0f.js +660 -0
- data/assets/mermaid/sequenceDiagram-6894f283.js +3346 -0
- data/assets/mermaid/sequenceDiagram-9813c129.js +3336 -0
- data/assets/mermaid/sequenceDiagram-b517d154.js +2234 -0
- data/assets/mermaid/setupGraphViewbox.d.ts +3 -0
- data/assets/mermaid/stateDiagram-5dee940d.js +474 -0
- data/assets/mermaid/stateDiagram-5ec31577.js +467 -0
- data/assets/mermaid/stateDiagram-fca82b5b.js +275 -0
- data/assets/mermaid/stateDiagram-v2-1992cada.js +333 -0
- data/assets/mermaid/stateDiagram-v2-992e82a1.js +325 -0
- data/assets/mermaid/stateDiagram-v2-ed04200a.js +190 -0
- data/assets/mermaid/styles-0784dbeb.js +1363 -0
- data/assets/mermaid/styles-11e81fdd.js +1089 -0
- data/assets/mermaid/styles-36a1a2e8.js +1483 -0
- data/assets/mermaid/styles-483fbfea.js +509 -0
- data/assets/mermaid/styles-727cdd61.js +571 -0
- data/assets/mermaid/styles-b83b31c9.js +1484 -0
- data/assets/mermaid/styles-cacbff60.js +960 -0
- data/assets/mermaid/styles-e75131e4.js +433 -0
- data/assets/mermaid/styles-f80da881.js +1363 -0
- data/assets/mermaid/styles.d.ts +12 -0
- data/assets/mermaid/styles.spec.d.ts +1 -0
- data/assets/mermaid/svgDrawCommon-5e1cfd1d.js +101 -0
- data/assets/mermaid/svgDrawCommon-d6ab583c.js +100 -0
- data/assets/mermaid/svgDrawCommon-ecc5f780.js +64 -0
- data/assets/mermaid/tests/MockedD3.d.ts +45 -0
- data/assets/mermaid/tests/setup.d.ts +1 -0
- data/assets/mermaid/tests/util.d.ts +3 -0
- data/assets/mermaid/themes/erDiagram-oldHardcodedValues.d.ts +7 -0
- data/assets/mermaid/themes/index.d.ts +24 -0
- data/assets/mermaid/themes/theme-base.d.ts +189 -0
- data/assets/mermaid/themes/theme-dark.d.ts +177 -0
- data/assets/mermaid/themes/theme-default.d.ts +188 -0
- data/assets/mermaid/themes/theme-forest.d.ts +185 -0
- data/assets/mermaid/themes/theme-helpers.d.ts +1 -0
- data/assets/mermaid/themes/theme-neutral.d.ts +182 -0
- data/assets/mermaid/timeline-definition-23ce0e2e.js +1211 -0
- data/assets/mermaid/timeline-definition-4ee9bff4.js +795 -0
- data/assets/mermaid/timeline-definition-bf702344.js +1219 -0
- data/assets/mermaid/types.d.ts +31 -0
- data/assets/mermaid/utils/imperativeState.d.ts +32 -0
- data/assets/mermaid/utils/imperativeState.spec.d.ts +1 -0
- data/assets/mermaid/utils/lineWithOffset.d.ts +5 -0
- data/assets/mermaid/utils/sanitizeDirective.d.ts +7 -0
- data/assets/mermaid/utils/subGraphTitleMargins.d.ts +8 -0
- data/assets/mermaid/utils/subGraphTitleMargins.spec.d.ts +1 -0
- data/assets/mermaid/utils.d.ts +286 -0
- data/assets/mermaid/utils.spec.d.ts +1 -0
- data/assets/mermaid/xychartDiagram-de2e5521.js +1800 -0
- data/assets/mermaid/xychartDiagram-e5e6b652.js +1284 -0
- data/assets/mermaid/xychartDiagram-f11f50a6.js +1745 -0
- data/assets/tables.css +23 -0
- data/assets/toURI.js +142 -0
- metadata +363 -2
@@ -0,0 +1,1534 @@
|
|
1
|
+
/**
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
5
|
+
*/
|
6
|
+
/**
|
7
|
+
* Configuration options to pass to the `dompurify` library.
|
8
|
+
*/
|
9
|
+
export type DOMPurifyConfiguration = import('dompurify').Config;
|
10
|
+
/**
|
11
|
+
* JavaScript function that returns a `FontConfig`.
|
12
|
+
*
|
13
|
+
* By default, these return the appropriate `*FontSize`, `*FontFamily`, `*FontWeight`
|
14
|
+
* values.
|
15
|
+
*
|
16
|
+
* For example, the font calculator called `boundaryFont` might be defined as:
|
17
|
+
*
|
18
|
+
* ```javascript
|
19
|
+
* boundaryFont: function () {
|
20
|
+
* return {
|
21
|
+
* fontFamily: this.boundaryFontFamily,
|
22
|
+
* fontSize: this.boundaryFontSize,
|
23
|
+
* fontWeight: this.boundaryFontWeight,
|
24
|
+
* };
|
25
|
+
* }
|
26
|
+
* ```
|
27
|
+
*
|
28
|
+
*
|
29
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
30
|
+
* via the `definition` "FontCalculator".
|
31
|
+
*/
|
32
|
+
export type FontCalculator = () => Partial<FontConfig>;
|
33
|
+
/**
|
34
|
+
* Picks the color of the sankey diagram links, using the colors of the source and/or target of the links.
|
35
|
+
*
|
36
|
+
*
|
37
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
38
|
+
* via the `definition` "SankeyLinkColor".
|
39
|
+
*/
|
40
|
+
export type SankeyLinkColor = 'source' | 'target' | 'gradient';
|
41
|
+
/**
|
42
|
+
* Controls the alignment of the Sankey diagrams.
|
43
|
+
*
|
44
|
+
* See <https://github.com/d3/d3-sankey#alignments>.
|
45
|
+
*
|
46
|
+
*
|
47
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
48
|
+
* via the `definition` "SankeyNodeAlignment".
|
49
|
+
*/
|
50
|
+
export type SankeyNodeAlignment = 'left' | 'right' | 'center' | 'justify';
|
51
|
+
/**
|
52
|
+
* The font size to use
|
53
|
+
*/
|
54
|
+
export type CSSFontSize = string | number;
|
55
|
+
export interface MermaidConfig {
|
56
|
+
/**
|
57
|
+
* Theme, the CSS style sheet.
|
58
|
+
* You may also use `themeCSS` to override this value.
|
59
|
+
*
|
60
|
+
*/
|
61
|
+
theme?: string | 'default' | 'forest' | 'dark' | 'neutral' | 'null';
|
62
|
+
themeVariables?: any;
|
63
|
+
themeCSS?: string;
|
64
|
+
/**
|
65
|
+
* The maximum allowed size of the users text diagram
|
66
|
+
*/
|
67
|
+
maxTextSize?: number;
|
68
|
+
/**
|
69
|
+
* Defines the maximum number of edges that can be drawn in a graph.
|
70
|
+
*
|
71
|
+
*/
|
72
|
+
maxEdges?: number;
|
73
|
+
darkMode?: boolean;
|
74
|
+
htmlLabels?: boolean;
|
75
|
+
/**
|
76
|
+
* Specifies the font to be used in the rendered diagrams.
|
77
|
+
* Can be any possible CSS `font-family`.
|
78
|
+
* See https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
|
79
|
+
*
|
80
|
+
*/
|
81
|
+
fontFamily?: string;
|
82
|
+
altFontFamily?: string;
|
83
|
+
/**
|
84
|
+
* This option decides the amount of logging to be used by mermaid.
|
85
|
+
*
|
86
|
+
*/
|
87
|
+
logLevel?: number | string | 0 | 2 | 1 | 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal' | 3 | 4 | 5 | undefined;
|
88
|
+
/**
|
89
|
+
* Level of trust for parsed diagram
|
90
|
+
*/
|
91
|
+
securityLevel?: string | 'strict' | 'loose' | 'antiscript' | 'sandbox' | undefined;
|
92
|
+
/**
|
93
|
+
* Dictates whether mermaid starts on Page load
|
94
|
+
*/
|
95
|
+
startOnLoad?: boolean;
|
96
|
+
/**
|
97
|
+
* Controls whether or arrow markers in html code are absolute paths or anchors.
|
98
|
+
* This matters if you are using base tag settings.
|
99
|
+
*
|
100
|
+
*/
|
101
|
+
arrowMarkerAbsolute?: boolean;
|
102
|
+
/**
|
103
|
+
* This option controls which `currentConfig` keys are considered secure and
|
104
|
+
* can only be changed via call to `mermaidAPI.initialize`.
|
105
|
+
* Calls to `mermaidAPI.reinitialize` cannot make changes to the secure keys
|
106
|
+
* in the current `currentConfig`.
|
107
|
+
*
|
108
|
+
* This prevents malicious graph directives from overriding a site's default security.
|
109
|
+
*
|
110
|
+
*/
|
111
|
+
secure?: string[];
|
112
|
+
/**
|
113
|
+
* This option specifies if Mermaid can expect the dependent to include KaTeX stylesheets for browsers
|
114
|
+
* without their own MathML implementation. If this option is disabled and MathML is not supported, the math
|
115
|
+
* equations are replaced with a warning. If this option is enabled and MathML is not supported, Mermaid will
|
116
|
+
* fall back to legacy rendering for KaTeX.
|
117
|
+
*
|
118
|
+
*/
|
119
|
+
legacyMathML?: boolean;
|
120
|
+
/**
|
121
|
+
* This option controls if the generated ids of nodes in the SVG are
|
122
|
+
* generated randomly or based on a seed.
|
123
|
+
* If set to `false`, the IDs are generated based on the current date and
|
124
|
+
* thus are not deterministic. This is the default behavior.
|
125
|
+
*
|
126
|
+
* This matters if your files are checked into source control e.g. git and
|
127
|
+
* should not change unless content is changed.
|
128
|
+
*
|
129
|
+
*/
|
130
|
+
deterministicIds?: boolean;
|
131
|
+
/**
|
132
|
+
* This option is the optional seed for deterministic ids.
|
133
|
+
* If set to `undefined` but deterministicIds is `true`, a simple number iterator is used.
|
134
|
+
* You can set this attribute to base the seed on a static string.
|
135
|
+
*
|
136
|
+
*/
|
137
|
+
deterministicIDSeed?: string;
|
138
|
+
flowchart?: FlowchartDiagramConfig;
|
139
|
+
sequence?: SequenceDiagramConfig;
|
140
|
+
gantt?: GanttDiagramConfig;
|
141
|
+
journey?: JourneyDiagramConfig;
|
142
|
+
timeline?: TimelineDiagramConfig;
|
143
|
+
class?: ClassDiagramConfig;
|
144
|
+
state?: StateDiagramConfig;
|
145
|
+
er?: ErDiagramConfig;
|
146
|
+
pie?: PieDiagramConfig;
|
147
|
+
quadrantChart?: QuadrantChartConfig;
|
148
|
+
xyChart?: XYChartConfig;
|
149
|
+
requirement?: RequirementDiagramConfig;
|
150
|
+
mindmap?: MindmapDiagramConfig;
|
151
|
+
gitGraph?: GitGraphDiagramConfig;
|
152
|
+
c4?: C4DiagramConfig;
|
153
|
+
sankey?: SankeyDiagramConfig;
|
154
|
+
block?: BlockDiagramConfig;
|
155
|
+
dompurifyConfig?: DOMPurifyConfiguration;
|
156
|
+
wrap?: boolean;
|
157
|
+
fontSize?: number;
|
158
|
+
}
|
159
|
+
/**
|
160
|
+
* The object containing configurations specific for block diagrams.
|
161
|
+
*
|
162
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
163
|
+
* via the `definition` "BlockDiagramConfig".
|
164
|
+
*/
|
165
|
+
export interface BlockDiagramConfig extends BaseDiagramConfig {
|
166
|
+
padding?: number;
|
167
|
+
}
|
168
|
+
/**
|
169
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
170
|
+
* via the `definition` "BaseDiagramConfig".
|
171
|
+
*/
|
172
|
+
export interface BaseDiagramConfig {
|
173
|
+
useWidth?: number;
|
174
|
+
/**
|
175
|
+
* When this flag is set to `true`, the height and width is set to 100%
|
176
|
+
* and is then scaled with the available space.
|
177
|
+
* If set to `false`, the absolute space required is used.
|
178
|
+
*
|
179
|
+
*/
|
180
|
+
useMaxWidth?: boolean;
|
181
|
+
}
|
182
|
+
/**
|
183
|
+
* The object containing configurations specific for c4 diagrams
|
184
|
+
*
|
185
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
186
|
+
* via the `definition` "C4DiagramConfig".
|
187
|
+
*/
|
188
|
+
export interface C4DiagramConfig extends BaseDiagramConfig {
|
189
|
+
/**
|
190
|
+
* Margin to the right and left of the c4 diagram, must be a positive value.
|
191
|
+
*
|
192
|
+
*/
|
193
|
+
diagramMarginX?: number;
|
194
|
+
/**
|
195
|
+
* Margin to the over and under the c4 diagram, must be a positive value.
|
196
|
+
*
|
197
|
+
*/
|
198
|
+
diagramMarginY?: number;
|
199
|
+
/**
|
200
|
+
* Margin between shapes
|
201
|
+
*/
|
202
|
+
c4ShapeMargin?: number;
|
203
|
+
/**
|
204
|
+
* Padding between shapes
|
205
|
+
*/
|
206
|
+
c4ShapePadding?: number;
|
207
|
+
/**
|
208
|
+
* Width of person boxes
|
209
|
+
*/
|
210
|
+
width?: number;
|
211
|
+
/**
|
212
|
+
* Height of person boxes
|
213
|
+
*/
|
214
|
+
height?: number;
|
215
|
+
/**
|
216
|
+
* Margin around boxes
|
217
|
+
*/
|
218
|
+
boxMargin?: number;
|
219
|
+
/**
|
220
|
+
* How many shapes to place in each row.
|
221
|
+
*/
|
222
|
+
c4ShapeInRow?: number;
|
223
|
+
nextLinePaddingX?: number;
|
224
|
+
/**
|
225
|
+
* How many boundaries to place in each row.
|
226
|
+
*/
|
227
|
+
c4BoundaryInRow?: number;
|
228
|
+
/**
|
229
|
+
* This sets the font size of Person shape for the diagram
|
230
|
+
*/
|
231
|
+
personFontSize?: string | number;
|
232
|
+
/**
|
233
|
+
* This sets the font weight of Person shape for the diagram
|
234
|
+
*/
|
235
|
+
personFontFamily?: string;
|
236
|
+
/**
|
237
|
+
* This sets the font weight of Person shape for the diagram
|
238
|
+
*/
|
239
|
+
personFontWeight?: string | number;
|
240
|
+
/**
|
241
|
+
* This sets the font size of External Person shape for the diagram
|
242
|
+
*/
|
243
|
+
external_personFontSize?: string | number;
|
244
|
+
/**
|
245
|
+
* This sets the font family of External Person shape for the diagram
|
246
|
+
*/
|
247
|
+
external_personFontFamily?: string;
|
248
|
+
/**
|
249
|
+
* This sets the font weight of External Person shape for the diagram
|
250
|
+
*/
|
251
|
+
external_personFontWeight?: string | number;
|
252
|
+
/**
|
253
|
+
* This sets the font size of System shape for the diagram
|
254
|
+
*/
|
255
|
+
systemFontSize?: string | number;
|
256
|
+
/**
|
257
|
+
* This sets the font family of System shape for the diagram
|
258
|
+
*/
|
259
|
+
systemFontFamily?: string;
|
260
|
+
/**
|
261
|
+
* This sets the font weight of System shape for the diagram
|
262
|
+
*/
|
263
|
+
systemFontWeight?: string | number;
|
264
|
+
/**
|
265
|
+
* This sets the font size of External System shape for the diagram
|
266
|
+
*/
|
267
|
+
external_systemFontSize?: string | number;
|
268
|
+
/**
|
269
|
+
* This sets the font family of External System shape for the diagram
|
270
|
+
*/
|
271
|
+
external_systemFontFamily?: string;
|
272
|
+
/**
|
273
|
+
* This sets the font weight of External System shape for the diagram
|
274
|
+
*/
|
275
|
+
external_systemFontWeight?: string | number;
|
276
|
+
/**
|
277
|
+
* This sets the font size of System DB shape for the diagram
|
278
|
+
*/
|
279
|
+
system_dbFontSize?: string | number;
|
280
|
+
/**
|
281
|
+
* This sets the font family of System DB shape for the diagram
|
282
|
+
*/
|
283
|
+
system_dbFontFamily?: string;
|
284
|
+
/**
|
285
|
+
* This sets the font weight of System DB shape for the diagram
|
286
|
+
*/
|
287
|
+
system_dbFontWeight?: string | number;
|
288
|
+
/**
|
289
|
+
* This sets the font size of External System DB shape for the diagram
|
290
|
+
*/
|
291
|
+
external_system_dbFontSize?: string | number;
|
292
|
+
/**
|
293
|
+
* This sets the font family of External System DB shape for the diagram
|
294
|
+
*/
|
295
|
+
external_system_dbFontFamily?: string;
|
296
|
+
/**
|
297
|
+
* This sets the font weight of External System DB shape for the diagram
|
298
|
+
*/
|
299
|
+
external_system_dbFontWeight?: string | number;
|
300
|
+
/**
|
301
|
+
* This sets the font size of System Queue shape for the diagram
|
302
|
+
*/
|
303
|
+
system_queueFontSize?: string | number;
|
304
|
+
/**
|
305
|
+
* This sets the font family of System Queue shape for the diagram
|
306
|
+
*/
|
307
|
+
system_queueFontFamily?: string;
|
308
|
+
/**
|
309
|
+
* This sets the font weight of System Queue shape for the diagram
|
310
|
+
*/
|
311
|
+
system_queueFontWeight?: string | number;
|
312
|
+
/**
|
313
|
+
* This sets the font size of External System Queue shape for the diagram
|
314
|
+
*/
|
315
|
+
external_system_queueFontSize?: string | number;
|
316
|
+
/**
|
317
|
+
* This sets the font family of External System Queue shape for the diagram
|
318
|
+
*/
|
319
|
+
external_system_queueFontFamily?: string;
|
320
|
+
/**
|
321
|
+
* This sets the font weight of External System Queue shape for the diagram
|
322
|
+
*/
|
323
|
+
external_system_queueFontWeight?: string | number;
|
324
|
+
/**
|
325
|
+
* This sets the font size of Boundary shape for the diagram
|
326
|
+
*/
|
327
|
+
boundaryFontSize?: string | number;
|
328
|
+
/**
|
329
|
+
* This sets the font family of Boundary shape for the diagram
|
330
|
+
*/
|
331
|
+
boundaryFontFamily?: string;
|
332
|
+
/**
|
333
|
+
* This sets the font weight of Boundary shape for the diagram
|
334
|
+
*/
|
335
|
+
boundaryFontWeight?: string | number;
|
336
|
+
/**
|
337
|
+
* This sets the font size of Message shape for the diagram
|
338
|
+
*/
|
339
|
+
messageFontSize?: string | number;
|
340
|
+
/**
|
341
|
+
* This sets the font family of Message shape for the diagram
|
342
|
+
*/
|
343
|
+
messageFontFamily?: string;
|
344
|
+
/**
|
345
|
+
* This sets the font weight of Message shape for the diagram
|
346
|
+
*/
|
347
|
+
messageFontWeight?: string | number;
|
348
|
+
/**
|
349
|
+
* This sets the font size of Container shape for the diagram
|
350
|
+
*/
|
351
|
+
containerFontSize?: string | number;
|
352
|
+
/**
|
353
|
+
* This sets the font family of Container shape for the diagram
|
354
|
+
*/
|
355
|
+
containerFontFamily?: string;
|
356
|
+
/**
|
357
|
+
* This sets the font weight of Container shape for the diagram
|
358
|
+
*/
|
359
|
+
containerFontWeight?: string | number;
|
360
|
+
/**
|
361
|
+
* This sets the font size of External Container shape for the diagram
|
362
|
+
*/
|
363
|
+
external_containerFontSize?: string | number;
|
364
|
+
/**
|
365
|
+
* This sets the font family of External Container shape for the diagram
|
366
|
+
*/
|
367
|
+
external_containerFontFamily?: string;
|
368
|
+
/**
|
369
|
+
* This sets the font weight of External Container shape for the diagram
|
370
|
+
*/
|
371
|
+
external_containerFontWeight?: string | number;
|
372
|
+
/**
|
373
|
+
* This sets the font size of Container DB shape for the diagram
|
374
|
+
*/
|
375
|
+
container_dbFontSize?: string | number;
|
376
|
+
/**
|
377
|
+
* This sets the font family of Container DB shape for the diagram
|
378
|
+
*/
|
379
|
+
container_dbFontFamily?: string;
|
380
|
+
/**
|
381
|
+
* This sets the font weight of Container DB shape for the diagram
|
382
|
+
*/
|
383
|
+
container_dbFontWeight?: string | number;
|
384
|
+
/**
|
385
|
+
* This sets the font size of External Container DB shape for the diagram
|
386
|
+
*/
|
387
|
+
external_container_dbFontSize?: string | number;
|
388
|
+
/**
|
389
|
+
* This sets the font family of External Container DB shape for the diagram
|
390
|
+
*/
|
391
|
+
external_container_dbFontFamily?: string;
|
392
|
+
/**
|
393
|
+
* This sets the font weight of External Container DB shape for the diagram
|
394
|
+
*/
|
395
|
+
external_container_dbFontWeight?: string | number;
|
396
|
+
/**
|
397
|
+
* This sets the font size of Container Queue shape for the diagram
|
398
|
+
*/
|
399
|
+
container_queueFontSize?: string | number;
|
400
|
+
/**
|
401
|
+
* This sets the font family of Container Queue shape for the diagram
|
402
|
+
*/
|
403
|
+
container_queueFontFamily?: string;
|
404
|
+
/**
|
405
|
+
* This sets the font weight of Container Queue shape for the diagram
|
406
|
+
*/
|
407
|
+
container_queueFontWeight?: string | number;
|
408
|
+
/**
|
409
|
+
* This sets the font size of External Container Queue shape for the diagram
|
410
|
+
*/
|
411
|
+
external_container_queueFontSize?: string | number;
|
412
|
+
/**
|
413
|
+
* This sets the font family of External Container Queue shape for the diagram
|
414
|
+
*/
|
415
|
+
external_container_queueFontFamily?: string;
|
416
|
+
/**
|
417
|
+
* This sets the font weight of External Container Queue shape for the diagram
|
418
|
+
*/
|
419
|
+
external_container_queueFontWeight?: string | number;
|
420
|
+
/**
|
421
|
+
* This sets the font size of Component shape for the diagram
|
422
|
+
*/
|
423
|
+
componentFontSize?: string | number;
|
424
|
+
/**
|
425
|
+
* This sets the font family of Component shape for the diagram
|
426
|
+
*/
|
427
|
+
componentFontFamily?: string;
|
428
|
+
/**
|
429
|
+
* This sets the font weight of Component shape for the diagram
|
430
|
+
*/
|
431
|
+
componentFontWeight?: string | number;
|
432
|
+
/**
|
433
|
+
* This sets the font size of External Component shape for the diagram
|
434
|
+
*/
|
435
|
+
external_componentFontSize?: string | number;
|
436
|
+
/**
|
437
|
+
* This sets the font family of External Component shape for the diagram
|
438
|
+
*/
|
439
|
+
external_componentFontFamily?: string;
|
440
|
+
/**
|
441
|
+
* This sets the font weight of External Component shape for the diagram
|
442
|
+
*/
|
443
|
+
external_componentFontWeight?: string | number;
|
444
|
+
/**
|
445
|
+
* This sets the font size of Component DB shape for the diagram
|
446
|
+
*/
|
447
|
+
component_dbFontSize?: string | number;
|
448
|
+
/**
|
449
|
+
* This sets the font family of Component DB shape for the diagram
|
450
|
+
*/
|
451
|
+
component_dbFontFamily?: string;
|
452
|
+
/**
|
453
|
+
* This sets the font weight of Component DB shape for the diagram
|
454
|
+
*/
|
455
|
+
component_dbFontWeight?: string | number;
|
456
|
+
/**
|
457
|
+
* This sets the font size of External Component DB shape for the diagram
|
458
|
+
*/
|
459
|
+
external_component_dbFontSize?: string | number;
|
460
|
+
/**
|
461
|
+
* This sets the font family of External Component DB shape for the diagram
|
462
|
+
*/
|
463
|
+
external_component_dbFontFamily?: string;
|
464
|
+
/**
|
465
|
+
* This sets the font weight of External Component DB shape for the diagram
|
466
|
+
*/
|
467
|
+
external_component_dbFontWeight?: string | number;
|
468
|
+
/**
|
469
|
+
* This sets the font size of Component Queue shape for the diagram
|
470
|
+
*/
|
471
|
+
component_queueFontSize?: string | number;
|
472
|
+
/**
|
473
|
+
* This sets the font family of Component Queue shape for the diagram
|
474
|
+
*/
|
475
|
+
component_queueFontFamily?: string;
|
476
|
+
/**
|
477
|
+
* This sets the font weight of Component Queue shape for the diagram
|
478
|
+
*/
|
479
|
+
component_queueFontWeight?: string | number;
|
480
|
+
/**
|
481
|
+
* This sets the font size of External Component Queue shape for the diagram
|
482
|
+
*/
|
483
|
+
external_component_queueFontSize?: string | number;
|
484
|
+
/**
|
485
|
+
* This sets the font family of External Component Queue shape for the diagram
|
486
|
+
*/
|
487
|
+
external_component_queueFontFamily?: string;
|
488
|
+
/**
|
489
|
+
* This sets the font weight of External Component Queue shape for the diagram
|
490
|
+
*/
|
491
|
+
external_component_queueFontWeight?: string | number;
|
492
|
+
/**
|
493
|
+
* This sets the auto-wrap state for the diagram
|
494
|
+
*/
|
495
|
+
wrap?: boolean;
|
496
|
+
/**
|
497
|
+
* This sets the auto-wrap padding for the diagram (sides only)
|
498
|
+
*/
|
499
|
+
wrapPadding?: number;
|
500
|
+
person_bg_color?: string;
|
501
|
+
person_border_color?: string;
|
502
|
+
external_person_bg_color?: string;
|
503
|
+
external_person_border_color?: string;
|
504
|
+
system_bg_color?: string;
|
505
|
+
system_border_color?: string;
|
506
|
+
system_db_bg_color?: string;
|
507
|
+
system_db_border_color?: string;
|
508
|
+
system_queue_bg_color?: string;
|
509
|
+
system_queue_border_color?: string;
|
510
|
+
external_system_bg_color?: string;
|
511
|
+
external_system_border_color?: string;
|
512
|
+
external_system_db_bg_color?: string;
|
513
|
+
external_system_db_border_color?: string;
|
514
|
+
external_system_queue_bg_color?: string;
|
515
|
+
external_system_queue_border_color?: string;
|
516
|
+
container_bg_color?: string;
|
517
|
+
container_border_color?: string;
|
518
|
+
container_db_bg_color?: string;
|
519
|
+
container_db_border_color?: string;
|
520
|
+
container_queue_bg_color?: string;
|
521
|
+
container_queue_border_color?: string;
|
522
|
+
external_container_bg_color?: string;
|
523
|
+
external_container_border_color?: string;
|
524
|
+
external_container_db_bg_color?: string;
|
525
|
+
external_container_db_border_color?: string;
|
526
|
+
external_container_queue_bg_color?: string;
|
527
|
+
external_container_queue_border_color?: string;
|
528
|
+
component_bg_color?: string;
|
529
|
+
component_border_color?: string;
|
530
|
+
component_db_bg_color?: string;
|
531
|
+
component_db_border_color?: string;
|
532
|
+
component_queue_bg_color?: string;
|
533
|
+
component_queue_border_color?: string;
|
534
|
+
external_component_bg_color?: string;
|
535
|
+
external_component_border_color?: string;
|
536
|
+
external_component_db_bg_color?: string;
|
537
|
+
external_component_db_border_color?: string;
|
538
|
+
external_component_queue_bg_color?: string;
|
539
|
+
external_component_queue_border_color?: string;
|
540
|
+
personFont?: FontCalculator;
|
541
|
+
external_personFont?: FontCalculator;
|
542
|
+
systemFont?: FontCalculator;
|
543
|
+
external_systemFont?: FontCalculator;
|
544
|
+
system_dbFont?: FontCalculator;
|
545
|
+
external_system_dbFont?: FontCalculator;
|
546
|
+
system_queueFont?: FontCalculator;
|
547
|
+
external_system_queueFont?: FontCalculator;
|
548
|
+
containerFont?: FontCalculator;
|
549
|
+
external_containerFont?: FontCalculator;
|
550
|
+
container_dbFont?: FontCalculator;
|
551
|
+
external_container_dbFont?: FontCalculator;
|
552
|
+
container_queueFont?: FontCalculator;
|
553
|
+
external_container_queueFont?: FontCalculator;
|
554
|
+
componentFont?: FontCalculator;
|
555
|
+
external_componentFont?: FontCalculator;
|
556
|
+
component_dbFont?: FontCalculator;
|
557
|
+
external_component_dbFont?: FontCalculator;
|
558
|
+
component_queueFont?: FontCalculator;
|
559
|
+
external_component_queueFont?: FontCalculator;
|
560
|
+
boundaryFont?: FontCalculator;
|
561
|
+
messageFont?: FontCalculator;
|
562
|
+
}
|
563
|
+
/**
|
564
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
565
|
+
* via the `definition` "GitGraphDiagramConfig".
|
566
|
+
*/
|
567
|
+
export interface GitGraphDiagramConfig extends BaseDiagramConfig {
|
568
|
+
/**
|
569
|
+
* Margin top for the text over the diagram
|
570
|
+
*/
|
571
|
+
titleTopMargin?: number;
|
572
|
+
diagramPadding?: number;
|
573
|
+
nodeLabel?: NodeLabel;
|
574
|
+
mainBranchName?: string;
|
575
|
+
mainBranchOrder?: number;
|
576
|
+
showCommitLabel?: boolean;
|
577
|
+
showBranches?: boolean;
|
578
|
+
rotateCommitLabel?: boolean;
|
579
|
+
parallelCommits?: boolean;
|
580
|
+
/**
|
581
|
+
* Controls whether or arrow markers in html code are absolute paths or anchors.
|
582
|
+
* This matters if you are using base tag settings.
|
583
|
+
*
|
584
|
+
*/
|
585
|
+
arrowMarkerAbsolute?: boolean;
|
586
|
+
}
|
587
|
+
/**
|
588
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
589
|
+
* via the `definition` "NodeLabel".
|
590
|
+
*/
|
591
|
+
export interface NodeLabel {
|
592
|
+
width?: number;
|
593
|
+
height?: number;
|
594
|
+
x?: number;
|
595
|
+
y?: number;
|
596
|
+
}
|
597
|
+
/**
|
598
|
+
* The object containing configurations specific for req diagrams
|
599
|
+
*
|
600
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
601
|
+
* via the `definition` "RequirementDiagramConfig".
|
602
|
+
*/
|
603
|
+
export interface RequirementDiagramConfig extends BaseDiagramConfig {
|
604
|
+
rect_fill?: string;
|
605
|
+
text_color?: string;
|
606
|
+
rect_border_size?: string;
|
607
|
+
rect_border_color?: string;
|
608
|
+
rect_min_width?: number;
|
609
|
+
rect_min_height?: number;
|
610
|
+
fontSize?: number;
|
611
|
+
rect_padding?: number;
|
612
|
+
line_height?: number;
|
613
|
+
}
|
614
|
+
/**
|
615
|
+
* The object containing configurations specific for mindmap diagrams
|
616
|
+
*
|
617
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
618
|
+
* via the `definition` "MindmapDiagramConfig".
|
619
|
+
*/
|
620
|
+
export interface MindmapDiagramConfig extends BaseDiagramConfig {
|
621
|
+
padding?: number;
|
622
|
+
maxNodeWidth?: number;
|
623
|
+
}
|
624
|
+
/**
|
625
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
626
|
+
* via the `definition` "PieDiagramConfig".
|
627
|
+
*/
|
628
|
+
export interface PieDiagramConfig extends BaseDiagramConfig {
|
629
|
+
/**
|
630
|
+
* Axial position of slice's label from zero at the center to 1 at the outside edges.
|
631
|
+
*
|
632
|
+
*/
|
633
|
+
textPosition?: number;
|
634
|
+
}
|
635
|
+
/**
|
636
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
637
|
+
* via the `definition` "QuadrantChartConfig".
|
638
|
+
*/
|
639
|
+
export interface QuadrantChartConfig extends BaseDiagramConfig {
|
640
|
+
/**
|
641
|
+
* Width of the chart
|
642
|
+
*/
|
643
|
+
chartWidth?: number;
|
644
|
+
/**
|
645
|
+
* Height of the chart
|
646
|
+
*/
|
647
|
+
chartHeight?: number;
|
648
|
+
/**
|
649
|
+
* Chart title top and bottom padding
|
650
|
+
*/
|
651
|
+
titleFontSize?: number;
|
652
|
+
/**
|
653
|
+
* Padding around the quadrant square
|
654
|
+
*/
|
655
|
+
titlePadding?: number;
|
656
|
+
/**
|
657
|
+
* quadrant title padding from top if the quadrant is rendered on top
|
658
|
+
*/
|
659
|
+
quadrantPadding?: number;
|
660
|
+
/**
|
661
|
+
* Padding around x-axis labels
|
662
|
+
*/
|
663
|
+
xAxisLabelPadding?: number;
|
664
|
+
/**
|
665
|
+
* Padding around y-axis labels
|
666
|
+
*/
|
667
|
+
yAxisLabelPadding?: number;
|
668
|
+
/**
|
669
|
+
* x-axis label font size
|
670
|
+
*/
|
671
|
+
xAxisLabelFontSize?: number;
|
672
|
+
/**
|
673
|
+
* y-axis label font size
|
674
|
+
*/
|
675
|
+
yAxisLabelFontSize?: number;
|
676
|
+
/**
|
677
|
+
* quadrant title font size
|
678
|
+
*/
|
679
|
+
quadrantLabelFontSize?: number;
|
680
|
+
/**
|
681
|
+
* quadrant title padding from top if the quadrant is rendered on top
|
682
|
+
*/
|
683
|
+
quadrantTextTopPadding?: number;
|
684
|
+
/**
|
685
|
+
* padding between point and point label
|
686
|
+
*/
|
687
|
+
pointTextPadding?: number;
|
688
|
+
/**
|
689
|
+
* point title font size
|
690
|
+
*/
|
691
|
+
pointLabelFontSize?: number;
|
692
|
+
/**
|
693
|
+
* radius of the point to be drawn
|
694
|
+
*/
|
695
|
+
pointRadius?: number;
|
696
|
+
/**
|
697
|
+
* position of x-axis labels
|
698
|
+
*/
|
699
|
+
xAxisPosition?: 'top' | 'bottom';
|
700
|
+
/**
|
701
|
+
* position of y-axis labels
|
702
|
+
*/
|
703
|
+
yAxisPosition?: 'left' | 'right';
|
704
|
+
/**
|
705
|
+
* stroke width of edges of the box that are inside the quadrant
|
706
|
+
*/
|
707
|
+
quadrantInternalBorderStrokeWidth?: number;
|
708
|
+
/**
|
709
|
+
* stroke width of edges of the box that are outside the quadrant
|
710
|
+
*/
|
711
|
+
quadrantExternalBorderStrokeWidth?: number;
|
712
|
+
}
|
713
|
+
/**
|
714
|
+
* This object contains configuration for XYChart axis config
|
715
|
+
*
|
716
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
717
|
+
* via the `definition` "XYChartAxisConfig".
|
718
|
+
*/
|
719
|
+
export interface XYChartAxisConfig {
|
720
|
+
/**
|
721
|
+
* Should show the axis labels (tick text)
|
722
|
+
*/
|
723
|
+
showLabel?: boolean;
|
724
|
+
/**
|
725
|
+
* font size of the axis labels (tick text)
|
726
|
+
*/
|
727
|
+
labelFontSize?: number;
|
728
|
+
/**
|
729
|
+
* top and bottom space from axis label (tick text)
|
730
|
+
*/
|
731
|
+
labelPadding?: number;
|
732
|
+
/**
|
733
|
+
* Should show the axis title
|
734
|
+
*/
|
735
|
+
showTitle?: boolean;
|
736
|
+
/**
|
737
|
+
* font size of the axis title
|
738
|
+
*/
|
739
|
+
titleFontSize?: number;
|
740
|
+
/**
|
741
|
+
* top and bottom space from axis title
|
742
|
+
*/
|
743
|
+
titlePadding?: number;
|
744
|
+
/**
|
745
|
+
* Should show the axis tick lines
|
746
|
+
*/
|
747
|
+
showTick?: boolean;
|
748
|
+
/**
|
749
|
+
* length of the axis tick lines
|
750
|
+
*/
|
751
|
+
tickLength?: number;
|
752
|
+
/**
|
753
|
+
* width of the axis tick lines
|
754
|
+
*/
|
755
|
+
tickWidth?: number;
|
756
|
+
/**
|
757
|
+
* Show line across the axis
|
758
|
+
*/
|
759
|
+
showAxisLine?: boolean;
|
760
|
+
/**
|
761
|
+
* Width of the axis line
|
762
|
+
*/
|
763
|
+
axisLineWidth?: number;
|
764
|
+
}
|
765
|
+
/**
|
766
|
+
* This object contains configuration specific to XYCharts
|
767
|
+
*
|
768
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
769
|
+
* via the `definition` "XYChartConfig".
|
770
|
+
*/
|
771
|
+
export interface XYChartConfig extends BaseDiagramConfig {
|
772
|
+
/**
|
773
|
+
* width of the chart
|
774
|
+
*/
|
775
|
+
width?: number;
|
776
|
+
/**
|
777
|
+
* height of the chart
|
778
|
+
*/
|
779
|
+
height?: number;
|
780
|
+
/**
|
781
|
+
* Font size of the chart title
|
782
|
+
*/
|
783
|
+
titleFontSize?: number;
|
784
|
+
/**
|
785
|
+
* Top and bottom space from the chart title
|
786
|
+
*/
|
787
|
+
titlePadding?: number;
|
788
|
+
/**
|
789
|
+
* Should show the chart title
|
790
|
+
*/
|
791
|
+
showTitle?: boolean;
|
792
|
+
xAxis?: XYChartAxisConfig1;
|
793
|
+
yAxis?: XYChartAxisConfig2;
|
794
|
+
/**
|
795
|
+
* How to plot will be drawn horizontal or vertical
|
796
|
+
*/
|
797
|
+
chartOrientation?: 'vertical' | 'horizontal';
|
798
|
+
/**
|
799
|
+
* Minimum percent of space plots of the chart will take
|
800
|
+
*/
|
801
|
+
plotReservedSpacePercent?: number;
|
802
|
+
}
|
803
|
+
/**
|
804
|
+
* This object contains configuration for XYChart axis config
|
805
|
+
*/
|
806
|
+
export interface XYChartAxisConfig1 {
|
807
|
+
/**
|
808
|
+
* Should show the axis labels (tick text)
|
809
|
+
*/
|
810
|
+
showLabel?: boolean;
|
811
|
+
/**
|
812
|
+
* font size of the axis labels (tick text)
|
813
|
+
*/
|
814
|
+
labelFontSize?: number;
|
815
|
+
/**
|
816
|
+
* top and bottom space from axis label (tick text)
|
817
|
+
*/
|
818
|
+
labelPadding?: number;
|
819
|
+
/**
|
820
|
+
* Should show the axis title
|
821
|
+
*/
|
822
|
+
showTitle?: boolean;
|
823
|
+
/**
|
824
|
+
* font size of the axis title
|
825
|
+
*/
|
826
|
+
titleFontSize?: number;
|
827
|
+
/**
|
828
|
+
* top and bottom space from axis title
|
829
|
+
*/
|
830
|
+
titlePadding?: number;
|
831
|
+
/**
|
832
|
+
* Should show the axis tick lines
|
833
|
+
*/
|
834
|
+
showTick?: boolean;
|
835
|
+
/**
|
836
|
+
* length of the axis tick lines
|
837
|
+
*/
|
838
|
+
tickLength?: number;
|
839
|
+
/**
|
840
|
+
* width of the axis tick lines
|
841
|
+
*/
|
842
|
+
tickWidth?: number;
|
843
|
+
/**
|
844
|
+
* Show line across the axis
|
845
|
+
*/
|
846
|
+
showAxisLine?: boolean;
|
847
|
+
/**
|
848
|
+
* Width of the axis line
|
849
|
+
*/
|
850
|
+
axisLineWidth?: number;
|
851
|
+
}
|
852
|
+
/**
|
853
|
+
* This object contains configuration for XYChart axis config
|
854
|
+
*/
|
855
|
+
export interface XYChartAxisConfig2 {
|
856
|
+
/**
|
857
|
+
* Should show the axis labels (tick text)
|
858
|
+
*/
|
859
|
+
showLabel?: boolean;
|
860
|
+
/**
|
861
|
+
* font size of the axis labels (tick text)
|
862
|
+
*/
|
863
|
+
labelFontSize?: number;
|
864
|
+
/**
|
865
|
+
* top and bottom space from axis label (tick text)
|
866
|
+
*/
|
867
|
+
labelPadding?: number;
|
868
|
+
/**
|
869
|
+
* Should show the axis title
|
870
|
+
*/
|
871
|
+
showTitle?: boolean;
|
872
|
+
/**
|
873
|
+
* font size of the axis title
|
874
|
+
*/
|
875
|
+
titleFontSize?: number;
|
876
|
+
/**
|
877
|
+
* top and bottom space from axis title
|
878
|
+
*/
|
879
|
+
titlePadding?: number;
|
880
|
+
/**
|
881
|
+
* Should show the axis tick lines
|
882
|
+
*/
|
883
|
+
showTick?: boolean;
|
884
|
+
/**
|
885
|
+
* length of the axis tick lines
|
886
|
+
*/
|
887
|
+
tickLength?: number;
|
888
|
+
/**
|
889
|
+
* width of the axis tick lines
|
890
|
+
*/
|
891
|
+
tickWidth?: number;
|
892
|
+
/**
|
893
|
+
* Show line across the axis
|
894
|
+
*/
|
895
|
+
showAxisLine?: boolean;
|
896
|
+
/**
|
897
|
+
* Width of the axis line
|
898
|
+
*/
|
899
|
+
axisLineWidth?: number;
|
900
|
+
}
|
901
|
+
/**
|
902
|
+
* The object containing configurations specific for entity relationship diagrams
|
903
|
+
*
|
904
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
905
|
+
* via the `definition` "ErDiagramConfig".
|
906
|
+
*/
|
907
|
+
export interface ErDiagramConfig extends BaseDiagramConfig {
|
908
|
+
/**
|
909
|
+
* Margin top for the text over the diagram
|
910
|
+
*/
|
911
|
+
titleTopMargin?: number;
|
912
|
+
/**
|
913
|
+
* The amount of padding around the diagram as a whole so that embedded
|
914
|
+
* diagrams have margins, expressed in pixels.
|
915
|
+
*
|
916
|
+
*/
|
917
|
+
diagramPadding?: number;
|
918
|
+
/**
|
919
|
+
* Directional bias for layout of entities
|
920
|
+
*/
|
921
|
+
layoutDirection?: string | 'TB' | 'BT' | 'LR' | 'RL';
|
922
|
+
/**
|
923
|
+
* The minimum width of an entity box. Expressed in pixels.
|
924
|
+
*/
|
925
|
+
minEntityWidth?: number;
|
926
|
+
/**
|
927
|
+
* The minimum height of an entity box. Expressed in pixels.
|
928
|
+
*/
|
929
|
+
minEntityHeight?: number;
|
930
|
+
/**
|
931
|
+
* The minimum internal padding between text in an entity box and the enclosing box borders.
|
932
|
+
* Expressed in pixels.
|
933
|
+
*
|
934
|
+
*/
|
935
|
+
entityPadding?: number;
|
936
|
+
/**
|
937
|
+
* Stroke color of box edges and lines.
|
938
|
+
*/
|
939
|
+
stroke?: string;
|
940
|
+
/**
|
941
|
+
* Fill color of entity boxes
|
942
|
+
*/
|
943
|
+
fill?: string;
|
944
|
+
/**
|
945
|
+
* Font size (expressed as an integer representing a number of pixels)
|
946
|
+
*/
|
947
|
+
fontSize?: number;
|
948
|
+
}
|
949
|
+
/**
|
950
|
+
* The object containing configurations specific for entity relationship diagrams
|
951
|
+
*
|
952
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
953
|
+
* via the `definition` "StateDiagramConfig".
|
954
|
+
*/
|
955
|
+
export interface StateDiagramConfig extends BaseDiagramConfig {
|
956
|
+
/**
|
957
|
+
* Margin top for the text over the diagram
|
958
|
+
*/
|
959
|
+
titleTopMargin?: number;
|
960
|
+
arrowMarkerAbsolute?: boolean;
|
961
|
+
dividerMargin?: number;
|
962
|
+
sizeUnit?: number;
|
963
|
+
padding?: number;
|
964
|
+
textHeight?: number;
|
965
|
+
titleShift?: number;
|
966
|
+
noteMargin?: number;
|
967
|
+
forkWidth?: number;
|
968
|
+
forkHeight?: number;
|
969
|
+
miniPadding?: number;
|
970
|
+
/**
|
971
|
+
* Font size factor, this is used to guess the width of the edges labels
|
972
|
+
* before rendering by dagre layout.
|
973
|
+
* This might need updating if/when switching font
|
974
|
+
*
|
975
|
+
*/
|
976
|
+
fontSizeFactor?: number;
|
977
|
+
fontSize?: number;
|
978
|
+
labelHeight?: number;
|
979
|
+
edgeLengthFactor?: string;
|
980
|
+
compositTitleSize?: number;
|
981
|
+
radius?: number;
|
982
|
+
/**
|
983
|
+
* Decides which rendering engine that is to be used for the rendering.
|
984
|
+
*
|
985
|
+
*/
|
986
|
+
defaultRenderer?: string | 'dagre-d3' | 'dagre-wrapper' | 'elk';
|
987
|
+
}
|
988
|
+
/**
|
989
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
990
|
+
* via the `definition` "ClassDiagramConfig".
|
991
|
+
*/
|
992
|
+
export interface ClassDiagramConfig extends BaseDiagramConfig {
|
993
|
+
/**
|
994
|
+
* Margin top for the text over the diagram
|
995
|
+
*/
|
996
|
+
titleTopMargin?: number;
|
997
|
+
/**
|
998
|
+
* Controls whether or arrow markers in html code are absolute paths or anchors.
|
999
|
+
* This matters if you are using base tag settings.
|
1000
|
+
*
|
1001
|
+
*/
|
1002
|
+
arrowMarkerAbsolute?: boolean;
|
1003
|
+
dividerMargin?: number;
|
1004
|
+
padding?: number;
|
1005
|
+
textHeight?: number;
|
1006
|
+
/**
|
1007
|
+
* Decides which rendering engine that is to be used for the rendering.
|
1008
|
+
*
|
1009
|
+
*/
|
1010
|
+
defaultRenderer?: string | 'dagre-d3' | 'dagre-wrapper' | 'elk';
|
1011
|
+
nodeSpacing?: number;
|
1012
|
+
rankSpacing?: number;
|
1013
|
+
/**
|
1014
|
+
* The amount of padding around the diagram as a whole so that embedded
|
1015
|
+
* diagrams have margins, expressed in pixels.
|
1016
|
+
*
|
1017
|
+
*/
|
1018
|
+
diagramPadding?: number;
|
1019
|
+
htmlLabels?: boolean;
|
1020
|
+
}
|
1021
|
+
/**
|
1022
|
+
* The object containing configurations specific for journey diagrams
|
1023
|
+
*
|
1024
|
+
*
|
1025
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1026
|
+
* via the `definition` "JourneyDiagramConfig".
|
1027
|
+
*/
|
1028
|
+
export interface JourneyDiagramConfig extends BaseDiagramConfig {
|
1029
|
+
/**
|
1030
|
+
* Margin to the right and left of the c4 diagram, must be a positive value.
|
1031
|
+
*
|
1032
|
+
*/
|
1033
|
+
diagramMarginX?: number;
|
1034
|
+
/**
|
1035
|
+
* Margin to the over and under the c4 diagram, must be a positive value.
|
1036
|
+
*
|
1037
|
+
*/
|
1038
|
+
diagramMarginY?: number;
|
1039
|
+
/**
|
1040
|
+
* Margin between actors
|
1041
|
+
*/
|
1042
|
+
leftMargin?: number;
|
1043
|
+
/**
|
1044
|
+
* Width of actor boxes
|
1045
|
+
*/
|
1046
|
+
width?: number;
|
1047
|
+
/**
|
1048
|
+
* Height of actor boxes
|
1049
|
+
*/
|
1050
|
+
height?: number;
|
1051
|
+
/**
|
1052
|
+
* Margin around loop boxes
|
1053
|
+
*/
|
1054
|
+
boxMargin?: number;
|
1055
|
+
/**
|
1056
|
+
* Margin around the text in loop/alt/opt boxes
|
1057
|
+
*/
|
1058
|
+
boxTextMargin?: number;
|
1059
|
+
/**
|
1060
|
+
* Margin around notes
|
1061
|
+
*/
|
1062
|
+
noteMargin?: number;
|
1063
|
+
/**
|
1064
|
+
* Space between messages.
|
1065
|
+
*/
|
1066
|
+
messageMargin?: number;
|
1067
|
+
/**
|
1068
|
+
* Multiline message alignment
|
1069
|
+
*/
|
1070
|
+
messageAlign?: string | 'left' | 'center' | 'right';
|
1071
|
+
/**
|
1072
|
+
* Prolongs the edge of the diagram downwards.
|
1073
|
+
*
|
1074
|
+
* Depending on css styling this might need adjustment.
|
1075
|
+
*
|
1076
|
+
*/
|
1077
|
+
bottomMarginAdj?: number;
|
1078
|
+
/**
|
1079
|
+
* Curved Arrows become Right Angles
|
1080
|
+
*
|
1081
|
+
* This will display arrows that start and begin at the same node as
|
1082
|
+
* right angles, rather than as curves.
|
1083
|
+
*
|
1084
|
+
*/
|
1085
|
+
rightAngles?: boolean;
|
1086
|
+
taskFontSize?: string | number;
|
1087
|
+
taskFontFamily?: string;
|
1088
|
+
taskMargin?: number;
|
1089
|
+
/**
|
1090
|
+
* Width of activation box
|
1091
|
+
*/
|
1092
|
+
activationWidth?: number;
|
1093
|
+
/**
|
1094
|
+
* text placement as: tspan | fo | old only text as before
|
1095
|
+
*
|
1096
|
+
*/
|
1097
|
+
textPlacement?: string;
|
1098
|
+
actorColours?: string[];
|
1099
|
+
sectionFills?: string[];
|
1100
|
+
sectionColours?: string[];
|
1101
|
+
}
|
1102
|
+
/**
|
1103
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1104
|
+
* via the `definition` "TimelineDiagramConfig".
|
1105
|
+
*/
|
1106
|
+
export interface TimelineDiagramConfig extends BaseDiagramConfig {
|
1107
|
+
/**
|
1108
|
+
* Margin to the right and left of the c4 diagram, must be a positive value.
|
1109
|
+
*
|
1110
|
+
*/
|
1111
|
+
diagramMarginX?: number;
|
1112
|
+
/**
|
1113
|
+
* Margin to the over and under the c4 diagram, must be a positive value.
|
1114
|
+
*
|
1115
|
+
*/
|
1116
|
+
diagramMarginY?: number;
|
1117
|
+
/**
|
1118
|
+
* Margin between actors
|
1119
|
+
*/
|
1120
|
+
leftMargin?: number;
|
1121
|
+
/**
|
1122
|
+
* Width of actor boxes
|
1123
|
+
*/
|
1124
|
+
width?: number;
|
1125
|
+
/**
|
1126
|
+
* Height of actor boxes
|
1127
|
+
*/
|
1128
|
+
height?: number;
|
1129
|
+
padding?: number;
|
1130
|
+
/**
|
1131
|
+
* Margin around loop boxes
|
1132
|
+
*/
|
1133
|
+
boxMargin?: number;
|
1134
|
+
/**
|
1135
|
+
* Margin around the text in loop/alt/opt boxes
|
1136
|
+
*/
|
1137
|
+
boxTextMargin?: number;
|
1138
|
+
/**
|
1139
|
+
* Margin around notes
|
1140
|
+
*/
|
1141
|
+
noteMargin?: number;
|
1142
|
+
/**
|
1143
|
+
* Space between messages.
|
1144
|
+
*/
|
1145
|
+
messageMargin?: number;
|
1146
|
+
/**
|
1147
|
+
* Multiline message alignment
|
1148
|
+
*/
|
1149
|
+
messageAlign?: string | 'left' | 'center' | 'right';
|
1150
|
+
/**
|
1151
|
+
* Prolongs the edge of the diagram downwards.
|
1152
|
+
*
|
1153
|
+
* Depending on css styling this might need adjustment.
|
1154
|
+
*
|
1155
|
+
*/
|
1156
|
+
bottomMarginAdj?: number;
|
1157
|
+
/**
|
1158
|
+
* Curved Arrows become Right Angles
|
1159
|
+
*
|
1160
|
+
* This will display arrows that start and begin at the same node as
|
1161
|
+
* right angles, rather than as curves.
|
1162
|
+
*
|
1163
|
+
*/
|
1164
|
+
rightAngles?: boolean;
|
1165
|
+
taskFontSize?: string | number;
|
1166
|
+
taskFontFamily?: string;
|
1167
|
+
taskMargin?: number;
|
1168
|
+
/**
|
1169
|
+
* Width of activation box
|
1170
|
+
*/
|
1171
|
+
activationWidth?: number;
|
1172
|
+
/**
|
1173
|
+
* text placement as: tspan | fo | old only text as before
|
1174
|
+
*
|
1175
|
+
*/
|
1176
|
+
textPlacement?: string;
|
1177
|
+
actorColours?: string[];
|
1178
|
+
sectionFills?: string[];
|
1179
|
+
sectionColours?: string[];
|
1180
|
+
disableMulticolor?: boolean;
|
1181
|
+
}
|
1182
|
+
/**
|
1183
|
+
* The object containing configurations specific for gantt diagrams
|
1184
|
+
*
|
1185
|
+
*
|
1186
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1187
|
+
* via the `definition` "GanttDiagramConfig".
|
1188
|
+
*/
|
1189
|
+
export interface GanttDiagramConfig extends BaseDiagramConfig {
|
1190
|
+
/**
|
1191
|
+
* Margin top for the text over the diagram
|
1192
|
+
*/
|
1193
|
+
titleTopMargin?: number;
|
1194
|
+
/**
|
1195
|
+
* The height of the bars in the graph
|
1196
|
+
*/
|
1197
|
+
barHeight?: number;
|
1198
|
+
/**
|
1199
|
+
* The margin between the different activities in the gantt diagram
|
1200
|
+
*/
|
1201
|
+
barGap?: number;
|
1202
|
+
/**
|
1203
|
+
* Margin between title and gantt diagram and between axis and gantt diagram.
|
1204
|
+
*
|
1205
|
+
*/
|
1206
|
+
topPadding?: number;
|
1207
|
+
/**
|
1208
|
+
* The space allocated for the section name to the right of the activities
|
1209
|
+
*
|
1210
|
+
*/
|
1211
|
+
rightPadding?: number;
|
1212
|
+
/**
|
1213
|
+
* The space allocated for the section name to the left of the activities
|
1214
|
+
*
|
1215
|
+
*/
|
1216
|
+
leftPadding?: number;
|
1217
|
+
/**
|
1218
|
+
* Vertical starting position of the grid lines
|
1219
|
+
*/
|
1220
|
+
gridLineStartPadding?: number;
|
1221
|
+
/**
|
1222
|
+
* Font size
|
1223
|
+
*/
|
1224
|
+
fontSize?: number;
|
1225
|
+
/**
|
1226
|
+
* Font size for sections
|
1227
|
+
*/
|
1228
|
+
sectionFontSize?: string | number;
|
1229
|
+
/**
|
1230
|
+
* The number of alternating section styles
|
1231
|
+
*/
|
1232
|
+
numberSectionStyles?: number;
|
1233
|
+
/**
|
1234
|
+
* Date/time format of the axis
|
1235
|
+
*
|
1236
|
+
* This might need adjustment to match your locale and preferences.
|
1237
|
+
*
|
1238
|
+
*/
|
1239
|
+
axisFormat?: string;
|
1240
|
+
/**
|
1241
|
+
* axis ticks
|
1242
|
+
*
|
1243
|
+
* Pattern is:
|
1244
|
+
*
|
1245
|
+
* ```javascript
|
1246
|
+
* /^([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month)$/
|
1247
|
+
* ```
|
1248
|
+
*
|
1249
|
+
*/
|
1250
|
+
tickInterval?: string;
|
1251
|
+
/**
|
1252
|
+
* When this flag is set, date labels will be added to the top of the chart
|
1253
|
+
*
|
1254
|
+
*/
|
1255
|
+
topAxis?: boolean;
|
1256
|
+
/**
|
1257
|
+
* Controls the display mode.
|
1258
|
+
*
|
1259
|
+
*/
|
1260
|
+
displayMode?: string | 'compact';
|
1261
|
+
/**
|
1262
|
+
* On which day a week-based interval should start
|
1263
|
+
*
|
1264
|
+
*/
|
1265
|
+
weekday?: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
1266
|
+
}
|
1267
|
+
/**
|
1268
|
+
* The object containing configurations specific for sequence diagrams
|
1269
|
+
*
|
1270
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1271
|
+
* via the `definition` "SequenceDiagramConfig".
|
1272
|
+
*/
|
1273
|
+
export interface SequenceDiagramConfig extends BaseDiagramConfig {
|
1274
|
+
arrowMarkerAbsolute?: boolean;
|
1275
|
+
hideUnusedParticipants?: boolean;
|
1276
|
+
/**
|
1277
|
+
* Width of the activation rect
|
1278
|
+
*/
|
1279
|
+
activationWidth?: number;
|
1280
|
+
/**
|
1281
|
+
* Margin to the right and left of the sequence diagram
|
1282
|
+
*/
|
1283
|
+
diagramMarginX?: number;
|
1284
|
+
/**
|
1285
|
+
* Margin to the over and under the sequence diagram
|
1286
|
+
*/
|
1287
|
+
diagramMarginY?: number;
|
1288
|
+
/**
|
1289
|
+
* Margin between actors
|
1290
|
+
*/
|
1291
|
+
actorMargin?: number;
|
1292
|
+
/**
|
1293
|
+
* Width of actor boxes
|
1294
|
+
*/
|
1295
|
+
width?: number;
|
1296
|
+
/**
|
1297
|
+
* Height of actor boxes
|
1298
|
+
*/
|
1299
|
+
height?: number;
|
1300
|
+
/**
|
1301
|
+
* Margin around loop boxes
|
1302
|
+
*/
|
1303
|
+
boxMargin?: number;
|
1304
|
+
/**
|
1305
|
+
* Margin around the text in loop/alt/opt boxes
|
1306
|
+
*/
|
1307
|
+
boxTextMargin?: number;
|
1308
|
+
/**
|
1309
|
+
* Margin around notes
|
1310
|
+
*/
|
1311
|
+
noteMargin?: number;
|
1312
|
+
/**
|
1313
|
+
* Space between messages.
|
1314
|
+
*/
|
1315
|
+
messageMargin?: number;
|
1316
|
+
/**
|
1317
|
+
* Multiline message alignment
|
1318
|
+
*/
|
1319
|
+
messageAlign?: string | 'left' | 'center' | 'right';
|
1320
|
+
/**
|
1321
|
+
* Mirror actors under diagram
|
1322
|
+
*
|
1323
|
+
*/
|
1324
|
+
mirrorActors?: boolean;
|
1325
|
+
/**
|
1326
|
+
* forces actor popup menus to always be visible (to support E2E testing).
|
1327
|
+
*
|
1328
|
+
*/
|
1329
|
+
forceMenus?: boolean;
|
1330
|
+
/**
|
1331
|
+
* Prolongs the edge of the diagram downwards.
|
1332
|
+
*
|
1333
|
+
* Depending on css styling this might need adjustment.
|
1334
|
+
*
|
1335
|
+
*/
|
1336
|
+
bottomMarginAdj?: number;
|
1337
|
+
/**
|
1338
|
+
* Curved Arrows become Right Angles
|
1339
|
+
*
|
1340
|
+
* This will display arrows that start and begin at the same node as
|
1341
|
+
* right angles, rather than as curves.
|
1342
|
+
*
|
1343
|
+
*/
|
1344
|
+
rightAngles?: boolean;
|
1345
|
+
/**
|
1346
|
+
* This will show the node numbers
|
1347
|
+
*/
|
1348
|
+
showSequenceNumbers?: boolean;
|
1349
|
+
/**
|
1350
|
+
* This sets the font size of the actor's description
|
1351
|
+
*/
|
1352
|
+
actorFontSize?: string | number;
|
1353
|
+
/**
|
1354
|
+
* This sets the font family of the actor's description
|
1355
|
+
*/
|
1356
|
+
actorFontFamily?: string;
|
1357
|
+
/**
|
1358
|
+
* This sets the font weight of the actor's description
|
1359
|
+
*/
|
1360
|
+
actorFontWeight?: string | number;
|
1361
|
+
/**
|
1362
|
+
* This sets the font size of actor-attached notes
|
1363
|
+
*/
|
1364
|
+
noteFontSize?: string | number;
|
1365
|
+
/**
|
1366
|
+
* This sets the font family of actor-attached notes
|
1367
|
+
*/
|
1368
|
+
noteFontFamily?: string;
|
1369
|
+
/**
|
1370
|
+
* This sets the font weight of actor-attached notes
|
1371
|
+
*/
|
1372
|
+
noteFontWeight?: string | number;
|
1373
|
+
/**
|
1374
|
+
* This sets the text alignment of actor-attached notes
|
1375
|
+
*/
|
1376
|
+
noteAlign?: string | 'left' | 'center' | 'right';
|
1377
|
+
/**
|
1378
|
+
* This sets the font size of actor messages
|
1379
|
+
*/
|
1380
|
+
messageFontSize?: string | number;
|
1381
|
+
/**
|
1382
|
+
* This sets the font family of actor messages
|
1383
|
+
*/
|
1384
|
+
messageFontFamily?: string;
|
1385
|
+
/**
|
1386
|
+
* This sets the font weight of actor messages
|
1387
|
+
*/
|
1388
|
+
messageFontWeight?: string | number;
|
1389
|
+
/**
|
1390
|
+
* This sets the auto-wrap state for the diagram
|
1391
|
+
*/
|
1392
|
+
wrap?: boolean;
|
1393
|
+
/**
|
1394
|
+
* This sets the auto-wrap padding for the diagram (sides only)
|
1395
|
+
*/
|
1396
|
+
wrapPadding?: number;
|
1397
|
+
/**
|
1398
|
+
* This sets the width of the loop-box (loop, alt, opt, par)
|
1399
|
+
*/
|
1400
|
+
labelBoxWidth?: number;
|
1401
|
+
/**
|
1402
|
+
* This sets the height of the loop-box (loop, alt, opt, par)
|
1403
|
+
*/
|
1404
|
+
labelBoxHeight?: number;
|
1405
|
+
messageFont?: FontCalculator;
|
1406
|
+
noteFont?: FontCalculator;
|
1407
|
+
actorFont?: FontCalculator;
|
1408
|
+
}
|
1409
|
+
/**
|
1410
|
+
* The object containing configurations specific for flowcharts
|
1411
|
+
*
|
1412
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1413
|
+
* via the `definition` "FlowchartDiagramConfig".
|
1414
|
+
*/
|
1415
|
+
export interface FlowchartDiagramConfig extends BaseDiagramConfig {
|
1416
|
+
/**
|
1417
|
+
* Margin top for the text over the diagram
|
1418
|
+
*/
|
1419
|
+
titleTopMargin?: number;
|
1420
|
+
/**
|
1421
|
+
* Defines a top/bottom margin for subgraph titles
|
1422
|
+
*
|
1423
|
+
*/
|
1424
|
+
subGraphTitleMargin?: {
|
1425
|
+
top?: number;
|
1426
|
+
bottom?: number;
|
1427
|
+
};
|
1428
|
+
arrowMarkerAbsolute?: boolean;
|
1429
|
+
/**
|
1430
|
+
* The amount of padding around the diagram as a whole so that embedded
|
1431
|
+
* diagrams have margins, expressed in pixels.
|
1432
|
+
*
|
1433
|
+
*/
|
1434
|
+
diagramPadding?: number;
|
1435
|
+
/**
|
1436
|
+
* Flag for setting whether or not a html tag should be used for rendering labels on the edges.
|
1437
|
+
*
|
1438
|
+
*/
|
1439
|
+
htmlLabels?: boolean;
|
1440
|
+
/**
|
1441
|
+
* Defines the spacing between nodes on the same level
|
1442
|
+
*
|
1443
|
+
* Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs,
|
1444
|
+
* and the vertical spacing for LR as well as RL graphs.
|
1445
|
+
*
|
1446
|
+
*/
|
1447
|
+
nodeSpacing?: number;
|
1448
|
+
/**
|
1449
|
+
* Defines the spacing between nodes on different levels
|
1450
|
+
*
|
1451
|
+
* Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs,
|
1452
|
+
* and the vertical spacing for LR as well as RL graphs.
|
1453
|
+
*
|
1454
|
+
*/
|
1455
|
+
rankSpacing?: number;
|
1456
|
+
/**
|
1457
|
+
* Defines how mermaid renders curves for flowcharts.
|
1458
|
+
*
|
1459
|
+
*/
|
1460
|
+
curve?: string | 'basis' | 'linear' | 'cardinal';
|
1461
|
+
/**
|
1462
|
+
* Represents the padding between the labels and the shape
|
1463
|
+
*
|
1464
|
+
* **Only used in new experimental rendering.**
|
1465
|
+
*
|
1466
|
+
*/
|
1467
|
+
padding?: number;
|
1468
|
+
/**
|
1469
|
+
* Decides which rendering engine that is to be used for the rendering.
|
1470
|
+
*
|
1471
|
+
*/
|
1472
|
+
defaultRenderer?: string | 'dagre-d3' | 'dagre-wrapper' | 'elk';
|
1473
|
+
/**
|
1474
|
+
* Width of nodes where text is wrapped.
|
1475
|
+
*
|
1476
|
+
* When using markdown strings the text ius wrapped automatically, this
|
1477
|
+
* value sets the max width of a text before it continues on a new line.
|
1478
|
+
*
|
1479
|
+
*/
|
1480
|
+
wrappingWidth?: number;
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* The object containing configurations specific for sankey diagrams.
|
1484
|
+
*
|
1485
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1486
|
+
* via the `definition` "SankeyDiagramConfig".
|
1487
|
+
*/
|
1488
|
+
export interface SankeyDiagramConfig extends BaseDiagramConfig {
|
1489
|
+
width?: number;
|
1490
|
+
height?: number;
|
1491
|
+
/**
|
1492
|
+
* The color of the links in the sankey diagram.
|
1493
|
+
*
|
1494
|
+
*/
|
1495
|
+
linkColor?: SankeyLinkColor | string;
|
1496
|
+
/**
|
1497
|
+
* Controls the alignment of the Sankey diagrams.
|
1498
|
+
*
|
1499
|
+
* See <https://github.com/d3/d3-sankey#alignments>.
|
1500
|
+
*
|
1501
|
+
*/
|
1502
|
+
nodeAlignment?: 'left' | 'right' | 'center' | 'justify';
|
1503
|
+
useMaxWidth?: boolean;
|
1504
|
+
/**
|
1505
|
+
* Toggle to display or hide values along with title.
|
1506
|
+
*
|
1507
|
+
*/
|
1508
|
+
showValues?: boolean;
|
1509
|
+
/**
|
1510
|
+
* The prefix to use for values
|
1511
|
+
*
|
1512
|
+
*/
|
1513
|
+
prefix?: string;
|
1514
|
+
/**
|
1515
|
+
* The suffix to use for values
|
1516
|
+
*
|
1517
|
+
*/
|
1518
|
+
suffix?: string;
|
1519
|
+
}
|
1520
|
+
/**
|
1521
|
+
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
1522
|
+
* via the `definition` "FontConfig".
|
1523
|
+
*/
|
1524
|
+
export interface FontConfig {
|
1525
|
+
fontSize?: CSSFontSize;
|
1526
|
+
/**
|
1527
|
+
* The CSS [`font-family`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) to use.
|
1528
|
+
*/
|
1529
|
+
fontFamily?: string;
|
1530
|
+
/**
|
1531
|
+
* The font weight to use.
|
1532
|
+
*/
|
1533
|
+
fontWeight?: string | number;
|
1534
|
+
}
|