mirror of
https://github.com/mermaid-js/mermaid.git
synced 2026-05-23 20:10:38 +00:00
0323b90522
Aligns Cynefin with the radar diagram convention so that the diagram's internal identity matches the rest of the codebase. Previously cynefin diverged: the registered detector id and config key were 'cynefin-beta', which forced bracket-access (DEFAULT_CONFIG['cynefin-beta']) — the only such case in defaultConfig.ts. Radar by contrast uses id 'radar' / config key 'radar' with the '-beta' marker living only in the syntax keyword. Changes: - Detector id: 'cynefin-beta' -> 'cynefin' - Config schema key (cynefin-beta -> cynefin) in config.schema.yaml, defaultConfig.ts, .build/jsonSchema.ts, and the regenerated config.type.ts - Example id back to 'cynefin' (matches the registered diagram id) - Test/spec config-object keys updated (multi-diagram uniqueness spec, cypress cynefin spec) - Docs source updates for the config-key references; generated docs regenerated via pnpm --filter mermaid docs:build Unchanged: the syntax keyword 'cynefin-beta' remains the trigger token in the Langium grammar, parser tokenBuilder, detector regex, and all diagram code examples — exactly mirroring radar-beta.