Alois Klink
883d4dca9f
Merge commit from fork
...
fix: create CSS styles using the CSSOM
2026-05-07 21:26:17 +09:00
autofix-ci[bot]
8019a0a57b
[autofix.ci] apply automated fixes
2026-04-20 10:20:10 +00:00
Alois Klink
37ff937f1d
fix: create CSS styles using the CSSOM
...
Currently, we're creating CSS styles using strings, which isn't ideal,
since it can lead to CSS injections other other CSS bugs.
However, we can instead use Constructable Stylesheets and the CSSOM to
better construct a CSS stylesheet.
This new API scrubs invalid syntax from the CSS stylesheet and does
some normalization (e.g. removing unnecessary spaces).
[1]: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/replaceSync
See: https://web.dev/articles/constructable-stylesheets
2026-04-08 19:34:05 +09:00
Maddy Guthridge
01b85680c1
docs auto-gen
2026-04-08 03:55:10 +10:00
Ladislav Gazo
3bf1a68531
Merge branch 'develop' into feature/event-modeling-diagram
2026-04-01 19:37:16 +02:00
autofix-ci[bot]
e6f5e317db
[autofix.ci] apply automated fixes (attempt 2/3)
2026-03-29 10:44:12 +00:00
autofix-ci[bot]
916db68801
[autofix.ci] apply automated fixes
2026-03-29 03:38:02 -07:00
autofix-ci[bot]
2be4bf3348
[autofix.ci] apply automated fixes
2026-03-29 03:38:02 -07:00
Zainan Victor Zhou (MBP2023)
077957d2c4
feat(sankey): add Apple-style rendering with smart labels and custom node colors
...
- Add smart label positioning based on node layer relative to central node
- Add outlined label style (labelStyle: 'outlined') as new default
- Add nodeColors config option for custom node color mapping
- Add configurable nodeWidth and nodePadding options
- Update styles.js with new CSS for outlined labels
- Fix YAML frontmatter indentation in demos/sankey.html
- Add Cypress tests for new features
BREAKING CHANGE: labelStyle now defaults to 'outlined' instead of 'default'
2026-03-29 03:38:02 -07:00
omkarht
e9d4c110ff
Merge pull request #7501 from mermaid-js/feature/neo-look-base
...
feature: implement neo look and themes for mermaid diagrams
2026-03-25 21:17:01 +01:00
Ladislav Gazo
9bc9eb2a35
Merge branch 'develop' into feature/event-modeling-diagram
2026-03-22 17:35:54 +01:00
leentaylor
83064874d4
Merge branch 'develop' of github.com:lee-treehouse/mermaid into 1661_wardley-maps
...
# Conflicts:
# docs/config/setup/mermaid/interfaces/MermaidConfig.md
# packages/examples/src/index.ts
# packages/mermaid/src/config.type.ts
# packages/mermaid/src/diagram-api/diagram-orchestration.ts
# packages/mermaid/src/schemas/config.schema.yaml
# packages/parser/src/language/index.ts
# packages/parser/src/parse.ts
2026-03-14 13:37:31 +11:00
Lee Taylor
dbce824ff9
Merge branch 'develop' into 2645_add_tree_view_diagram_update
2026-03-13 07:44:26 +11:00
leentaylor
08db6517d0
Merge branch 'develop' of github.com:lee-treehouse/mermaid into 2645_add_tree_view_diagram_update
...
# Conflicts:
# packages/mermaid/src/docs/.vitepress/config.ts
2026-03-12 07:59:06 +11:00
Alex Turner
168348802a
Merge branch 'develop' into bug/5741_fix-duplicate-svg-element-ids
2026-03-09 16:37:42 -07:00
Ashish Jain
8e81b8b72b
merge v11.13.0 to develop
2026-03-09 14:27:57 +01:00
Claude
590ac4972a
docs: regenerate LayoutData docs for diagramId property
...
https://claude.ai/code/session_01SPyLYoNghEHAXG6a5Vtr2X
2026-03-08 16:37:10 +00:00
leentaylor
f57ac0d29e
update parser to require spaces around content
2026-03-07 14:32:22 +11:00
leentaylor
397e942c10
Merge branch 'develop' of github.com:lee-treehouse/mermaid into 2645_add_tree_view_diagram_update
...
# Conflicts:
# demos/index.html
# docs/config/setup/defaultConfig/variables/configKeys.md
# docs/config/setup/mermaid/interfaces/MermaidConfig.md
# packages/examples/src/index.ts
# packages/mermaid/src/docs/.vitepress/config.ts
2026-03-07 13:53:18 +11:00
Alex Turner
7731a336da
Merge branch 'develop' into bug/5741_fix-duplicate-svg-element-ids
2026-02-28 18:29:38 +00:00
darshanr0107
33c7c72064
Merge pull request #7276 from mermaid-js/markdown-specific-changes
...
Fix non-markdown labels in flowcharts being treated like markdown
2026-02-27 11:35:34 +01:00
autofix-ci[bot]
52dfde9b3f
[autofix.ci] apply automated fixes
2026-02-26 14:27:13 +00:00
Knut Sveidqvist
12f3afc386
Merge branch 'develop' into ishikawa-diagram
2026-02-26 15:21:48 +01:00
autofix-ci[bot]
79a199a686
[autofix.ci] apply automated fixes
2026-02-21 07:38:31 +00:00
TATSUNO “Taz” Yasuhiro
acce4db7a1
feat: Add Ishikawa diagram
2026-02-18 18:03:11 +09:00
leentaylor
c8c664e262
fix more typos introduced while addressing merge conflict
2026-02-16 11:46:45 +11:00
autofix-ci[bot]
ab1269612f
[autofix.ci] apply automated fixes
2026-02-10 23:37:28 +00:00
TATSUNO “Taz” Yasuhiro
1e74c0090d
Merge remote-tracking branch 'origin/develop' into 2583-venn
...
# Conflicts:
# docs/config/setup/mermaid/interfaces/MermaidConfig.md
2026-02-11 08:29:26 +09:00
autofix-ci[bot]
64833313be
[autofix.ci] apply automated fixes
2026-01-28 13:45:12 +00:00
autofix-ci[bot]
b11b63013a
[autofix.ci] apply automated fixes
2026-01-12 13:32:21 +00:00
darshanr0107
9745f325cb
Merge pull request #6995 from mermaid-js/deprecate-flowchart.htmlLabels
...
Deprecate flowchart-level htmlLabels config option
2026-01-12 00:58:59 -08:00
autofix-ci[bot]
0ac78ffff1
[autofix.ci] apply automated fixes
2026-01-11 14:12:59 +09:00
exoego
810e2f8e07
init venn diagram
2026-01-11 14:12:58 +09:00
tractorjuice
79179c9f27
Merge branch 'develop' into feature/1661_wardley-maps
2025-12-17 19:36:18 +02:00
autofix-ci[bot]
b33ce14932
[autofix.ci] apply automated fixes
2025-11-14 06:55:46 +00:00
tractorjuice and Claude
6c48706dc2
fix(wardley): Address PR review comments - add beta suffix and version tag
...
Changes requested by @sidharthv96:
- Add version tag to documentation (v<MERMAID_RELEASE_VERSION>+)
- Rename diagram type from 'wardley' to 'wardley-beta' for beta release
- Update all examples to use 'wardley-beta' syntax
Updated files:
- wardleyDetector.ts: Changed id and detector regex to 'wardley-beta'
- wardleyDb.ts: Updated config access to use 'wardley-beta'
- wardleyRenderer.ts: Updated config access to use 'wardley-beta'
- config.schema.yaml: Renamed config key from 'wardley' to 'wardley-beta'
- wardley.md: Added version tag and updated all code examples
- wardley.ts: Updated 4 examples to use 'wardley-beta'
- wardley.spec.js: Updated 6 E2E tests to use 'wardley-beta'
- demos/wardley.html: Updated 6 demo examples to use 'wardley-beta'
- Changeset: Updated description to indicate beta status
Note: Parser refactoring to use Jison/Langium will be addressed in a follow-up commit.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-13 08:29:21 +00:00
tractorjuice and Claude
9cd687a7a8
feat(wardley): Add Wardley Maps diagram type
...
Complete implementation of Wardley Maps as a new diagram type for Mermaid.
Features:
- Component positioning with [visibility, evolution] OWM coordinates
- Anchors for users/customers
- Multiple link types (→, +>, +<, +<>, labeled)
- Evolution arrows and trend indicators
- Custom evolution stages with dual labels and custom widths
- Pipeline components with visibility inheritance
- Annotations, notes, and visual elements
- Source strategy markers (build, buy, outsource, market)
- Inertia indicators
- Theme integration
Implementation includes:
- Parser supporting OnlineWardleyMaps (OWM) syntax
- D3.js-based SVG renderer
- Unit tests (7 tests covering parser functionality)
- E2E tests (12 comprehensive visual regression tests)
- Complete documentation with examples
- Configuration schema
Resolves #1661
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-11 04:49:38 +00:00
shubhamparikh2704
ca5b370ffb
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into renovate/patch-all-patch
2025-09-15 14:32:02 +05:30
Shubham P
cf08ba0ef8
Merge branch 'develop' into renovate/patch-all-patch
2025-09-10 21:03:45 +05:30
Knut Sveidqvist
f759f5dcf7
Merge branch 'develop' into mindmaps-and-elk-updates
2025-09-10 15:59:19 +02:00
autofix-ci[bot]
b80ea26a2b
[autofix.ci] apply automated fixes
2025-09-08 08:35:29 +00:00
autofix-ci[bot]
e7811886c3
[autofix.ci] apply automated fixes
2025-09-08 01:00:25 +00:00
darshanr0107
164e44c3d9
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into mindmaps-and-elk-updates
2025-09-04 13:46:33 +05:30
autofix-ci[bot]
73115cb416
[autofix.ci] apply automated fixes
2025-09-03 10:51:28 +00:00
darshanr0107
e1017266ac
Merge branch 'develop' into knsv/mindmap-refactoring
2025-09-02 20:09:55 +05:30
darshanr0107
494c7294cb
chore: address review comments related to documentation
...
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com >
2025-09-02 15:13:45 +05:30
autofix-ci[bot]
0ed31bfa2c
[autofix.ci] apply automated fixes
2025-08-29 11:09:51 +00:00
autofix-ci[bot]
7e96c89be5
[autofix.ci] apply automated fixes
2025-08-29 09:30:28 +00:00
darshanr0107
defc922acd
Merge branch 'knsv/mindmap-refactoring' of https://github.com/mermaid-js/mermaid into knsv/mindmap-refactoring
2025-08-29 13:57:49 +05:30
darshanr0107
869709a75f
docs: updated tidy-tree docs
...
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com >
2025-08-28 19:36:31 +05:30