The original domain (`mermaid-js.github.io`) only redirects to the new domain (`mermaid.js.org`) from the root `/`. I've updated the link to point to the new domain directly.
- Updated the regex to allow either 'checkout' or 'switch'
2. Changes to gitGraphParser.spec.js
- Additional test coverage added for the changes made to the parser.
3. Changes to gitGraphParserV2.spec.js
- Additional test coverafe added for the changes made to the parser.
4. Changes to gitgraph.md
- Updated documentation to let users know that checkout/switch can be used interchangeably.
* develop:
Wait for image to be rendered
Fix flowchart-elk render test
chore: Add example page link in index
fix: ELK diagram remove re-parsing
Added linting
fixed title bounds calculation, removed extra title from merging issues
Centered Title function and changed rendering order for Elk flowchart to find Boundingbox
Fixed styling for lines for ELK flowchart
* 'develop' of https://github.com/mermaid-js/mermaid:
Fix flowchart-elk render test
chore: Add example page link in index
fix: ELK diagram remove re-parsing
Added linting
fixed title bounds calculation, removed extra title from merging issues
Centered Title function and changed rendering order for Elk flowchart to find Boundingbox
Fixed styling for lines for ELK flowchart
* develop: (21 commits)
Linting
chore: temp fix for eslint OOM
chore: Update error snapshots
Fix ESLint
chore: Prettier
chore: YOLO `pnpm --recursive update`
chore: Remove commitlint
Fix flowchart-elk render test
chore: Add example page link in index
chore: Remove cy.viewport
fix: Cypress test for Suppress Error
fix: Race condition when running suppressError test.
fix: Retain default behavior when rendering errors cases
chore: Add suppressErrorRendering to secure flags.
fix: Remove blank SVG
docs: Rebuild
Add test
Add test
chore: Add suppressErrorRendering to config
Throw error when detecting diagram type failed and `suppressErrorRendering` is set
...
* develop: (935 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
* develop: (517 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
* develop: (453 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
* master:
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
add latest blog posts
Ctrl/Cmd + Enter and a run button is added.
The feature was first implemented in https://github.com/mermaid-js/mermaid/pull/5330.
This is a simplified version without introducing additional dependencies.
Co-authored-by: Anton <m@antonz.org>
* master:
Update new diagram doc to reflect focus on Langium
docs(integrations): update link to Mermaid app for Slack
@mermaid-js/mermaid-zenuml v0.2.0
Draft release
v10.9.0
Add release version in docs
zenUML 0.2.0-rc.2
v10.9.0-rc.2
Bump @mermaid-js/mermaid-zenuml version to 0.2.0
Bump version
Fix store link
Since mermaid diagram creation is a perfact usecase for LLMs adding a section for LLM integration make sense. HueHive is a tool to create and visualize mermaid diagrams with the help of ChatGPT.
Please let me know if it is fine to add this or this should be added in some other section. Thanks.
PS: I am creater of HueHive diagrams tool.
* next: (100 commits)
Resolves E2E testing issues and issue #5343
Fix spelling
Fix community integrations
Fix docs
docs: Fix config
Update all minor dependencies
Amend docs to document gitgraph parallel commits
Fix lint
Use Yarn Add COREPACK_ENABLE_STRICT
Added link to Blazorade Mermaid to the community integrations page.
Bump node version
Add lcov to cspell
Correcting path to docker-entrypoint.sh
Update recommended Vitest extension
Replace mermaid-js.github.io links
Replace links to docs with links to webhelp
Link to contributing page on webhelp
Changes to timeline.md 1. Added colons to all 'NOTES' for consistency.
Changes to timeline.md 1. Updates the Wikipedia citation to include a link. 2. Removed periods from documentation sections to be consistent (some had periods, some didn't) 3. Added a space to a coding example for spacing consistency.
Replace version number placeholder
...
* develop: (99 commits)
Fix spelling
Fix community integrations
Fix docs
docs: Fix config
Update all minor dependencies
Amend docs to document gitgraph parallel commits
Fix lint
Use Yarn Add COREPACK_ENABLE_STRICT
Added link to Blazorade Mermaid to the community integrations page.
Bump node version
Add lcov to cspell
Correcting path to docker-entrypoint.sh
Update recommended Vitest extension
Replace mermaid-js.github.io links
Replace links to docs with links to webhelp
Link to contributing page on webhelp
Changes to timeline.md 1. Added colons to all 'NOTES' for consistency.
Changes to timeline.md 1. Updates the Wikipedia citation to include a link. 2. Removed periods from documentation sections to be consistent (some had periods, some didn't) 3. Added a space to a coding example for spacing consistency.
Replace version number placeholder
Fix link to Contributors section in README
...
The code setting the `ranksep` and `nodesep` to subgraphs was made cleaner and more legible while maintaining the intended functionality of subgraph spacing
Co-authored-by: Alois Klink <alois@aloisklink.com>
* 'add-pie-langium-parser' of github.com:Yokozuna59/mermaid: (48 commits)
make pie parser async
Changes to gantt.html 1. Added a Gantt diagram that demonstrates to users that hashtages and semicolons can be added to titles, sections, and task data. Changes to gantt.spec.js 1. Added unit tests to ensure that semicolons and hashtags didn't break the functionality of the gantt diagram when used in titles, sections or task data. Changes to /parser/gantt.spec.js 1. Added rendering tests to ensure that semicolons and hashtags in titles, sections, and task data didn't break the rendering of Gantt diagrams.
perf: prevent adding multiple DOMPurify hooks
Update docs
chore: Update tests
Fix types
refactor: Make parser.parse async
refactor: Support async parsers Add `Diagram.fromText`
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
Fix applitools
add sequenceDiagram link e2e test
fix sequence diagram popup
Changes to gantt.jison 1. Consistent spacing on line 30
Changes to gantt.jison 1. Removed typo
Changes to gnatt.jison 1. Removed the hash and semicolon symbols from the title regex to allow for their use. 2. Removed the hash and semicolon symbols from the section regex to allow for their use. 3. Removed the hash and semicolon symbols for the taskTxt regex to allow for their use. I did not remove the colon because the parser fails to recognize when the actual taskData begins if that distinctions isn't kept. 4. Removed the regex \#[^\n]* which skipped comments to fix some bugs with hash symbols in the taskTxt. I tested this changed by putting it back and using the comment to see if it was recognized as a comment, but I would receive a syntax error and the diagram would not be rendered. So, I think we can safely remove that line, BUT it would be best practice if someone else tested this change to ensure that this will not break anyone's Gantt diagrams.
...
* next: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...
* develop: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...
* next: (194 commits)
Use pixelmatch for image comparison
Run all tests
Fix lint
Update lockfile
E2E test
Use cache to store snapshots
chore(deps): update all patch dependencies
Change string concatenation to template literal
Revert "Revert 5041 feature/4935 subgraph title margin config option"
build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5
Draft release on master
docs: Add release version
Revert "fix: render the participants in same order as they are created"
Revert "Feature/4935 subgraph title margin config option"
Fix typo
Run dev docs without npx
Remove npx completely from run script
Update docs
Fix linters
Removed volta requirement, leave pnpm only
...
* develop: (50 commits)
Use pixelmatch for image comparison
Run all tests
Fix lint
Update lockfile
E2E test
Use cache to store snapshots
chore(deps): update all patch dependencies
Change string concatenation to template literal
Revert "Revert 5041 feature/4935 subgraph title margin config option"
build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5
Run dev docs without npx
Remove npx completely from run script
Update docs
Fix linters
Removed volta requirement, leave pnpm only
Fixed dead link
build
Update docs
Updated contributing docs after review, minor fixes
Updated gantt chart docs to show all config options
...
* develop: (62 commits)
Draft release on master
docs: Add release version
Revert "fix: render the participants in same order as they are created"
Revert "Feature/4935 subgraph title margin config option"
Fix typo
add inadvertent tracking removal
update announcement bar
Update integrations-community.md (Add Codemia to the list of productivity tools using Mermaid.)
v10.7.0
10.6.2-rc.3
docs: Remove broken integration
chore: Minor cleanup of imperativeState
chore(deps): update all minor dependencies
adds corresponding change in docs/ecosystem
Adds Unison programming language to community integrations list
update verbiage
update verbiage
add jetbrains blog post
additional updates
Fixed parser/tests
...
There was an issue with overriding the subgraphs with the main graphs direction which this commit fixes. It only overrides `rankdir` on the `setGraph` function so that the subgraph preserves it's `rankdir`. There is likely a better way of doing this by modifying the initialization of subgraph configuration to match the main graph when it comes to other elements in the JSON object which composes the graph label.
As we modify the codebase this added line can be deprecated once we add more modular control to subgraphs such as allowing custom spacing or configurations for them. As `rankdir` is the only thing one can set with the `direction` keyword that is the only variable being overwritten for now.
This commit resolves the issues with subgraph configuration, specifically for nodeSpacing and rankSpacing. This commit additionally adds an example graph to the `flowchart.html` to demonstrate this resolution. This commit resolves#3258
* develop: (70 commits)
build(deps-dev): bump vite from 4.4.9 to 4.4.12
Changes to .prettierignore 1. Added 'demos/dev/**' to be ignored by Prettier. 2. Added '!/demos/dev/example.html' so that Prettier ensures no one changes the example.html in a way that doesn't obey the Prettier code formatting rules.
build: use `tsx` instead of `ts-node-esm`
chore: Downgrade node to 18.18.2
fix: #5100 Add viewbox to sankey
chore(deps): update all minor dependencies
chore: Rename test
test: Add unit test for generic classname and namespace
fix: Check if parentCommit is provided
Split type from generic class name
Condition of Parent Id Without Merge Commit Added
Referenced the PmWiki's Cookbook recipe enabling MermaidJs schematics in wiki pages
test(e2e): fix pie chart E2E tests for PR #4288
Add dummy commit to trigger GH checks
chore: Revert unnecessary export
refactor: Remove unnecessary calculations
chore: Fix computeWidth function
chore: Cleanup setupGraphViewbox
Update docs
update mermaidAPI to cleanup the text before passing to getDiagramFromText
...
* next: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
* develop: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
* next: (193 commits)
Update all patch dependencies
Fix docs
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
update edge ids
draw top actors with lines first followed by messages
Bump GitHub workflow actions to latest versions
Update docs
Documentation: clarify sentence
Fix lint
Fix typo
fix typo
Add new Atlassian integrations
chore(deps): update all patch dependencies
Update demos/sequence.html
chore: release v10.6.1
fix
fix
fix: render the participants in same order as they are created
fix(flow): fix invalid ellipseText regex
...
* develop: (126 commits)
Update all patch dependencies
Fix docs
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
update edge ids
draw top actors with lines first followed by messages
Bump GitHub workflow actions to latest versions
Update docs
Documentation: clarify sentence
Fix lint
Fix typo
fix typo
Add new Atlassian integrations
chore(deps): update all patch dependencies
Update demos/sequence.html
chore: release v10.6.1
fix
fix
fix: render the participants in same order as they are created
fix(flow): fix invalid ellipseText regex
...
* develop: (154 commits)
chore(deps): update all patch dependencies
chore: release v10.6.1
fix(flow): fix invalid ellipseText regex
review fixes
Update XYChart's nav link in the docs template
add comment for ts ignore
move decodeEntities to utils
review fixes
chore(deps): update all minor dependencies
chore: Point to correct changelog
add spec
fix: getMessageAPI so it considers entity codes
chore(deps): update all patch dependencies
Update integrations-community.md
docs: upate the list of tools with native support of mermaid
Fix typo in build-docs.yml
Updated mermaid version
Limiting the number of edges that are allowed in the flowchart
Update README.md
Update README.md
...
* develop:
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix: #4818 support `getClasses` in external diagrams.
* develop:
Remove unnecessary tests
Remove optional chaining
refactor: Use `||` instead of `??`
core: Adapt changes from 3f7bafb2d7
Update cypress/helpers/util.js
chore: Add deprecation notices, improve types
chore: Cleanup gitGraph tests
Update README.md
refactor: Move setWrap to individual diagrams as necessary.
refactor: Remove directives from grammar
refactor: Update DBs to remove directive handling
refactor: Move directive processing before parsing
I refactored the code to improve its time complexity by removing unnecessary code and optimizing the existing code.
* develop:
Update flowchart.md (#4798)
Update flowchart.md (#4792)
chore: Update docs
Added missing integration tests and release version in docs.
chore: Fix warning formatting
docs: Disable showValues in sankey example
Added support for millisecond and second to gantt tickInterval
Use utf8 encoding in Jupyter example
* develop:
chore: Align with convention
add additional test case
added test case
add sanitize text
Update docs
modifications to generic parser
improvements to parseGenericTypes
Update packages/mermaid/src/diagrams/class/svgDraw.js
return comment
add tsdoc comments
update tests
apply suggesitons
Update packages/mermaid/src/diagrams/class/classTypes.ts
Update packages/mermaid/src/diagrams/class/classTypes.ts
update tests and db name
Fix tests
spec changes
update classes to handle , in generic
Update and add tests
Create new type for member handling
Currently (in Mermaid v10), pretty much all enum types in the
MermaidConfig have generic `string` or `number` fallbacks,
for backwards compatibility.
This commit drops this. The MermaidConfig TypeScript types now expects
a limited amount of values.
BREAKING-CHANGE: Remove `MermaidConfig` generic type fallbacks for
enum values.
* next: (70 commits)
chore: Add comment for `yy`.
chore: Increase heap size when building
chore: increase `test-util.ts` converage by returning `undefined`
chore: add `vitest` imports to `test-util.ts`
chore: run `pnpm lint:fix`
create `noErrorsOrAlternatives` parser helper function
chore: export `InfoModule` from `infoModule.ts`
docs: Fix link
Update docs
fix(pie): align slices and legend orders
Mermaid version v10.4.0
unique batches every time, if not repeated tests end up in the same batch
Added missed .md
Increase JS heap
More tests for redirects + prettier
Fixed redirects inside vitepress, extended tests
chore: Explain redirect.ts clearly
docs: Fix npmjs link
chore: Update editor.bash to build latest version
chore: Build after clone
...
* next:
chore: Increase heap size when building
fix(er): bug if relationship is declared first
test(er): add cypress test on entity name alias
feat(er): use square brackets to add aliases
docs(er): add release version for entity name aliases
feat(er): add entity name alias
* develop:
fix(er): bug if relationship is declared first
test(er): add cypress test on entity name alias
feat(er): use square brackets to add aliases
docs(er): add release version for entity name aliases
feat(er): add entity name alias
* develop:
Fixed docs according review
chore: Fix type imports
Fixed links
Split development documentation in several separate pages, fixes for the sidebar menu
* develop:
chore: Remove circular dependency
Update docs
docs: Add frontmatter config demos
docs: Add frontmatter config docs
fix: XSS vulnerability
chore: Minor typo fixes
chore: Add test with both frontmatter and directive
Update docs
feat: Add support for config in frontmatter
chore: Fix type in assignWithDepth
refactor: Move `sanitizeDirective` into `addDirective`
refactor: Rename and cleanup `directiveSanitizer`
* develop: (56 commits)
chore: Add comments on redirectMaps
remove `chart` from `pie.spec.ts` description
Update docs
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
use `DiagramStylesProvider` in `pieStyles.ts`
remove `setConfig` and `resetConfig` in pie
add `structuredClone` in pie `getConfig`
cleanAndMerge pieConfig
remove cleanClone
feat: Add cleanAndMerge and tests
chore: Rename utils.spec.ts
move db assignment from `beforeEach` to `beforeAll`
create `structuredCleanClone` helper function
add more types to pieRenderer
add `resetConfig` to `clear` in pieDb
rename `reset` to `resetConfig`
use `structedClone` in `pieDb`
remove `PieDiagramConfig` and import generated one
remove unnecessary lines in pie files
remove unused `HTML` import in pieRenderer
...
* develop:
Update all minor dependencies
Update all patch dependencies
make more `RectData` required and remove optional assignment
use lineBreakRegex in `svgDrawCommon`
fix svgDrawCommon import by adding `.js`
add types to `svgDrawCommon.ts`
convert `svgDrawCommon` to TS
* develop: (255 commits)
chore(deps): update all minor dependencies
chore: Run codecov based on E2E test status
change REAMDME.md coverage from coveralls into codecov
Add codecov.yaml
Upload E2E
set normal mode for vitest coverage
Fix path name
Add codecov to unit tests
Add codecov to E2E
chore: Add coverage scripts
chore: add excludes
chore: update deps
Merge coverages
Add coverage paths
Rebuild
chore: update pnpm
Add coverage for E2E tests
rename plugin variable into info in infoDetector.ts
remove cypress/platform/index.html
update pnpm-lock.yaml
...
# For PRs and MergeQueues, the target commit is used, and for push events to non-develop branches, github.event.previous is used if available. Otherwise, 'develop' is used.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.