agentic-mermaid 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +149 -4
- package/LICENSES/Apache-2.0.txt +202 -0
- package/README.md +25 -32
- package/THIRD_PARTY_NOTICES.md +29 -0
- package/assets/fonts/FONT-LICENSES.md +9 -5
- package/assets/fonts/Inter-Bold.ttf +0 -0
- package/assets/fonts/Inter-Medium.ttf +0 -0
- package/assets/fonts/Inter-Regular.ttf +0 -0
- package/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/dist/agent-core.d.ts +463 -0
- package/dist/agent-core.js +397 -0
- package/dist/agent.d.ts +81 -1822
- package/dist/agent.js +336 -36839
- package/dist/agentic-mermaid-mcp.js +7 -37908
- package/dist/am.js +33638 -36261
- package/dist/chunk-4QECACIA.js +4702 -0
- package/dist/chunk-CDPKJ2BQ.js +37 -0
- package/dist/chunk-QKDLMOJJ.js +3487 -0
- package/dist/chunk-WI35L7IR.js +615 -0
- package/dist/chunk-WN3YDOBG.js +149 -0
- package/dist/chunk-ZYMMKQ3I.js +62637 -0
- package/dist/index-D54dqSdC.d.ts +6777 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +310 -32836
- package/dist/mcp-cli-SBQSTJFC.js +17 -0
- package/docs/README.md +14 -6
- package/docs/schemas/style-spec.schema.json +1221 -30
- package/examples/styles/catalog.json +54 -0
- package/examples/styles/cloudflare-workers-inspired-prototype.mmd +9 -0
- package/examples/styles/cloudflare-workers-inspired-prototype.style.json +110 -0
- package/examples/styles/cupertino-prototype.mmd +10 -0
- package/examples/styles/cupertino-prototype.style.json +63 -0
- package/examples/styles/mid-century-report.style.json +2 -2
- package/examples/styles/star-chart-atlas.style.json +2 -1
- package/examples/styles/transit-route-map.style.json +2 -2
- package/examples/styles/vercel-inspired-prototype.mmd +6 -0
- package/examples/styles/vercel-inspired-prototype.style.json +87 -0
- package/package.json +70 -43
- package/server.json +41 -0
- package/skills/agentic-mermaid-diagram-workflow/SKILL.md +17 -36
- package/skills/agentic-mermaid-diagram-workflow/references/cli.md +4 -5
- package/skills/agentic-mermaid-diagram-workflow/references/code-mode.md +15 -31
- package/skills/agentic-mermaid-diagram-workflow/references/sequence.md +10 -14
- package/skills/agentic-mermaid-live-editor/SKILL.md +100 -206
- package/AGENT_NATIVE.md +0 -602
- package/Instructions_for_agents.md +0 -83
- package/TODO.md +0 -662
- package/assets/hero.png +0 -0
- package/dist/index-x2Cj1dVv.d.ts +0 -1089
- package/docs/agent-api-cookbook.md +0 -308
- package/docs/agent-mutation-policy.md +0 -104
- package/docs/agent-workflow-examples.md +0 -46
- package/docs/api.md +0 -203
- package/docs/ascii.md +0 -103
- package/docs/assets/improvements/box-start-connector.png +0 -0
- package/docs/assets/improvements/comment-dropped-lint.png +0 -0
- package/docs/assets/improvements/er-content-loss.png +0 -0
- package/docs/assets/improvements/fan-in-trunks.png +0 -0
- package/docs/assets/improvements/gantt-family.png +0 -0
- package/docs/assets/improvements/gantt-milestone-clamp.png +0 -0
- package/docs/assets/improvements/gantt-verify-seam.png +0 -0
- package/docs/assets/improvements/subgraph-container-edges.png +0 -0
- package/docs/assets/improvements/wrapper-frontmatter.png +0 -0
- package/docs/assets/improvements/wrapper-init-directive.png +0 -0
- package/docs/assets/improvements/wrapper-leading-comment.png +0 -0
- package/docs/assets/style-cookbook/mid-century-report.png +0 -0
- package/docs/assets/style-cookbook/star-chart-atlas.png +0 -0
- package/docs/assets/style-cookbook/transit-route-map.png +0 -0
- package/docs/comparison.md +0 -94
- package/docs/config.md +0 -105
- package/docs/contributing/adding-diagram-types.md +0 -144
- package/docs/contributing/diagram-family-citizenship.matrix.json +0 -2127
- package/docs/contributing/diagram-family-citizenship.md +0 -82
- package/docs/contributing/harvesting-upstream-tests.md +0 -126
- package/docs/contributing/lessons-learned.md +0 -276
- package/docs/contributing/releasing.md +0 -71
- package/docs/contributing/visual-review-evidence.md +0 -53
- package/docs/custom-style-cookbook.md +0 -154
- package/docs/design/families/README.md +0 -26
- package/docs/design/families/architecture-beta.md +0 -48
- package/docs/design/families/flowchart-parser-conformance.md +0 -22
- package/docs/design/families/gantt-research.md +0 -137
- package/docs/design/families/gantt.md +0 -329
- package/docs/design/families/journey-agentic-cards-before.png +0 -0
- package/docs/design/families/journey-mermaid-classic-implementation.png +0 -0
- package/docs/design/families/journey-mermaid-classic-prototype.png +0 -0
- package/docs/design/families/journey-mermaid-classic-prototype.svg +0 -163
- package/docs/design/families/journey-mermaid-classic-prototype.svg.png +0 -0
- package/docs/design/families/journey-migration-parity.md +0 -433
- package/docs/design/families/journey-usage-research.md +0 -423
- package/docs/design/families/journey.md +0 -125
- package/docs/design/families/xychart.md +0 -85
- package/docs/design/system/README.md +0 -45
- package/docs/design/system/abstraction-audit.md +0 -224
- package/docs/design/system/abstraction-recommendations.md +0 -655
- package/docs/design/system/architecture.mmd +0 -29
- package/docs/design/system/architecture.svg +0 -137
- package/docs/design/system/layout-guarantees-and-robustness.md +0 -351
- package/docs/design/system/layout-rubric.md +0 -138
- package/docs/design/system/route-contracts.md +0 -848
- package/docs/design/system/source-preservation-ladder.md +0 -52
- package/docs/design/system/styles-rollout.md +0 -216
- package/docs/design/system/ugly-layouts.md +0 -119
- package/docs/diagram-families.md +0 -193
- package/docs/features.md +0 -147
- package/docs/fork-differences.md +0 -130
- package/docs/getting-started.md +0 -175
- package/docs/issue-derived-test-cases.md +0 -156
- package/docs/layout-characterization/README.md +0 -245
- package/docs/layout-characterization/contact-sheet-families.md +0 -496
- package/docs/layout-characterization/contact-sheet.md +0 -638
- package/docs/layout-characterization/properties.md +0 -281
- package/docs/layout-characterization/visual-quality.md +0 -160
- package/docs/layout-characterization/visual-snapshots/architecture.svg +0 -79
- package/docs/layout-characterization/visual-snapshots/class.svg +0 -60
- package/docs/layout-characterization/visual-snapshots/er.svg +0 -61
- package/docs/layout-characterization/visual-snapshots/flowchart.svg +0 -58
- package/docs/layout-characterization/visual-snapshots/gantt.svg +0 -52
- package/docs/layout-characterization/visual-snapshots/journey.svg +0 -118
- package/docs/layout-characterization/visual-snapshots/pie.svg +0 -36
- package/docs/layout-characterization/visual-snapshots/quadrant.svg +0 -47
- package/docs/layout-characterization/visual-snapshots/sequence.svg +0 -59
- package/docs/layout-characterization/visual-snapshots/state.svg +0 -52
- package/docs/layout-characterization/visual-snapshots/timeline.svg +0 -64
- package/docs/layout-characterization/visual-snapshots/xychart.svg +0 -97
- package/docs/mcp-code-mode-rationale.md +0 -101
- package/docs/mcp-http-transport.md +0 -223
- package/docs/mermaid-layout-complaints.md +0 -837
- package/docs/mutation-testing.md +0 -206
- package/docs/project/divergences.md +0 -98
- package/docs/project/dogfooding-docs-strategy.md +0 -66
- package/docs/project/hosted-mcp-cloudflare-plan.md +0 -338
- package/docs/project/lessons-learned.md +0 -1019
- package/docs/project/remove-role-styling-plan.md +0 -176
- package/docs/quality.md +0 -212
- package/docs/react.md +0 -97
- package/docs/style-authoring.md +0 -133
- package/docs/testing-strategy.md +0 -335
- package/docs/theming.md +0 -162
- package/examples/agent-improve-auth-flow.ts +0 -206
- package/examples/agent-loop.ts +0 -53
- package/examples/mcp-vs-cli-complex-diagrams.ts +0 -133
- package/llms.txt +0 -104
- package/skill-evals/README.md +0 -77
- package/skill-evals/fixtures/architecture-cache/input.mmd +0 -5
- package/skill-evals/fixtures/class-payment/input.mmd +0 -4
- package/skill-evals/fixtures/er-orders/input.mmd +0 -10
- package/skill-evals/fixtures/flowchart-cache/input.mmd +0 -3
- package/skill-evals/fixtures/gantt-release/input.mmd +0 -7
- package/skill-evals/fixtures/journey-checkout/input.mmd +0 -6
- package/skill-evals/fixtures/pie-exports/input.mmd +0 -5
- package/skill-evals/fixtures/quadrant-priorities/input.mmd +0 -11
- package/skill-evals/fixtures/sequence-retry/input.mmd +0 -8
- package/skill-evals/fixtures/state-lifecycle/input.mmd +0 -5
- package/skill-evals/fixtures/timeline-release/input.mmd +0 -6
- package/skill-evals/fixtures/xychart-growth/input.mmd +0 -5
- package/skill-evals/shared-benchmark.json +0 -510
- package/src/agent/analyze.ts +0 -157
- package/src/agent/apply.ts +0 -146
- package/src/agent/architecture-body.ts +0 -458
- package/src/agent/certificates.ts +0 -110
- package/src/agent/class-body.ts +0 -319
- package/src/agent/core.ts +0 -207
- package/src/agent/create.ts +0 -106
- package/src/agent/describe.ts +0 -364
- package/src/agent/er-body.ts +0 -224
- package/src/agent/facts.ts +0 -337
- package/src/agent/families-builtin.ts +0 -934
- package/src/agent/families.ts +0 -232
- package/src/agent/family-layouts.ts +0 -826
- package/src/agent/flowchart-body.ts +0 -372
- package/src/agent/flowchart-unsupported.ts +0 -243
- package/src/agent/gantt-body.ts +0 -495
- package/src/agent/index.ts +0 -10
- package/src/agent/journey-body.ts +0 -414
- package/src/agent/label-metrics.ts +0 -28
- package/src/agent/layout-to-rendered.ts +0 -63
- package/src/agent/mutate.ts +0 -97
- package/src/agent/mutation-ops.ts +0 -51
- package/src/agent/op-schema.ts +0 -439
- package/src/agent/parse.ts +0 -223
- package/src/agent/pie-body.ts +0 -270
- package/src/agent/png.ts +0 -117
- package/src/agent/quadrant-body.ts +0 -336
- package/src/agent/quality.ts +0 -363
- package/src/agent/readability-audit.ts +0 -92
- package/src/agent/rendered-route-audit.ts +0 -61
- package/src/agent/sequence-body.ts +0 -345
- package/src/agent/serialize.ts +0 -214
- package/src/agent/state-body.ts +0 -589
- package/src/agent/structural-count.ts +0 -150
- package/src/agent/timeline-body.ts +0 -280
- package/src/agent/trace-log.ts +0 -43
- package/src/agent/types.ts +0 -979
- package/src/agent/verify.ts +0 -571
- package/src/agent/xychart-body.ts +0 -472
- package/src/architecture/config.ts +0 -282
- package/src/architecture/layout.ts +0 -496
- package/src/architecture/parser.ts +0 -375
- package/src/architecture/renderer.ts +0 -611
- package/src/architecture/types.ts +0 -113
- package/src/ascii/ansi.ts +0 -423
- package/src/ascii/architecture.ts +0 -210
- package/src/ascii/canvas.ts +0 -443
- package/src/ascii/class-diagram.ts +0 -697
- package/src/ascii/converter.ts +0 -475
- package/src/ascii/draw.ts +0 -1693
- package/src/ascii/edge-bundling.ts +0 -328
- package/src/ascii/edge-routing.ts +0 -330
- package/src/ascii/er-diagram.ts +0 -439
- package/src/ascii/gantt.ts +0 -276
- package/src/ascii/grid.ts +0 -747
- package/src/ascii/index.ts +0 -196
- package/src/ascii/journey.ts +0 -189
- package/src/ascii/meta.ts +0 -244
- package/src/ascii/multiline-utils.ts +0 -80
- package/src/ascii/pathfinder.ts +0 -301
- package/src/ascii/pie.ts +0 -67
- package/src/ascii/quadrant.ts +0 -158
- package/src/ascii/reverse.ts +0 -216
- package/src/ascii/sequence.ts +0 -499
- package/src/ascii/shapes/circle.ts +0 -27
- package/src/ascii/shapes/corners.ts +0 -143
- package/src/ascii/shapes/diamond.ts +0 -27
- package/src/ascii/shapes/hexagon.ts +0 -27
- package/src/ascii/shapes/index.ts +0 -106
- package/src/ascii/shapes/rectangle.ts +0 -168
- package/src/ascii/shapes/rounded.ts +0 -27
- package/src/ascii/shapes/special.ts +0 -332
- package/src/ascii/shapes/stadium.ts +0 -110
- package/src/ascii/shapes/state.ts +0 -192
- package/src/ascii/shapes/types.ts +0 -73
- package/src/ascii/timeline.ts +0 -128
- package/src/ascii/types.ts +0 -312
- package/src/ascii/validate.ts +0 -120
- package/src/ascii/width.ts +0 -81
- package/src/ascii/xychart.ts +0 -919
- package/src/browser.ts +0 -29
- package/src/class/layout.ts +0 -240
- package/src/class/parser.ts +0 -332
- package/src/class/renderer.ts +0 -638
- package/src/class/types.ts +0 -129
- package/src/cli/agent-instructions.ts +0 -1
- package/src/cli/am-bin.ts +0 -6
- package/src/cli/exit-codes.ts +0 -18
- package/src/cli/index.ts +0 -1117
- package/src/cli/init-agent.ts +0 -147
- package/src/color-resolver.ts +0 -152
- package/src/elk-instance.ts +0 -114
- package/src/er/layout.ts +0 -187
- package/src/er/parser.ts +0 -226
- package/src/er/renderer.ts +0 -792
- package/src/er/types.ts +0 -99
- package/src/font-manifest.ts +0 -27
- package/src/gantt/layout.ts +0 -365
- package/src/gantt/parser.ts +0 -282
- package/src/gantt/pipeline.ts +0 -27
- package/src/gantt/renderer.ts +0 -414
- package/src/gantt/schedule.ts +0 -513
- package/src/gantt/types.ts +0 -255
- package/src/index.ts +0 -368
- package/src/journey/layout.ts +0 -520
- package/src/journey/parser.ts +0 -218
- package/src/journey/renderer.ts +0 -811
- package/src/journey/types.ts +0 -144
- package/src/layout/geometry.ts +0 -182
- package/src/layout/pass.ts +0 -142
- package/src/layout/passes/index.ts +0 -3916
- package/src/layout-engine.ts +0 -1565
- package/src/layout-rubric.ts +0 -659
- package/src/mcp/artifacts.ts +0 -137
- package/src/mcp/dynamic-harness.ts +0 -31
- package/src/mcp/dynamic-modules.d.ts +0 -7
- package/src/mcp/facade.ts +0 -608
- package/src/mcp/harness-runtime.ts +0 -203
- package/src/mcp/hosted-server.ts +0 -468
- package/src/mcp/mcp-bin.ts +0 -3
- package/src/mcp/mcp-cli.ts +0 -82
- package/src/mcp/protocol.ts +0 -13
- package/src/mcp/sandbox.ts +0 -195
- package/src/mcp/sdk-decl.ts +0 -387
- package/src/mcp/server.ts +0 -362
- package/src/mcp/tool-surface.ts +0 -146
- package/src/mermaid-source.ts +0 -655
- package/src/multiline-utils.ts +0 -228
- package/src/parser.ts +0 -1031
- package/src/pie/layout.ts +0 -168
- package/src/pie/parser.ts +0 -136
- package/src/pie/renderer.ts +0 -234
- package/src/pie/types.ts +0 -82
- package/src/quadrant/layout.ts +0 -191
- package/src/quadrant/parser.ts +0 -183
- package/src/quadrant/renderer.ts +0 -322
- package/src/quadrant/types.ts +0 -113
- package/src/render-family-hooks.ts +0 -244
- package/src/renderer.ts +0 -1099
- package/src/route-contracts.ts +0 -2723
- package/src/scene/backend.ts +0 -76
- package/src/scene/fidelity.ts +0 -183
- package/src/scene/hybrid-backend.ts +0 -174
- package/src/scene/ir.ts +0 -181
- package/src/scene/marks.ts +0 -127
- package/src/scene/rough-backend.ts +0 -378
- package/src/scene/seed.ts +0 -46
- package/src/scene/style-registry.ts +0 -556
- package/src/sequence/layout.ts +0 -456
- package/src/sequence/parser.ts +0 -255
- package/src/sequence/renderer.ts +0 -604
- package/src/sequence/types.ts +0 -154
- package/src/shape-clipping.ts +0 -351
- package/src/shared/accessibility-directives.ts +0 -22
- package/src/shared/batched.ts +0 -61
- package/src/shared/color-math.ts +0 -72
- package/src/shared/svg-a11y.ts +0 -29
- package/src/shared/syntax-error.ts +0 -17
- package/src/shared/unicode-ranges.ts +0 -135
- package/src/styles.ts +0 -318
- package/src/svg-paths.ts +0 -28
- package/src/text-metrics.ts +0 -248
- package/src/theme.ts +0 -639
- package/src/timeline/layout.ts +0 -381
- package/src/timeline/parser.ts +0 -215
- package/src/timeline/renderer.ts +0 -538
- package/src/timeline/types.ts +0 -105
- package/src/types.ts +0 -454
- package/src/website-worker-modules.d.ts +0 -18
- package/src/xychart/axis-utils.ts +0 -109
- package/src/xychart/colors.ts +0 -124
- package/src/xychart/config.ts +0 -88
- package/src/xychart/layout.ts +0 -656
- package/src/xychart/parser.ts +0 -504
- package/src/xychart/renderer.ts +0 -640
- package/src/xychart/types.ts +0 -282
|
@@ -2,62 +2,1253 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentic-mermaid.dev/schemas/style-spec.schema.json",
|
|
4
4
|
"title": "Agentic Mermaid StyleSpec",
|
|
5
|
-
"description": "A declarative style record for Agentic Mermaid
|
|
5
|
+
"description": "A partial declarative style record for Agentic Mermaid rendering. All fields, including formatVersion, are optional on input; resolved and registered specs normalize formatVersion to 1.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
|
+
"maxProperties": 24,
|
|
8
9
|
"properties": {
|
|
10
|
+
"formatVersion": {
|
|
11
|
+
"const": 1,
|
|
12
|
+
"description": "Persisted wire-format version. Optional on input and normalized to 1 on output."
|
|
13
|
+
},
|
|
9
14
|
"$schema": {
|
|
10
15
|
"type": "string",
|
|
11
|
-
"description": "Optional
|
|
16
|
+
"description": "Optional JSON Schema pointer for file-backed styles; ignored while rendering."
|
|
12
17
|
},
|
|
13
18
|
"name": {
|
|
14
19
|
"type": "string",
|
|
15
|
-
"description": "
|
|
20
|
+
"description": "Canonical look:name or palette:name identity; required only when registering a style."
|
|
16
21
|
},
|
|
17
22
|
"blurb": {
|
|
18
|
-
"type": "string"
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Short human-readable description used by discovery surfaces."
|
|
19
25
|
},
|
|
20
26
|
"colors": {
|
|
21
27
|
"type": "object",
|
|
22
28
|
"additionalProperties": false,
|
|
29
|
+
"maxProperties": 7,
|
|
30
|
+
"description": "Partial palette of safe, non-fetching CSS color tokens. Runtime validation applies the stricter safe-color policy.",
|
|
31
|
+
"properties": {
|
|
32
|
+
"bg": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Diagram page background. Must be a safe, non-fetching CSS color.",
|
|
35
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
36
|
+
},
|
|
37
|
+
"fg": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Primary text and foreground paint. Must be a safe, non-fetching CSS color.",
|
|
40
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
41
|
+
},
|
|
42
|
+
"line": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Connector and secondary line paint. Must be a safe, non-fetching CSS color.",
|
|
45
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
46
|
+
},
|
|
47
|
+
"accent": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Accent paint for emphasis and data series. Must be a safe, non-fetching CSS color.",
|
|
50
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
51
|
+
},
|
|
52
|
+
"muted": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Muted text and secondary data paint. Must be a safe, non-fetching CSS color.",
|
|
55
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
56
|
+
},
|
|
57
|
+
"surface": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Node and group surface fill. Must be a safe, non-fetching CSS color.",
|
|
60
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
61
|
+
},
|
|
62
|
+
"border": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Node and group border paint. Must be a safe, non-fetching CSS color.",
|
|
65
|
+
"x-agentic-mermaid-runtime-validator": "safeCssColor"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"font": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Safe, non-fetching CSS font family or stack; the rendering environment supplies the font face.",
|
|
72
|
+
"x-agentic-mermaid-runtime-validator": "safeCssFontFamily"
|
|
73
|
+
},
|
|
74
|
+
"roles": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"description": "Partial semantic SceneRole defaults. Family-authored styling remains authoritative.",
|
|
23
78
|
"properties": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
79
|
+
"node": {
|
|
80
|
+
"$ref": "#/$defs/roleStyle-node"
|
|
81
|
+
},
|
|
82
|
+
"edge": {
|
|
83
|
+
"$ref": "#/$defs/roleStyle-edge"
|
|
84
|
+
},
|
|
85
|
+
"group": {
|
|
86
|
+
"$ref": "#/$defs/roleStyle-group"
|
|
87
|
+
},
|
|
88
|
+
"group-header": {
|
|
89
|
+
"$ref": "#/$defs/roleStyle-group-header"
|
|
90
|
+
},
|
|
91
|
+
"label": {
|
|
92
|
+
"$ref": "#/$defs/roleStyle-label"
|
|
93
|
+
},
|
|
94
|
+
"actor": {
|
|
95
|
+
"$ref": "#/$defs/roleStyle-actor"
|
|
96
|
+
},
|
|
97
|
+
"relationship": {
|
|
98
|
+
"$ref": "#/$defs/roleStyle-relationship"
|
|
99
|
+
},
|
|
100
|
+
"pie-slice": {
|
|
101
|
+
"$ref": "#/$defs/roleStyle-pie-slice"
|
|
102
|
+
},
|
|
103
|
+
"legend": {
|
|
104
|
+
"$ref": "#/$defs/roleStyle-legend"
|
|
105
|
+
},
|
|
106
|
+
"bar": {
|
|
107
|
+
"$ref": "#/$defs/roleStyle-bar"
|
|
108
|
+
},
|
|
109
|
+
"series": {
|
|
110
|
+
"$ref": "#/$defs/roleStyle-series"
|
|
111
|
+
},
|
|
112
|
+
"point": {
|
|
113
|
+
"$ref": "#/$defs/roleStyle-point"
|
|
114
|
+
},
|
|
115
|
+
"task": {
|
|
116
|
+
"$ref": "#/$defs/roleStyle-task"
|
|
117
|
+
},
|
|
118
|
+
"milestone": {
|
|
119
|
+
"$ref": "#/$defs/roleStyle-milestone"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"semanticSlots": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"description": "Named brand-neutral role-style slots selected by semantic bindings.",
|
|
126
|
+
"maxProperties": 4096,
|
|
127
|
+
"propertyNames": {
|
|
128
|
+
"pattern": "^[A-Za-z][A-Za-z0-9._-]{0,63}$",
|
|
129
|
+
"not": {
|
|
130
|
+
"enum": [
|
|
131
|
+
"__proto__",
|
|
132
|
+
"constructor",
|
|
133
|
+
"prototype"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"additionalProperties": {
|
|
138
|
+
"$ref": "#/$defs/roleStyle-any"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"bindings": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"description": "Ordered equality bindings from authored/domain meaning to semantic slots.",
|
|
144
|
+
"maxItems": 4096,
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"maxProperties": 4,
|
|
149
|
+
"required": [
|
|
150
|
+
"channel",
|
|
151
|
+
"value",
|
|
152
|
+
"slot"
|
|
153
|
+
],
|
|
154
|
+
"properties": {
|
|
155
|
+
"channel": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"enum": [
|
|
158
|
+
"category"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"value": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1,
|
|
164
|
+
"maxLength": 256,
|
|
165
|
+
"pattern": "^[^\\r\\n\\u0000]+$"
|
|
166
|
+
},
|
|
167
|
+
"slot": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"pattern": "^[A-Za-z][A-Za-z0-9._-]{0,63}$",
|
|
170
|
+
"not": {
|
|
171
|
+
"enum": [
|
|
172
|
+
"__proto__",
|
|
173
|
+
"constructor",
|
|
174
|
+
"prototype"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"role": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": [
|
|
181
|
+
"group-header",
|
|
182
|
+
"actor",
|
|
183
|
+
"relationship",
|
|
184
|
+
"pie-slice",
|
|
185
|
+
"legend",
|
|
186
|
+
"bar",
|
|
187
|
+
"series",
|
|
188
|
+
"point",
|
|
189
|
+
"task",
|
|
190
|
+
"milestone"
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"constraints": {
|
|
197
|
+
"type": "array",
|
|
198
|
+
"description": "Closed inspect-only brand constraints with warn or error actions.",
|
|
199
|
+
"maxItems": 4096,
|
|
200
|
+
"items": {
|
|
201
|
+
"oneOf": [
|
|
202
|
+
{
|
|
203
|
+
"type": "object",
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"required": [
|
|
206
|
+
"kind",
|
|
207
|
+
"action"
|
|
208
|
+
],
|
|
209
|
+
"properties": {
|
|
210
|
+
"kind": {
|
|
211
|
+
"const": "contrast"
|
|
212
|
+
},
|
|
213
|
+
"action": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"enum": [
|
|
216
|
+
"warn",
|
|
217
|
+
"error"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"role": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": [
|
|
223
|
+
"node",
|
|
224
|
+
"edge",
|
|
225
|
+
"edge-label",
|
|
226
|
+
"group",
|
|
227
|
+
"group-header",
|
|
228
|
+
"label",
|
|
229
|
+
"actor",
|
|
230
|
+
"lifeline",
|
|
231
|
+
"activation",
|
|
232
|
+
"message",
|
|
233
|
+
"block",
|
|
234
|
+
"note",
|
|
235
|
+
"class-box",
|
|
236
|
+
"member",
|
|
237
|
+
"entity",
|
|
238
|
+
"attribute",
|
|
239
|
+
"relationship",
|
|
240
|
+
"cardinality",
|
|
241
|
+
"pie-slice",
|
|
242
|
+
"legend",
|
|
243
|
+
"bar",
|
|
244
|
+
"series",
|
|
245
|
+
"point",
|
|
246
|
+
"axis",
|
|
247
|
+
"grid",
|
|
248
|
+
"plate",
|
|
249
|
+
"section",
|
|
250
|
+
"task",
|
|
251
|
+
"milestone",
|
|
252
|
+
"marker-line",
|
|
253
|
+
"rail",
|
|
254
|
+
"period",
|
|
255
|
+
"event",
|
|
256
|
+
"score",
|
|
257
|
+
"actor-pill",
|
|
258
|
+
"service",
|
|
259
|
+
"junction",
|
|
260
|
+
"icon",
|
|
261
|
+
"title",
|
|
262
|
+
"defs",
|
|
263
|
+
"prelude",
|
|
264
|
+
"chrome"
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
"minimum": {
|
|
268
|
+
"type": "number",
|
|
269
|
+
"minimum": 1,
|
|
270
|
+
"maximum": 21
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "object",
|
|
276
|
+
"additionalProperties": false,
|
|
277
|
+
"required": [
|
|
278
|
+
"kind",
|
|
279
|
+
"action",
|
|
280
|
+
"maxFraction"
|
|
281
|
+
],
|
|
282
|
+
"properties": {
|
|
283
|
+
"kind": {
|
|
284
|
+
"const": "accent-area"
|
|
285
|
+
},
|
|
286
|
+
"action": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"enum": [
|
|
289
|
+
"warn",
|
|
290
|
+
"error"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"maxFraction": {
|
|
294
|
+
"type": "number",
|
|
295
|
+
"minimum": 0,
|
|
296
|
+
"maximum": 1
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "object",
|
|
302
|
+
"additionalProperties": false,
|
|
303
|
+
"required": [
|
|
304
|
+
"kind",
|
|
305
|
+
"action",
|
|
306
|
+
"role"
|
|
307
|
+
],
|
|
308
|
+
"properties": {
|
|
309
|
+
"kind": {
|
|
310
|
+
"const": "mono-role"
|
|
311
|
+
},
|
|
312
|
+
"action": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"enum": [
|
|
315
|
+
"warn",
|
|
316
|
+
"error"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
"role": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"enum": [
|
|
322
|
+
"node",
|
|
323
|
+
"edge",
|
|
324
|
+
"edge-label",
|
|
325
|
+
"group",
|
|
326
|
+
"group-header",
|
|
327
|
+
"label",
|
|
328
|
+
"actor",
|
|
329
|
+
"lifeline",
|
|
330
|
+
"activation",
|
|
331
|
+
"message",
|
|
332
|
+
"block",
|
|
333
|
+
"note",
|
|
334
|
+
"class-box",
|
|
335
|
+
"member",
|
|
336
|
+
"entity",
|
|
337
|
+
"attribute",
|
|
338
|
+
"relationship",
|
|
339
|
+
"cardinality",
|
|
340
|
+
"pie-slice",
|
|
341
|
+
"legend",
|
|
342
|
+
"bar",
|
|
343
|
+
"series",
|
|
344
|
+
"point",
|
|
345
|
+
"axis",
|
|
346
|
+
"grid",
|
|
347
|
+
"plate",
|
|
348
|
+
"section",
|
|
349
|
+
"task",
|
|
350
|
+
"milestone",
|
|
351
|
+
"marker-line",
|
|
352
|
+
"rail",
|
|
353
|
+
"period",
|
|
354
|
+
"event",
|
|
355
|
+
"score",
|
|
356
|
+
"actor-pill",
|
|
357
|
+
"service",
|
|
358
|
+
"junction",
|
|
359
|
+
"icon",
|
|
360
|
+
"title",
|
|
361
|
+
"defs",
|
|
362
|
+
"prelude",
|
|
363
|
+
"chrome"
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
]
|
|
31
369
|
}
|
|
32
370
|
},
|
|
33
|
-
"font": { "type": "string" },
|
|
34
371
|
"stroke": {
|
|
35
|
-
"
|
|
372
|
+
"type": "string",
|
|
373
|
+
"enum": [
|
|
374
|
+
"crisp",
|
|
375
|
+
"jittered",
|
|
376
|
+
"freehand"
|
|
377
|
+
],
|
|
378
|
+
"description": "Stroke treatment; crisp is the default renderer."
|
|
379
|
+
},
|
|
380
|
+
"roughness": {
|
|
381
|
+
"type": "number",
|
|
382
|
+
"minimum": 0,
|
|
383
|
+
"maximum": 10,
|
|
384
|
+
"description": "Rough.js stroke irregularity."
|
|
385
|
+
},
|
|
386
|
+
"bowing": {
|
|
387
|
+
"type": "number",
|
|
388
|
+
"minimum": 0,
|
|
389
|
+
"maximum": 10,
|
|
390
|
+
"description": "Rough.js line bowing."
|
|
391
|
+
},
|
|
392
|
+
"passes": {
|
|
393
|
+
"type": "integer",
|
|
394
|
+
"minimum": 1,
|
|
395
|
+
"maximum": 8,
|
|
396
|
+
"description": "Number of sketch strokes; 1 is single-pass and 2 is the usual double stroke."
|
|
397
|
+
},
|
|
398
|
+
"strokeWidth": {
|
|
399
|
+
"type": "number",
|
|
400
|
+
"exclusiveMinimum": 0,
|
|
401
|
+
"maximum": 20,
|
|
402
|
+
"description": "Base stroke width in SVG user units."
|
|
36
403
|
},
|
|
37
|
-
"roughness": { "type": "number" },
|
|
38
|
-
"bowing": { "type": "number" },
|
|
39
|
-
"passes": { "type": "number" },
|
|
40
|
-
"strokeWidth": { "type": "number" },
|
|
41
404
|
"fill": {
|
|
42
|
-
"
|
|
405
|
+
"type": "string",
|
|
406
|
+
"enum": [
|
|
407
|
+
"none",
|
|
408
|
+
"hachure",
|
|
409
|
+
"solid",
|
|
410
|
+
"wash"
|
|
411
|
+
],
|
|
412
|
+
"description": "Fill policy for rough/hybrid rendering; none and solid require a final stack that activates one of those backends."
|
|
43
413
|
},
|
|
44
|
-
"hachureAngle": {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
414
|
+
"hachureAngle": {
|
|
415
|
+
"type": "number",
|
|
416
|
+
"minimum": -360,
|
|
417
|
+
"maximum": 360,
|
|
418
|
+
"description": "Hachure line angle in degrees; requires fill hachure in the final stack."
|
|
419
|
+
},
|
|
420
|
+
"hachureGap": {
|
|
421
|
+
"type": "number",
|
|
422
|
+
"exclusiveMinimum": 0,
|
|
423
|
+
"maximum": 100,
|
|
424
|
+
"description": "Gap between hachure lines; requires fill hachure in the final stack."
|
|
51
425
|
},
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
426
|
+
"fillWeight": {
|
|
427
|
+
"type": "number",
|
|
428
|
+
"exclusiveMinimum": 0,
|
|
429
|
+
"maximum": 20,
|
|
430
|
+
"description": "Hachure line weight; requires fill hachure in the final stack."
|
|
431
|
+
},
|
|
432
|
+
"washOpacity": {
|
|
433
|
+
"type": "number",
|
|
434
|
+
"minimum": 0,
|
|
435
|
+
"maximum": 1,
|
|
436
|
+
"description": "Watercolor glaze opacity; requires fill wash in the final stack."
|
|
437
|
+
},
|
|
438
|
+
"washEdge": {
|
|
439
|
+
"type": "number",
|
|
440
|
+
"minimum": 0,
|
|
441
|
+
"maximum": 1,
|
|
442
|
+
"description": "Watercolor edge-darkening opacity; requires fill wash in the final stack."
|
|
443
|
+
},
|
|
444
|
+
"backdrop": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"enum": [
|
|
447
|
+
"plain",
|
|
448
|
+
"paper-ruled",
|
|
449
|
+
"grid"
|
|
450
|
+
],
|
|
451
|
+
"description": "Flat page furniture drawn behind the diagram."
|
|
55
452
|
},
|
|
56
453
|
"intent": {
|
|
57
|
-
"
|
|
454
|
+
"type": "string",
|
|
455
|
+
"enum": [
|
|
456
|
+
"premium",
|
|
457
|
+
"draft",
|
|
458
|
+
"lofi"
|
|
459
|
+
],
|
|
460
|
+
"description": "Advisory intent metadata for pickers and quality tooling."
|
|
58
461
|
},
|
|
59
462
|
"mono": {
|
|
60
|
-
"type": "boolean"
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"description": "Advisory monochrome contract: express tone through shading and weight."
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"$defs": {
|
|
468
|
+
"roleStyle-node": {
|
|
469
|
+
"type": "object",
|
|
470
|
+
"additionalProperties": false,
|
|
471
|
+
"maxProperties": 11,
|
|
472
|
+
"properties": {
|
|
473
|
+
"fontSize": {
|
|
474
|
+
"type": "number",
|
|
475
|
+
"minimum": 1,
|
|
476
|
+
"maximum": 256,
|
|
477
|
+
"description": "Font size in SVG user units."
|
|
478
|
+
},
|
|
479
|
+
"fontWeight": {
|
|
480
|
+
"type": "number",
|
|
481
|
+
"minimum": 1,
|
|
482
|
+
"maximum": 1000,
|
|
483
|
+
"description": "CSS numeric font weight."
|
|
484
|
+
},
|
|
485
|
+
"letterSpacing": {
|
|
486
|
+
"type": "number",
|
|
487
|
+
"minimum": -2,
|
|
488
|
+
"maximum": 4,
|
|
489
|
+
"description": "Letter spacing in SVG user units."
|
|
490
|
+
},
|
|
491
|
+
"textTransform": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"enum": [
|
|
494
|
+
"uppercase",
|
|
495
|
+
"lowercase",
|
|
496
|
+
"capitalize"
|
|
497
|
+
],
|
|
498
|
+
"description": "Text transformation."
|
|
499
|
+
},
|
|
500
|
+
"textColor": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "Text paint.",
|
|
503
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
504
|
+
},
|
|
505
|
+
"paddingX": {
|
|
506
|
+
"type": "number",
|
|
507
|
+
"minimum": 0,
|
|
508
|
+
"maximum": 256,
|
|
509
|
+
"description": "Horizontal role padding."
|
|
510
|
+
},
|
|
511
|
+
"paddingY": {
|
|
512
|
+
"type": "number",
|
|
513
|
+
"minimum": 0,
|
|
514
|
+
"maximum": 256,
|
|
515
|
+
"description": "Vertical role padding."
|
|
516
|
+
},
|
|
517
|
+
"cornerRadius": {
|
|
518
|
+
"type": "number",
|
|
519
|
+
"minimum": 0,
|
|
520
|
+
"maximum": 256,
|
|
521
|
+
"description": "Applicable corner radius."
|
|
522
|
+
},
|
|
523
|
+
"lineWidth": {
|
|
524
|
+
"type": "number",
|
|
525
|
+
"exclusiveMinimum": 0,
|
|
526
|
+
"maximum": 20,
|
|
527
|
+
"description": "Border or connector width."
|
|
528
|
+
},
|
|
529
|
+
"fillColor": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"description": "Surface fill paint.",
|
|
532
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
533
|
+
},
|
|
534
|
+
"borderColor": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"description": "Border paint.",
|
|
537
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"roleStyle-edge": {
|
|
542
|
+
"type": "object",
|
|
543
|
+
"additionalProperties": false,
|
|
544
|
+
"maxProperties": 8,
|
|
545
|
+
"properties": {
|
|
546
|
+
"fontSize": {
|
|
547
|
+
"type": "number",
|
|
548
|
+
"minimum": 1,
|
|
549
|
+
"maximum": 256,
|
|
550
|
+
"description": "Font size in SVG user units."
|
|
551
|
+
},
|
|
552
|
+
"fontWeight": {
|
|
553
|
+
"type": "number",
|
|
554
|
+
"minimum": 1,
|
|
555
|
+
"maximum": 1000,
|
|
556
|
+
"description": "CSS numeric font weight."
|
|
557
|
+
},
|
|
558
|
+
"letterSpacing": {
|
|
559
|
+
"type": "number",
|
|
560
|
+
"minimum": -2,
|
|
561
|
+
"maximum": 4,
|
|
562
|
+
"description": "Letter spacing in SVG user units."
|
|
563
|
+
},
|
|
564
|
+
"textTransform": {
|
|
565
|
+
"type": "string",
|
|
566
|
+
"enum": [
|
|
567
|
+
"uppercase",
|
|
568
|
+
"lowercase",
|
|
569
|
+
"capitalize"
|
|
570
|
+
],
|
|
571
|
+
"description": "Text transformation."
|
|
572
|
+
},
|
|
573
|
+
"textColor": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"description": "Text paint.",
|
|
576
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
577
|
+
},
|
|
578
|
+
"lineWidth": {
|
|
579
|
+
"type": "number",
|
|
580
|
+
"exclusiveMinimum": 0,
|
|
581
|
+
"maximum": 20,
|
|
582
|
+
"description": "Border or connector width."
|
|
583
|
+
},
|
|
584
|
+
"bendRadius": {
|
|
585
|
+
"type": "number",
|
|
586
|
+
"minimum": 0,
|
|
587
|
+
"maximum": 256,
|
|
588
|
+
"description": "Applicable connector bend radius."
|
|
589
|
+
},
|
|
590
|
+
"strokeColor": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"description": "Connector stroke paint.",
|
|
593
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"roleStyle-group": {
|
|
598
|
+
"type": "object",
|
|
599
|
+
"additionalProperties": false,
|
|
600
|
+
"maxProperties": 13,
|
|
601
|
+
"properties": {
|
|
602
|
+
"fontSize": {
|
|
603
|
+
"type": "number",
|
|
604
|
+
"minimum": 1,
|
|
605
|
+
"maximum": 256,
|
|
606
|
+
"description": "Font size in SVG user units."
|
|
607
|
+
},
|
|
608
|
+
"fontWeight": {
|
|
609
|
+
"type": "number",
|
|
610
|
+
"minimum": 1,
|
|
611
|
+
"maximum": 1000,
|
|
612
|
+
"description": "CSS numeric font weight."
|
|
613
|
+
},
|
|
614
|
+
"letterSpacing": {
|
|
615
|
+
"type": "number",
|
|
616
|
+
"minimum": -2,
|
|
617
|
+
"maximum": 4,
|
|
618
|
+
"description": "Letter spacing in SVG user units."
|
|
619
|
+
},
|
|
620
|
+
"textTransform": {
|
|
621
|
+
"type": "string",
|
|
622
|
+
"enum": [
|
|
623
|
+
"uppercase",
|
|
624
|
+
"lowercase",
|
|
625
|
+
"capitalize"
|
|
626
|
+
],
|
|
627
|
+
"description": "Text transformation."
|
|
628
|
+
},
|
|
629
|
+
"textColor": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"description": "Text paint.",
|
|
632
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
633
|
+
},
|
|
634
|
+
"paddingX": {
|
|
635
|
+
"type": "number",
|
|
636
|
+
"minimum": 0,
|
|
637
|
+
"maximum": 256,
|
|
638
|
+
"description": "Horizontal role padding."
|
|
639
|
+
},
|
|
640
|
+
"paddingY": {
|
|
641
|
+
"type": "number",
|
|
642
|
+
"minimum": 0,
|
|
643
|
+
"maximum": 256,
|
|
644
|
+
"description": "Vertical role padding."
|
|
645
|
+
},
|
|
646
|
+
"cornerRadius": {
|
|
647
|
+
"type": "number",
|
|
648
|
+
"minimum": 0,
|
|
649
|
+
"maximum": 256,
|
|
650
|
+
"description": "Applicable corner radius."
|
|
651
|
+
},
|
|
652
|
+
"lineWidth": {
|
|
653
|
+
"type": "number",
|
|
654
|
+
"exclusiveMinimum": 0,
|
|
655
|
+
"maximum": 20,
|
|
656
|
+
"description": "Border or connector width."
|
|
657
|
+
},
|
|
658
|
+
"fillColor": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "Surface fill paint.",
|
|
661
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
662
|
+
},
|
|
663
|
+
"borderColor": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"description": "Border paint.",
|
|
666
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
667
|
+
},
|
|
668
|
+
"fontFamily": {
|
|
669
|
+
"type": "string",
|
|
670
|
+
"description": "Safe font family/stack for roles whose descriptor exposes family-specific typography.",
|
|
671
|
+
"x-agentic-mermaid-runtime-validator": "safeCssFontFamily"
|
|
672
|
+
},
|
|
673
|
+
"headerFillColor": {
|
|
674
|
+
"type": "string",
|
|
675
|
+
"description": "Group header surface paint.",
|
|
676
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"roleStyle-group-header": {
|
|
681
|
+
"type": "object",
|
|
682
|
+
"additionalProperties": false,
|
|
683
|
+
"maxProperties": 11,
|
|
684
|
+
"properties": {
|
|
685
|
+
"fontFamily": {
|
|
686
|
+
"type": "string",
|
|
687
|
+
"description": "Safe font family/stack for roles whose descriptor exposes family-specific typography.",
|
|
688
|
+
"x-agentic-mermaid-runtime-validator": "safeCssFontFamily"
|
|
689
|
+
},
|
|
690
|
+
"fontSize": {
|
|
691
|
+
"type": "number",
|
|
692
|
+
"minimum": 1,
|
|
693
|
+
"maximum": 256,
|
|
694
|
+
"description": "Font size in SVG user units."
|
|
695
|
+
},
|
|
696
|
+
"fontWeight": {
|
|
697
|
+
"type": "number",
|
|
698
|
+
"minimum": 1,
|
|
699
|
+
"maximum": 1000,
|
|
700
|
+
"description": "CSS numeric font weight."
|
|
701
|
+
},
|
|
702
|
+
"letterSpacing": {
|
|
703
|
+
"type": "number",
|
|
704
|
+
"minimum": -2,
|
|
705
|
+
"maximum": 4,
|
|
706
|
+
"description": "Letter spacing in SVG user units."
|
|
707
|
+
},
|
|
708
|
+
"textTransform": {
|
|
709
|
+
"type": "string",
|
|
710
|
+
"enum": [
|
|
711
|
+
"uppercase",
|
|
712
|
+
"lowercase",
|
|
713
|
+
"capitalize"
|
|
714
|
+
],
|
|
715
|
+
"description": "Text transformation."
|
|
716
|
+
},
|
|
717
|
+
"textColor": {
|
|
718
|
+
"type": "string",
|
|
719
|
+
"description": "Text paint.",
|
|
720
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
721
|
+
},
|
|
722
|
+
"fillColor": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"description": "Surface fill paint.",
|
|
725
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
726
|
+
},
|
|
727
|
+
"borderColor": {
|
|
728
|
+
"type": "string",
|
|
729
|
+
"description": "Border paint.",
|
|
730
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
731
|
+
},
|
|
732
|
+
"strokeColor": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"description": "Connector stroke paint.",
|
|
735
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
736
|
+
},
|
|
737
|
+
"lineWidth": {
|
|
738
|
+
"type": "number",
|
|
739
|
+
"exclusiveMinimum": 0,
|
|
740
|
+
"maximum": 20,
|
|
741
|
+
"description": "Border or connector width."
|
|
742
|
+
},
|
|
743
|
+
"cue": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"enum": [
|
|
746
|
+
"none",
|
|
747
|
+
"outline",
|
|
748
|
+
"double-line",
|
|
749
|
+
"pattern"
|
|
750
|
+
],
|
|
751
|
+
"description": "Non-color semantic cue on roles whose family renderer exposes a cue projection."
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"roleStyle-label": {
|
|
756
|
+
"type": "object",
|
|
757
|
+
"additionalProperties": false,
|
|
758
|
+
"maxProperties": 5,
|
|
759
|
+
"properties": {
|
|
760
|
+
"fontSize": {
|
|
761
|
+
"type": "number",
|
|
762
|
+
"minimum": 1,
|
|
763
|
+
"maximum": 256,
|
|
764
|
+
"description": "Font size in SVG user units."
|
|
765
|
+
},
|
|
766
|
+
"fontWeight": {
|
|
767
|
+
"type": "number",
|
|
768
|
+
"minimum": 1,
|
|
769
|
+
"maximum": 1000,
|
|
770
|
+
"description": "CSS numeric font weight."
|
|
771
|
+
},
|
|
772
|
+
"letterSpacing": {
|
|
773
|
+
"type": "number",
|
|
774
|
+
"minimum": -2,
|
|
775
|
+
"maximum": 4,
|
|
776
|
+
"description": "Letter spacing in SVG user units."
|
|
777
|
+
},
|
|
778
|
+
"textTransform": {
|
|
779
|
+
"type": "string",
|
|
780
|
+
"enum": [
|
|
781
|
+
"uppercase",
|
|
782
|
+
"lowercase",
|
|
783
|
+
"capitalize"
|
|
784
|
+
],
|
|
785
|
+
"description": "Text transformation."
|
|
786
|
+
},
|
|
787
|
+
"textColor": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"description": "Text paint.",
|
|
790
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"roleStyle-actor": {
|
|
795
|
+
"type": "object",
|
|
796
|
+
"additionalProperties": false,
|
|
797
|
+
"maxProperties": 11,
|
|
798
|
+
"properties": {
|
|
799
|
+
"fontSize": {
|
|
800
|
+
"type": "number",
|
|
801
|
+
"minimum": 1,
|
|
802
|
+
"maximum": 256,
|
|
803
|
+
"description": "Font size in SVG user units."
|
|
804
|
+
},
|
|
805
|
+
"fontWeight": {
|
|
806
|
+
"type": "number",
|
|
807
|
+
"minimum": 1,
|
|
808
|
+
"maximum": 1000,
|
|
809
|
+
"description": "CSS numeric font weight."
|
|
810
|
+
},
|
|
811
|
+
"letterSpacing": {
|
|
812
|
+
"type": "number",
|
|
813
|
+
"minimum": -2,
|
|
814
|
+
"maximum": 4,
|
|
815
|
+
"description": "Letter spacing in SVG user units."
|
|
816
|
+
},
|
|
817
|
+
"textTransform": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"enum": [
|
|
820
|
+
"uppercase",
|
|
821
|
+
"lowercase",
|
|
822
|
+
"capitalize"
|
|
823
|
+
],
|
|
824
|
+
"description": "Text transformation."
|
|
825
|
+
},
|
|
826
|
+
"textColor": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"description": "Text paint.",
|
|
829
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
830
|
+
},
|
|
831
|
+
"paddingX": {
|
|
832
|
+
"type": "number",
|
|
833
|
+
"minimum": 0,
|
|
834
|
+
"maximum": 256,
|
|
835
|
+
"description": "Horizontal role padding."
|
|
836
|
+
},
|
|
837
|
+
"paddingY": {
|
|
838
|
+
"type": "number",
|
|
839
|
+
"minimum": 0,
|
|
840
|
+
"maximum": 256,
|
|
841
|
+
"description": "Vertical role padding."
|
|
842
|
+
},
|
|
843
|
+
"cornerRadius": {
|
|
844
|
+
"type": "number",
|
|
845
|
+
"minimum": 0,
|
|
846
|
+
"maximum": 256,
|
|
847
|
+
"description": "Applicable corner radius."
|
|
848
|
+
},
|
|
849
|
+
"lineWidth": {
|
|
850
|
+
"type": "number",
|
|
851
|
+
"exclusiveMinimum": 0,
|
|
852
|
+
"maximum": 20,
|
|
853
|
+
"description": "Border or connector width."
|
|
854
|
+
},
|
|
855
|
+
"fillColor": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "Surface fill paint.",
|
|
858
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
859
|
+
},
|
|
860
|
+
"borderColor": {
|
|
861
|
+
"type": "string",
|
|
862
|
+
"description": "Border paint.",
|
|
863
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"roleStyle-relationship": {
|
|
868
|
+
"type": "object",
|
|
869
|
+
"additionalProperties": false,
|
|
870
|
+
"maxProperties": 8,
|
|
871
|
+
"properties": {
|
|
872
|
+
"fontSize": {
|
|
873
|
+
"type": "number",
|
|
874
|
+
"minimum": 1,
|
|
875
|
+
"maximum": 256,
|
|
876
|
+
"description": "Font size in SVG user units."
|
|
877
|
+
},
|
|
878
|
+
"fontWeight": {
|
|
879
|
+
"type": "number",
|
|
880
|
+
"minimum": 1,
|
|
881
|
+
"maximum": 1000,
|
|
882
|
+
"description": "CSS numeric font weight."
|
|
883
|
+
},
|
|
884
|
+
"letterSpacing": {
|
|
885
|
+
"type": "number",
|
|
886
|
+
"minimum": -2,
|
|
887
|
+
"maximum": 4,
|
|
888
|
+
"description": "Letter spacing in SVG user units."
|
|
889
|
+
},
|
|
890
|
+
"textTransform": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"enum": [
|
|
893
|
+
"uppercase",
|
|
894
|
+
"lowercase",
|
|
895
|
+
"capitalize"
|
|
896
|
+
],
|
|
897
|
+
"description": "Text transformation."
|
|
898
|
+
},
|
|
899
|
+
"textColor": {
|
|
900
|
+
"type": "string",
|
|
901
|
+
"description": "Text paint.",
|
|
902
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
903
|
+
},
|
|
904
|
+
"lineWidth": {
|
|
905
|
+
"type": "number",
|
|
906
|
+
"exclusiveMinimum": 0,
|
|
907
|
+
"maximum": 20,
|
|
908
|
+
"description": "Border or connector width."
|
|
909
|
+
},
|
|
910
|
+
"bendRadius": {
|
|
911
|
+
"type": "number",
|
|
912
|
+
"minimum": 0,
|
|
913
|
+
"maximum": 256,
|
|
914
|
+
"description": "Applicable connector bend radius."
|
|
915
|
+
},
|
|
916
|
+
"strokeColor": {
|
|
917
|
+
"type": "string",
|
|
918
|
+
"description": "Connector stroke paint.",
|
|
919
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"roleStyle-pie-slice": {
|
|
924
|
+
"type": "object",
|
|
925
|
+
"additionalProperties": false,
|
|
926
|
+
"maxProperties": 5,
|
|
927
|
+
"properties": {
|
|
928
|
+
"fillColor": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "Surface fill paint.",
|
|
931
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
932
|
+
},
|
|
933
|
+
"borderColor": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "Border paint.",
|
|
936
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
937
|
+
},
|
|
938
|
+
"strokeColor": {
|
|
939
|
+
"type": "string",
|
|
940
|
+
"description": "Connector stroke paint.",
|
|
941
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
942
|
+
},
|
|
943
|
+
"lineWidth": {
|
|
944
|
+
"type": "number",
|
|
945
|
+
"exclusiveMinimum": 0,
|
|
946
|
+
"maximum": 20,
|
|
947
|
+
"description": "Border or connector width."
|
|
948
|
+
},
|
|
949
|
+
"cue": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"enum": [
|
|
952
|
+
"none",
|
|
953
|
+
"outline",
|
|
954
|
+
"double-line",
|
|
955
|
+
"pattern"
|
|
956
|
+
],
|
|
957
|
+
"description": "Non-color semantic cue on roles whose family renderer exposes a cue projection."
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"roleStyle-legend": {
|
|
962
|
+
"type": "object",
|
|
963
|
+
"additionalProperties": false,
|
|
964
|
+
"maxProperties": 5,
|
|
965
|
+
"properties": {
|
|
966
|
+
"fillColor": {
|
|
967
|
+
"type": "string",
|
|
968
|
+
"description": "Surface fill paint.",
|
|
969
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
970
|
+
},
|
|
971
|
+
"borderColor": {
|
|
972
|
+
"type": "string",
|
|
973
|
+
"description": "Border paint.",
|
|
974
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
975
|
+
},
|
|
976
|
+
"strokeColor": {
|
|
977
|
+
"type": "string",
|
|
978
|
+
"description": "Connector stroke paint.",
|
|
979
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
980
|
+
},
|
|
981
|
+
"lineWidth": {
|
|
982
|
+
"type": "number",
|
|
983
|
+
"exclusiveMinimum": 0,
|
|
984
|
+
"maximum": 20,
|
|
985
|
+
"description": "Border or connector width."
|
|
986
|
+
},
|
|
987
|
+
"textColor": {
|
|
988
|
+
"type": "string",
|
|
989
|
+
"description": "Text paint.",
|
|
990
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
"roleStyle-bar": {
|
|
995
|
+
"type": "object",
|
|
996
|
+
"additionalProperties": false,
|
|
997
|
+
"maxProperties": 4,
|
|
998
|
+
"properties": {
|
|
999
|
+
"fillColor": {
|
|
1000
|
+
"type": "string",
|
|
1001
|
+
"description": "Surface fill paint.",
|
|
1002
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1003
|
+
},
|
|
1004
|
+
"borderColor": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Border paint.",
|
|
1007
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1008
|
+
},
|
|
1009
|
+
"strokeColor": {
|
|
1010
|
+
"type": "string",
|
|
1011
|
+
"description": "Connector stroke paint.",
|
|
1012
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1013
|
+
},
|
|
1014
|
+
"lineWidth": {
|
|
1015
|
+
"type": "number",
|
|
1016
|
+
"exclusiveMinimum": 0,
|
|
1017
|
+
"maximum": 20,
|
|
1018
|
+
"description": "Border or connector width."
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"roleStyle-series": {
|
|
1023
|
+
"type": "object",
|
|
1024
|
+
"additionalProperties": false,
|
|
1025
|
+
"maxProperties": 3,
|
|
1026
|
+
"properties": {
|
|
1027
|
+
"borderColor": {
|
|
1028
|
+
"type": "string",
|
|
1029
|
+
"description": "Border paint.",
|
|
1030
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1031
|
+
},
|
|
1032
|
+
"strokeColor": {
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"description": "Connector stroke paint.",
|
|
1035
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1036
|
+
},
|
|
1037
|
+
"lineWidth": {
|
|
1038
|
+
"type": "number",
|
|
1039
|
+
"exclusiveMinimum": 0,
|
|
1040
|
+
"maximum": 20,
|
|
1041
|
+
"description": "Border or connector width."
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
"roleStyle-point": {
|
|
1046
|
+
"type": "object",
|
|
1047
|
+
"additionalProperties": false,
|
|
1048
|
+
"maxProperties": 4,
|
|
1049
|
+
"properties": {
|
|
1050
|
+
"fillColor": {
|
|
1051
|
+
"type": "string",
|
|
1052
|
+
"description": "Surface fill paint.",
|
|
1053
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1054
|
+
},
|
|
1055
|
+
"borderColor": {
|
|
1056
|
+
"type": "string",
|
|
1057
|
+
"description": "Border paint.",
|
|
1058
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1059
|
+
},
|
|
1060
|
+
"strokeColor": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"description": "Connector stroke paint.",
|
|
1063
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1064
|
+
},
|
|
1065
|
+
"lineWidth": {
|
|
1066
|
+
"type": "number",
|
|
1067
|
+
"exclusiveMinimum": 0,
|
|
1068
|
+
"maximum": 20,
|
|
1069
|
+
"description": "Border or connector width."
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"roleStyle-task": {
|
|
1074
|
+
"type": "object",
|
|
1075
|
+
"additionalProperties": false,
|
|
1076
|
+
"maxProperties": 5,
|
|
1077
|
+
"properties": {
|
|
1078
|
+
"fillColor": {
|
|
1079
|
+
"type": "string",
|
|
1080
|
+
"description": "Surface fill paint.",
|
|
1081
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1082
|
+
},
|
|
1083
|
+
"borderColor": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"description": "Border paint.",
|
|
1086
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1087
|
+
},
|
|
1088
|
+
"strokeColor": {
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"description": "Connector stroke paint.",
|
|
1091
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1092
|
+
},
|
|
1093
|
+
"lineWidth": {
|
|
1094
|
+
"type": "number",
|
|
1095
|
+
"exclusiveMinimum": 0,
|
|
1096
|
+
"maximum": 20,
|
|
1097
|
+
"description": "Border or connector width."
|
|
1098
|
+
},
|
|
1099
|
+
"cue": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"enum": [
|
|
1102
|
+
"none",
|
|
1103
|
+
"outline",
|
|
1104
|
+
"double-line",
|
|
1105
|
+
"pattern"
|
|
1106
|
+
],
|
|
1107
|
+
"description": "Non-color semantic cue on roles whose family renderer exposes a cue projection."
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"roleStyle-milestone": {
|
|
1112
|
+
"type": "object",
|
|
1113
|
+
"additionalProperties": false,
|
|
1114
|
+
"maxProperties": 5,
|
|
1115
|
+
"properties": {
|
|
1116
|
+
"fillColor": {
|
|
1117
|
+
"type": "string",
|
|
1118
|
+
"description": "Surface fill paint.",
|
|
1119
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1120
|
+
},
|
|
1121
|
+
"borderColor": {
|
|
1122
|
+
"type": "string",
|
|
1123
|
+
"description": "Border paint.",
|
|
1124
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1125
|
+
},
|
|
1126
|
+
"strokeColor": {
|
|
1127
|
+
"type": "string",
|
|
1128
|
+
"description": "Connector stroke paint.",
|
|
1129
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1130
|
+
},
|
|
1131
|
+
"lineWidth": {
|
|
1132
|
+
"type": "number",
|
|
1133
|
+
"exclusiveMinimum": 0,
|
|
1134
|
+
"maximum": 20,
|
|
1135
|
+
"description": "Border or connector width."
|
|
1136
|
+
},
|
|
1137
|
+
"cue": {
|
|
1138
|
+
"type": "string",
|
|
1139
|
+
"enum": [
|
|
1140
|
+
"none",
|
|
1141
|
+
"outline",
|
|
1142
|
+
"double-line",
|
|
1143
|
+
"pattern"
|
|
1144
|
+
],
|
|
1145
|
+
"description": "Non-color semantic cue on roles whose family renderer exposes a cue projection."
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"roleStyle-any": {
|
|
1150
|
+
"type": "object",
|
|
1151
|
+
"additionalProperties": false,
|
|
1152
|
+
"maxProperties": 16,
|
|
1153
|
+
"properties": {
|
|
1154
|
+
"fontFamily": {
|
|
1155
|
+
"type": "string",
|
|
1156
|
+
"description": "Safe font family/stack for roles whose descriptor exposes family-specific typography.",
|
|
1157
|
+
"x-agentic-mermaid-runtime-validator": "safeCssFontFamily"
|
|
1158
|
+
},
|
|
1159
|
+
"fontSize": {
|
|
1160
|
+
"type": "number",
|
|
1161
|
+
"minimum": 1,
|
|
1162
|
+
"maximum": 256,
|
|
1163
|
+
"description": "Font size in SVG user units."
|
|
1164
|
+
},
|
|
1165
|
+
"fontWeight": {
|
|
1166
|
+
"type": "number",
|
|
1167
|
+
"minimum": 1,
|
|
1168
|
+
"maximum": 1000,
|
|
1169
|
+
"description": "CSS numeric font weight."
|
|
1170
|
+
},
|
|
1171
|
+
"letterSpacing": {
|
|
1172
|
+
"type": "number",
|
|
1173
|
+
"minimum": -2,
|
|
1174
|
+
"maximum": 4,
|
|
1175
|
+
"description": "Letter spacing in SVG user units."
|
|
1176
|
+
},
|
|
1177
|
+
"textTransform": {
|
|
1178
|
+
"type": "string",
|
|
1179
|
+
"enum": [
|
|
1180
|
+
"uppercase",
|
|
1181
|
+
"lowercase",
|
|
1182
|
+
"capitalize"
|
|
1183
|
+
],
|
|
1184
|
+
"description": "Text transformation."
|
|
1185
|
+
},
|
|
1186
|
+
"textColor": {
|
|
1187
|
+
"type": "string",
|
|
1188
|
+
"description": "Text paint.",
|
|
1189
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1190
|
+
},
|
|
1191
|
+
"paddingX": {
|
|
1192
|
+
"type": "number",
|
|
1193
|
+
"minimum": 0,
|
|
1194
|
+
"maximum": 256,
|
|
1195
|
+
"description": "Horizontal role padding."
|
|
1196
|
+
},
|
|
1197
|
+
"paddingY": {
|
|
1198
|
+
"type": "number",
|
|
1199
|
+
"minimum": 0,
|
|
1200
|
+
"maximum": 256,
|
|
1201
|
+
"description": "Vertical role padding."
|
|
1202
|
+
},
|
|
1203
|
+
"cornerRadius": {
|
|
1204
|
+
"type": "number",
|
|
1205
|
+
"minimum": 0,
|
|
1206
|
+
"maximum": 256,
|
|
1207
|
+
"description": "Applicable corner radius."
|
|
1208
|
+
},
|
|
1209
|
+
"lineWidth": {
|
|
1210
|
+
"type": "number",
|
|
1211
|
+
"exclusiveMinimum": 0,
|
|
1212
|
+
"maximum": 20,
|
|
1213
|
+
"description": "Border or connector width."
|
|
1214
|
+
},
|
|
1215
|
+
"bendRadius": {
|
|
1216
|
+
"type": "number",
|
|
1217
|
+
"minimum": 0,
|
|
1218
|
+
"maximum": 256,
|
|
1219
|
+
"description": "Applicable connector bend radius."
|
|
1220
|
+
},
|
|
1221
|
+
"fillColor": {
|
|
1222
|
+
"type": "string",
|
|
1223
|
+
"description": "Surface fill paint.",
|
|
1224
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1225
|
+
},
|
|
1226
|
+
"borderColor": {
|
|
1227
|
+
"type": "string",
|
|
1228
|
+
"description": "Border paint.",
|
|
1229
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1230
|
+
},
|
|
1231
|
+
"strokeColor": {
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"description": "Connector stroke paint.",
|
|
1234
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1235
|
+
},
|
|
1236
|
+
"headerFillColor": {
|
|
1237
|
+
"type": "string",
|
|
1238
|
+
"description": "Group header surface paint.",
|
|
1239
|
+
"x-agentic-mermaid-runtime-validator": "safeStylePaint"
|
|
1240
|
+
},
|
|
1241
|
+
"cue": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"enum": [
|
|
1244
|
+
"none",
|
|
1245
|
+
"outline",
|
|
1246
|
+
"double-line",
|
|
1247
|
+
"pattern"
|
|
1248
|
+
],
|
|
1249
|
+
"description": "Non-color semantic cue on roles whose family renderer exposes a cue projection."
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
61
1252
|
}
|
|
62
1253
|
}
|
|
63
1254
|
}
|