Sidharth Vinod
7f4368415d
chore: Add eslint-unicorn & fix
2022-11-23 01:05:08 +05:30
Per Brolin
9eb506f6c5
Revert "Added pie"
...
This reverts commit 1d9fefe7ac65990e4dd06a7e0e29976a873db844.
2022-11-22 10:04:28 +01:00
Per Brolin
fdbc4ce0ed
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2022-11-21 14:45:25 +01:00
Knut Sveidqvist
29a02d1ab5
Merge pull request #3809 from aloisklink/use-dagre-d3-es
...
Replace `dagre`/`dagre-d3` with `dagre-d3-es`
2022-11-21 13:31:35 +01:00
Sidharth Vinod
b04517b146
chore: Cleanup
2022-11-20 12:00:34 +05:30
Sidharth Vinod
024ee4213f
Merge branch 'develop' into sidv/splitDiagrams
...
* develop: (233 commits)
style(docs): use `github-dark` hightlight theme
refactor(docs): use default vitepress highlighter
fix: Move redirection to router
ci(renovate): disable pinning dependencies
Revert "chore(deps): pin dependencies"
change shiki getHighlighter import
create separate spec for stateRenderer-v2
diagramStates should not be global; pass it into functions; minor comment fixes
diagramClasses no longer needs to be cached; mermaidAPI no longer calls it repeatedly
(minor) import expectTypeOf in spec
(minor) fix JSdoc tag
+ spec stateRenderer-v2.js getClasses() to verify it returns a {}
(minor) fix JSdoc types in comments
(minor) add comments, remove duplicated line
chore: Add master to link checker
chore: Add docs to redirect.ts
stateDB classes must be a {} not []
feat: Redirect old documentation links.
add stateDiagram-v2 to list of graphs with classDefs
fix(docs): ClassDiagram table
...
2022-11-20 11:58:55 +05:30
Mason Malone
a11ab3d5ea
Disallow leading whitespace before delimiter
2022-11-19 12:52:49 -08:00
Sidharth Vinod
2e028ce36d
chore: Unify registerLazyLoadedDiagrams
2022-11-20 00:38:35 +05:30
Mason Malone
70f024735b
Add title support using YAML frontmatter
2022-11-18 20:42:54 -08:00
Alois Klink
537a627b75
test(e2e): test for mindmap before snapshot
...
Sometimes, the mindmap e2e tests take a snapshot when the mindmap
SVG has been created, but hasn't yet been fully rendered.
This adds a quick check for a mindmap section root, so that the
snapshot is only taken after the mindmap diagram has started
rendering.
I was also running into JSDoc ESLint warnings, so I moved the file
into a TypeScript file to fix those warnings.
2022-11-18 18:31:14 +00:00
Alois Klink
57edcfe87d
test(e2e): remove unused mermaid.spec.js file
...
All tests have been moved to `mindmap.spec.js` in a previous commit.
2022-11-18 18:07:40 +00:00
Alois Klink
b9dcdb00a5
test(e2e): move mindmap tests to mindmap.spec.js
...
Currently, we have mindmap tests in the
cypress/integration/rendering/mermaid.spec.js which is a bit
odd. They should probably all be in the mindmap.spec.js file.
2022-11-18 17:58:17 +00:00
Ashley Engelund (weedySeaDragon @ github)
0adc6a6112
remove a11y from individual diagrams; now happens in mermaidAPI render
2022-11-17 12:28:11 -08:00
Ashley Engelund (weedySeaDragon @ github)
03a11e103e
(minor) fix typo
2022-11-17 12:19:31 -08:00
Sidharth Vinod
beab2278d8
feat: Async mermaid docs
2022-11-14 22:06:26 +05:30
Per Brolin
51a84eeb90
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2022-11-14 16:34:57 +01:00
Sidharth Vinod
a83f88bdf1
chore: Merge master to develop
2022-11-10 13:51:53 +05:30
Sidharth Vinod
c7f7ff39ce
fix: Import path in viewer.js
2022-11-09 00:43:19 +05:30
Sidharth Vinod
1b2dce99c9
Merge branch 'release/9.2.1' of https://github.com/mermaid-js/mermaid into sidv/fixLL
...
* 'release/9.2.1' of https://github.com/mermaid-js/mermaid :
Fixing applitools batches
2022-11-08 20:15:13 +05:30
Knut Sveidqvist
ba7f83019f
Fixing applitools batches
2022-11-08 15:25:05 +01:00
Sidharth Vinod
6d2552ea6e
fix: Filenames
2022-11-08 19:26:02 +05:30
Sidharth Vinod
20b4358c0e
fix: Make options in registerExternalDiagrams optional
2022-11-08 19:21:49 +05:30
Sidharth Vinod
aab8f9273f
Merge branch 'feat/3701-expose-registerDiagram' into sidv/fixLL
...
* feat/3701-expose-registerDiagram:
feat: add `mermaidAPI.registerDiagram()`
refactor(mermaid): remove registerDiagram cb func
fix(mermaid): fix DiagramDefinition types
2022-11-08 13:50:54 +05:30
Knut Sveidqvist
357a928cce
Fixing applitools batches
2022-11-04 13:05:46 +01:00
Per Brolin
1d9fefe7ac
Added pie
2022-11-04 12:44:13 +01:00
Knut Sveidqvist
4c779beda9
Merge pull request #3729 from DarkNami/feature/1598_add_tick_interval
...
feat(gantt): Add option 'tickInterval' for custom tick interval
2022-11-01 13:50:38 +01:00
DarkNami
3166f689f9
feat(gantt): Add option 'tickInterval' for custom tick interval
...
See issue #1598
2022-10-27 16:47:42 +08:00
Ashley Engelund (weedySeaDragon @ github)
599d035daf
merge MERMAID/develop into branch
2022-10-25 07:42:57 -07:00
Knut Sveidqvist
3dca7d10d5
Merge pull request #3668 from mermaid-js/3659_height_handling
...
#3659 Adding height when not using maxWidth
2022-10-25 14:48:50 +02:00
Knut Sveidqvist
f4bb978a87
Merge pull request #3649 from DKurilo/feat/3247-statements-aliases
...
add statement aliases for ER diagram
2022-10-25 14:46:29 +02:00
Knut Sveidqvist
27a68819bc
Merge pull request #3647 from DKurilo/feat/1414-notes-to-class-diagram
...
add the way to add notes to class diagram
2022-10-25 14:45:03 +02:00
Alois Klink
f41e34e61a
feat: add mermaidAPI.registerDiagram()
...
Exposes the registerDiagram() function publically as
`mermaid.mermaidAPI.registerDiagram` so that users can add their
own diagrams at bundle-time.
This is instead of using the lazyLoadedDiagrams config setting.
2022-10-23 16:53:25 +01:00
Jeroen Ekkelkamp
0c4edd332c
Ran linter (npm run lint:fix)
2022-10-19 20:06:54 +02:00
Knut Sveidqvist
904c011baf
Merge remote-tracking branch 'origin/develop' into develop
2022-10-19 14:33:55 +02:00
Knut Sveidqvist
352dd5dcf7
testcode
2022-10-19 14:32:28 +02:00
Santosh Viswanatham
c71b6e31f7
Merge branch 'develop' into feat/3601-cspell-configuration
2022-10-18 21:02:38 +05:30
Dima Kurilo
20751a6496
fix cypress tests for erDiagram, add eslint-plugin-no-only-tests plugin because of this comment: https://github.com/mermaid-js/mermaid/pull/3647#issuecomment-1281163858
2022-10-17 13:20:17 -04:00
Dima Kurilo
75e11b1fde
add basic render (cypress) test for classDiagram-v2 too
2022-10-17 12:33:23 -04:00
Dima Kurilo
cead1f36f4
add basic render (cypress test for notes
2022-10-17 12:13:22 -04:00
Dima Kurilo
3108e896b6
add renedering (cypress) tests
2022-10-17 12:03:51 -04:00
Alois Klink
989d716c36
style: fix @cspell/eslint warnings
...
Ignores some names of contributors, and adjusts some capitilization
spacing to fix all cspell warnings.
2022-10-16 10:23:23 +01:00
Santosh Viswanatham
1f642ca9b6
Merge branch 'develop' into feat/3601-cspell-configuration
2022-10-15 19:48:08 +05:30
devcer
478c387491
added words to cspell ignore words list, removed mywords.txt
2022-10-15 19:43:07 +05:30
Knut Sveidqvist
4be66554b3
#3659 Adding height when not using maxWidth
2022-10-13 14:26:05 +02:00
Ashley Engelund (weedySeaDragon @ github)
d1f3b889d6
add cypress tests for classDefs and applying classes to states
2022-10-11 08:33:43 -07:00
Knut Sveidqvist
bc5ef5fb7d
Fix for async issue in parse, adding parseAsync
2022-10-11 11:20:34 +02:00
Sidharth Vinod
23e590e09b
Revert "fix(test): Rerender"
...
This reverts commit a017ffc3c947084d2977a12aa75c831574ed19b9.
2022-10-10 22:04:33 +08:00
Sidharth Vinod
60e4585e20
Revert "fix: use async in render-after-error"
...
This reverts commit d59f8780208e82e0f7b55f751ef6d148a4cdfe44.
2022-10-10 22:04:05 +08:00
Sidharth Vinod
ba436cc37a
fix: Tests
2022-10-10 21:57:22 +08:00
Knut Sveidqvist
e876c35ef9
Merge pull request #3591 from mermaid-js/sidv/fixDetectDiagram
...
fix Detect diagram fallback
2022-10-10 13:43:41 +02:00