Sidharth Vinod
5dc3850c52
Merge branch 'sidv/splitELK' into sidv/priorityToDiagrams
...
* sidv/splitELK:
5043 Move ELK to standalone package
2023-11-20 12:08:17 +05:30
Sidharth Vinod
927217d77c
5043 Register internal diagrams before external
2023-11-19 08:35:05 +05:30
Sidharth Vinod
0fec0ef624
5043 Move ELK to standalone package
2023-11-19 00:44:44 +05:30
Sidharth Vinod
b5f3cdc0b0
feat: 5043 Add priority support for registered diagrams
...
Allows external diagrams to override internal diagrams, if necessary.
This will help move ELK to a different package, without completely breaking rendering, by falling back to dagre, and supporting ELK if it's registered as an external diagram.
2023-11-18 21:12:30 +05:30
Sidharth Vinod
510549f365
Merge branch 'develop' into next
...
* develop:
fix text-decoration for abstract attibutes
ci(pr-labeler): add required `template` option
ci(pr-labeler): replace TimonVS/pr-labeler-action
style(pr-labeler): format .github/pr-labeler.yml
docs(ci/pr-labeler): warn about security issues
ci(release-draft): handle new release-drafter name
ci(release-drafter): remove unused `branch` config
ci(pr-labeler): limit GITHUB_TOKEN permissions
ci(release-draft): limit GITHUB_TOKEN permissions
2023-11-15 09:10:13 +05:30
Sidharth Vinod
e8ee5f548f
Merge pull request #4868 from mermaid-js/other/remove-pr-labeler-action
...
Use `release-drafter/release-drafter` GitHub Action to label our PRs
2023-11-15 08:00:51 +05:30
Sidharth Vinod
862d20ce9d
Merge branch 'develop' into other/remove-pr-labeler-action
...
* develop: (164 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
...
2023-11-15 07:58:48 +05:30
Alois Klink
c56025ec3b
Merge pull request #5013 from SteffenLm/bug/5009_static_class_attribute_not_rendered
...
Fix - static class attributes are not rendered underlined
2023-11-14 09:44:35 +00:00
Sidharth Vinod
6ce543e118
Merge branch 'develop' into next
...
* 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
...
2023-11-14 11:20:27 +05:30
Sidharth Vinod
0c0f7a739e
Merge pull request #4934 from RounakJoshi09/bug/#3251_linkStyle-can't-specify-ids
...
bug/#3251_linkStyle-can't-specify-ids Fixed
2023-11-14 05:38:20 +00:00
Sidharth Vinod
33e94d3f35
Merge pull request #4961 from claesgill/upd_readme_toc
...
Updated README with expandable table of content.
2023-11-14 05:36:06 +00:00
Sidharth Vinod
5fdbf5d891
Merge pull request #5017 from ad1992/bug/4946-fix-svg-order-sequence-participant
...
fix: render the participants in same order as they are created
2023-11-14 05:29:35 +00:00
Sidharth Vinod
6d0d8ac8e6
Merge pull request #5033 from mermaid-js/renovate/patch-all-patch
...
Update all patch dependencies (patch)
2023-11-14 05:29:17 +00:00
renovate[bot]
adff22c1e2
Update all patch dependencies
2023-11-13 17:15:43 +00:00
Sidharth Vinod
aa5d586bd6
Fix docs
2023-11-09 23:51:12 +05:30
Sidharth Vinod
b12b8a9278
Merge pull request #4952 from ajdamico/patch-1
...
add links to make it easier
2023-11-09 23:46:24 +05:30
Sidharth Vinod
3c13386e5d
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
2023-11-09 23:44:35 +05:30
Sidharth Vinod
a177141962
Merge pull request #5028 from mermaid-js/3952-lexical-ids
...
3952 lexical ids
2023-11-09 18:04:38 +00:00
Sidharth Vinod
92f1644550
Merge pull request #5025 from deining/clarify-docu
...
Documentation: clarify sentence
2023-11-09 23:35:06 +05:30
Justin Greywolf
07dcb64b22
Merge branch 'develop' into 3952-lexical-ids
2023-11-09 08:05:25 -08:00
Justin Greywolf
0f2b941e2d
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-11-09 08:05:09 -08:00
Sidharth Vinod
c89557d85c
Merge pull request #5026 from deining/bump-gitHub-workflows
...
Bump GitHub workflow actions to latest versions
2023-11-09 15:36:54 +00:00
Justin Greywolf
e8ad72a980
Merge branch 'develop' into 3952-lexical-ids
2023-11-09 07:03:40 -08:00
Justin Greywolf
a8fe640546
update edge ids
2023-11-09 06:57:51 -08:00
Aakansha Doshi
01bbcc597a
draw top actors with lines first followed by messages
2023-11-09 17:52:00 +05:30
Andreas Deininger
6fb5641afc
Bump GitHub workflow actions to latest versions
2023-11-09 12:56:57 +01:00
deining
fe32bcbf7c
Update docs
2023-11-09 11:55:19 +00:00
Andreas Deininger
f47e920a97
Documentation: clarify sentence
2023-11-09 12:50:01 +01:00
Sidharth Vinod
1571b25d29
Merge pull request #4958 from csholmq/fix/tooltip
...
fix(tooltip): remove redundant scroll offset
2023-11-09 09:01:19 +00:00
Sidharth Vinod
4a92fc5c92
Fix lint
2023-11-09 14:20:06 +05:30
Sidharth Vinod
8d6317b49a
Merge branch 'develop' into pr/csholmq/4958
...
* develop: (21 commits)
Fix typo
fix typo
Add new Atlassian integrations
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
Update index.md
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
Update classDiagram.md
Chore: Typo fixed in multiple files
feat(gantt): update styles
docs(integrations): add Mermaid for Slack
...
2023-11-09 14:19:28 +05:30
Sidharth Vinod
ee49c4b660
Merge pull request #4933 from REVERB283/bug/4716_fix_target_blank_getting_sanitized
...
fix: target blank removed from anchor tag
2023-11-09 08:46:33 +00:00
Sidharth Vinod
72038a68a9
Fix typo
2023-11-09 14:06:58 +05:30
Sidharth Vinod
051260e9a8
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid :
docs: fixed typo
2023-11-09 14:04:33 +05:30
Sidharth Vinod
3cf0a2b290
Merge pull request #4893 from 0xflotus/patch-1
...
docs: fixed typo
2023-11-09 14:04:17 +05:30
Sidharth Vinod
adfb60e045
fix typo
2023-11-09 14:03:38 +05:30
Sidharth Vinod
ac595eb96c
Merge pull request #4947 from SusheelThapa/patch
...
Chore: Typo fixed in multiple files
2023-11-09 14:03:05 +05:30
Sidharth Vinod
79bae62ce0
Merge pull request #4973 from SahilNagpure07/patch-1
...
docs: Update classDiagram.md
2023-11-09 13:57:36 +05:30
Sidharth Vinod
3038ce5864
Merge pull request #5021 from nashtechlabs/docs/patch-1
...
Add new Atlassian integrations
2023-11-09 13:56:19 +05:30
Sidharth Vinod
c8a826dfce
Merge pull request #5012 from StefonSimmons/patch-1
...
Update index.md
2023-11-09 13:51:27 +05:30
nashtechlabs
fadae38bec
Merge branch 'develop' into docs/patch-1
2023-11-09 05:34:57 +07:00
Sidharth Vinod
d1fba9c567
Merge pull request #4824 from JackuB/patch-1
...
Docs: add Mermaid for Slack integration
2023-11-08 20:58:40 +00:00
Sidharth Vinod
c2e26baf4d
Merge pull request #4930 from Mister-Hope/patch-2
...
feat(gantt): update styles
2023-11-08 20:42:53 +00:00
nashtechlabs
f6b1e049f1
Merge branch 'develop' into docs/patch-1
2023-11-08 15:56:22 +07:00
Alois Klink
71478f5a64
Merge pull request #5014 from Abrifq/patch-2
...
Update XYChart's nav link in the docs template
2023-11-08 08:22:30 +00:00
dev1
c9ace33cf1
Add new Atlassian integrations
2023-11-08 14:39:06 +07:00
Sidharth Vinod
30646d80f1
Merge pull request #5015 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-11-07 07:23:10 +00:00
renovate[bot]
6e74e91b5d
chore(deps): update all patch dependencies
2023-11-07 05:11:34 +00:00
Sidharth Vinod
eb4bd314b6
Merge pull request #5002 from ad1992/bug/4983-fix-getMessageAPI
...
fix: getMessageAPI so it considers entity codes
2023-11-07 05:04:53 +00:00
Alois Klink
7a3ce3e337
Merge pull request #5018 from mermaid-js/master
...
Sync `master` branch to `develop`
2023-11-06 14:48:55 +00:00
Alois Klink
d1045ed644
Merge remote-tracking branch 'origin/release/10.6.1'
2023-11-06 14:29:58 +00:00
Aakansha Doshi
396ea3cec2
Update demos/sequence.html
2023-11-06 19:55:53 +05:30
Aakansha Doshi
51d076a83b
Merge branch 'develop' into bug/4946-fix-svg-order-sequence-participant
2023-11-06 19:54:32 +05:30
Alois Klink
65daab2aaf
chore: release v10.6.1
...
Fixes
=====
- Flowchart: Fix a freeze when using a `(` character in an ellipse node
2023-11-06 13:57:01 +00:00
Aakansha Doshi
dff8b783b8
fix
2023-11-06 19:02:10 +05:30
Aakansha Doshi
78c1a3d980
fix
2023-11-06 18:57:47 +05:30
Aakansha Doshi
23cbf50413
fix: render the participants in same order as they are created
2023-11-06 18:47:38 +05:30
Knut Sveidqvist
7c7f3dd8be
Merge pull request #5016 from aloisklink/fix/4964-fix-invalid-ellipseText-regex
...
fix(flow): fix invalid ellipseText regex
2023-11-06 11:16:44 +00:00
Alois Klink
172d90e731
fix(flow): fix invalid ellipseText regex
...
This invalid regex was causing Mermaid to freeze.
2023-11-06 10:08:12 +00:00
Aakansha Doshi
dff13439f6
review fixes
2023-11-06 12:17:43 +05:30
Arda Aydın
b61ea4b8aa
Update XYChart's nav link in the docs template
...
The site gives 404 with xychart but navigates correctly with xyChart
2023-11-05 22:35:36 +03:00
SteffenLm
b5fd8fb7c1
fix text-decoration for abstract attibutes
2023-11-03 20:55:42 +01:00
StefonSimmons
4ba3e2cff3
Update index.md
...
fix typo
2023-11-03 15:51:33 -04:00
Aakansha Doshi
a818f3e3ae
add comment for ts ignore
2023-11-03 13:31:21 +05:30
Aakansha Doshi
58bad981be
move decodeEntities to utils
2023-11-03 13:25:26 +05:30
Aakansha Doshi
6a5b7c40bd
Merge branch 'develop' into bug/4983-fix-getMessageAPI
2023-11-03 13:18:38 +05:30
Aakansha Doshi
6e6e92a1d1
review fixes
2023-11-03 13:16:30 +05:30
Sidharth Vinod
f5bd1e0809
Merge pull request #4997 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-11-02 11:05:01 +00:00
renovate[bot]
0d4faef758
chore(deps): update all minor dependencies
2023-11-01 19:42:28 +00:00
Sidharth Vinod
0c5cf72235
chore: Point to correct changelog
2023-11-01 20:18:49 +05:30
Aakansha Doshi
fff25e7e2c
add spec
2023-10-31 19:39:43 +05:30
Aakansha Doshi
2a8323f951
Merge branch 'develop' into bug/4983-fix-getMessageAPI
2023-10-31 18:35:25 +05:30
Aakansha Doshi
390e22cc0b
fix: getMessageAPI so it considers entity codes
2023-10-31 18:28:45 +05:30
Sebastian Holmqvist
a3ee21d7fc
fix(tooltip): change position of tooltip to not cover node
...
Position the tooltip centered, just below the node being hovered.
Update packages/mermaid/src/diagrams/flowchart/flowDb.js
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-10-31 12:51:47 +01:00
Sebastian Holmqvist
8f2a5064cb
fix(tooltip): remove redundant scroll offset
...
window.scrollY is already account for which means document.body.scrollTop incorrectly offsets the tooltip vertically.
The same is not true for horizontal position.
2023-10-31 08:38:19 +01:00
Sidharth Vinod
77667b94d3
Merge pull request #4975 from mermaid-js/add-docusaurus
...
Docs: add Docusaurus to "Integrations - Community" page
2023-10-31 06:42:09 +00:00
Sidharth Vinod
b85a48f7f7
Merge pull request #4976 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-10-31 06:40:19 +00:00
Sidharth Vinod
34f1db399f
Merge pull request #4979 from karthxk07/develop
...
Update README.md
2023-10-31 06:40:05 +00:00
renovate[bot]
e8a04faa36
chore(deps): update all patch dependencies
2023-10-31 06:13:41 +00:00
Sidharth Vinod
d714ecb4d7
Merge pull request #4994 from alex-titarenko/docs/add-noteshub-tool
...
docs: Add NotesHub to integrations-community page
2023-10-31 06:06:59 +00:00
Sidharth Vinod
54ca3e789f
Merge pull request #4991 from sadikkuzu/patch-1
...
Fix typo in build-docs.yml
2023-10-31 06:03:26 +00:00
Alex Titarenko
cb06962c85
Update integrations-community.md
2023-10-27 20:27:16 -07:00
Alex Titarenko
e98aa55577
docs: upate the list of tools with native support of mermaid
2023-10-27 18:58:30 -07:00
SADIK KUZU
672a0edc59
Fix typo in build-docs.yml
2023-10-27 12:22:14 +03:00
Harshit Anand | Frontend Developer | ReactJS
3394541b41
Merge branch 'develop' into bug/4716_fix_target_blank_getting_sanitized
2023-10-26 14:57:15 +05:30
Harshit Anand
54ab3fc3b2
fix: added an e2e test case for classdiagram with anchor tag
2023-10-26 14:55:04 +05:30
Sahil Nagpure
36a727d44e
Merge branch 'develop' into patch-1
2023-10-26 11:44:46 +05:30
Harshit Anand
06d2ba8398
fix: added two unit tests to check for the secured anchor tag
2023-10-25 21:17:53 +05:30
Knut Sveidqvist
5f117fc2b2
Merge branch 'master' into develop
2023-10-25 13:36:10 +02:00
Knut Sveidqvist
d7ec9e7b0d
Merge branch 'release/10.6.0'
2023-10-25 13:35:58 +02:00
Knut Sveidqvist
29942c04dc
Updated mermaid version
2023-10-25 11:07:12 +02:00
Knut Sveidqvist
fc28c1da63
Limiting the number of edges that are allowed in the flowchart
2023-10-25 11:06:37 +02:00
Karthik
ff4d68fd55
Update README.md
2023-10-25 14:11:38 +05:30
Sahil Nagpure
9637b0c187
Merge branch 'develop' into patch-1
2023-10-25 12:24:03 +05:30
Harshit Anand
7960f94eba
fix: shifted dompurify.addhook functions inside removescript
2023-10-23 16:09:51 +05:30
Harshit Anand
3f486ac0e1
Merge branch 'bug/4716_fix_target_blank_getting_sanitized' of https://github.com/REVERB283/mermaid into bug/4716_fix_target_blank_getting_sanitized
2023-10-23 12:25:53 +05:30
Harshit Anand
b36cdaceca
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into bug/4716_fix_target_blank_getting_sanitized
2023-10-23 12:24:22 +05:30
Harshit Anand
3b8c48dd26
fix: added type Element to the node used in callback in the dompurify.addhook
2023-10-23 12:23:08 +05:30
Harshit Anand
af73818c90
Merge branch 'bug/4716_fix_target_blank_getting_sanitized' of https://github.com/REVERB283/mermaid into bug/4716_fix_target_blank_getting_sanitized
2023-10-23 12:08:09 +05:30
Harshit Anand | Frontend Developer | ReactJS
77e700832f
Merge branch 'develop' into bug/4716_fix_target_blank_getting_sanitized
2023-10-23 12:04:53 +05:30
Harshit Anand
111e067df5
fix: added type Element to the node used in callback in the addhook function
2023-10-23 12:03:57 +05:30
Karthik
880d0ebb50
Update README.md
2023-10-23 11:38:52 +05:30
huynhicode
b268bd21e1
Update docs
2023-10-22 21:23:47 +00:00
steph
bc247b1d46
add docusaurus to community integrations
2023-10-22 14:18:41 -07:00
Alois Klink
3957575b6e
Merge pull request #4970 from remcohaszing/rename-rehype-mermaid
...
Replace rehype-mermaidjs with rehype-mermaid
2023-10-22 20:05:10 +00:00
Alois Klink
9daed6ba27
Merge pull request #4951 from mermaid-js/dependabot/npm_and_yarn/babel/traverse-7.23.2
...
Bump @babel/traverse from 7.22.10 to 7.23.2
2023-10-22 20:00:19 +00:00
Sahil Nagpure
f31cddee0c
Update classDiagram.md
...
Fixed typo.
2023-10-22 12:27:55 +05:30
Nikolay Rozhkov
b232975064
Merge branch 'develop' into bug/4716_fix_target_blank_getting_sanitized
2023-10-21 01:46:21 +03:00
Remco Haszing
ab9b9abdf9
Replace rehype-mermaidjs with rehype-mermaid
...
The package was renamed.
2023-10-20 16:55:01 +02:00
Knut Sveidqvist
d32c18a43c
Merge branch 'master' into develop
2023-10-20 14:33:07 +02:00
Knut Sveidqvist
35b364c4ea
Merge branch 'release/10.5.1'
2023-10-20 14:32:32 +02:00
Knut Sveidqvist
b70959daa7
Version 10.5.1
2023-10-20 14:30:52 +02:00
Per Brolin
aaf0b474d4
Increased version to 10.5.1
2023-10-20 14:18:07 +02:00
Knut Sveidqvist
61bc293a95
#4967 Reverting optimimization that breaks subgraphs
2023-10-20 11:12:56 +02:00
Claes Gill
3389ecdfea
Updated README with expandable table of content.
2023-10-19 22:48:49 +02:00
Susheel Thapa
99a79e15f3
Merge branch 'develop' into patch
2023-10-17 20:47:29 +05:45
Anthony Damico
31ec3d1496
Update questions-and-suggestions.md
2023-10-17 10:30:29 -04:00
dependabot[bot]
0e328823b9
Bump @babel/traverse from 7.22.10 to 7.23.2
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-17 11:08:38 +00:00
Sidharth Vinod
33a5fc459d
Merge pull request #4945 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-10-17 10:56:23 +00:00
renovate[bot]
e4350f80fe
chore(deps): update all patch dependencies
2023-10-16 19:52:01 +00:00
Sidharth Vinod
7eac75c15c
Merge pull request #4928 from mribeirodantas/fix-minor-typos
...
fix(typos): Fix minor typos in the source code
2023-10-16 14:00:27 +00:00
Susheel Thapa
d97e31a38c
Chore: Typo fixed in multiple files
2023-10-16 16:54:36 +05:45
Alois Klink
d04f4c27fc
Merge pull request #4889 from dreathed/bug/4345_bundle_current_config_consitently_in_one_file
...
making consitent config imports from diagramAPI
2023-10-15 22:54:10 +00:00
Harshit Anand | Frontend Developer
f12b19216b
Merge branch 'develop' into bug/4716_fix_target_blank_getting_sanitized
2023-10-14 00:51:42 +05:30
Harshit Anand
345e82abee
fix: removed static target=_blank instaed value will fetched from the target attribute
2023-10-14 00:50:09 +05:30
Marcel Ribeiro-Dantas
9080f1f354
Revert typo fix
2023-10-12 01:33:25 -03:00
Marcel Ribeiro-Dantas
4b8441a1a0
Prettify table
2023-10-12 01:27:08 -03:00
Marcel Ribeiro-Dantas
00b38c55e9
Merge branch 'develop' into fix-minor-typos
2023-10-11 16:43:47 -03:00
Marcel Ribeiro-Dantas
ab2345093e
Revert error typo fix
2023-10-11 16:41:04 -03:00
RounakJoshi09
995449cbf6
Error Message Changed
2023-10-11 20:40:14 +05:30
Sidharth Vinod
df068dbde8
Merge pull request #4892 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-10-11 13:51:04 +00:00
renovate[bot]
7d3c550337
chore(deps): update all minor dependencies
2023-10-11 06:30:11 +00:00
Sidharth Vinod
3e9235a35b
Merge pull request #4925 from chaursiyasanjeet/enhancmenttwitter-logo-in-doc
...
Enhancment: twitter logo in doc
2023-10-11 06:21:40 +00:00
Sidharth Vinod
380aa94214
Merge pull request #4929 from Mister-Hope/patch-1
...
fix(class): avoid duplicate definition of fill
2023-10-11 06:20:44 +00:00
Sidharth Vinod
d1b386b5c9
Revert PH changes ( #4903 )
2023-10-11 11:32:24 +05:30
RounakJoshi09
ce3d9fcdde
Added test suggested on PR
2023-10-10 11:09:30 +05:30
Harshit Anand
c279a9f9ed
fix: clean link unit test resolved
2023-10-10 01:05:55 +05:30
RounakJoshi09
cdb4639aa4
bug/#3251_linkStyle-can't-specify-ids Fixed
2023-10-10 00:16:05 +05:30
Harshit Anand
2a9eb7f123
fix: target blank removed from anchor tag
2023-10-09 21:13:53 +05:30
Mr.Hope
1fec55d5f7
feat(gantt): update styles
2023-10-09 11:25:09 +08:00
Mr.Hope
444e81ae8a
fix(class): avoid duplicate definition of fill
2023-10-09 11:08:46 +08:00
Jakub Mikulas
4559ba625c
docs(integrations): add Mermaid for Slack
2023-10-08 21:16:36 +02:00
Hans Blankenhaus
497ffde9fe
undo changes for commonDb to avoid circular imports
2023-10-08 18:22:27 +02:00
Hans Blankenhaus
01203d884c
fix classDB
2023-10-08 15:32:40 +02:00
Hans Blankenhaus
846fb3f8f8
making consitent config imports from diagramAPI
2023-10-08 14:17:45 +02:00
Marcel Ribeiro-Dantas
30b3e6213f
fix(typos): Fix minor typos in the source code
...
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io >
2023-10-07 22:16:11 -03:00
Sanjeet Kumar
38e906edbe
Update README.zh-CN.md
...
updated twitter logo in README.zh-CN.md
2023-10-07 14:09:19 +05:30
Sanjeet Kumar
309bb50155
Update README.md
...
update Twitter logo in README.md
2023-10-07 14:08:29 +05:30
Nikolay Rozhkov
12a47076cf
Merge pull request #4897 from guypursey/patch-1
...
Update notes on orientation in GitGraph documentation
2023-10-06 10:07:36 +00:00
Nikolay Rozhkov
f346c3f511
Merge branch 'develop' into patch-1
2023-10-06 12:42:56 +03:00
Nikolay Rozhkov
a4020dab27
Merge pull request #4413 from subhash-halder/feature/4269_add_xychart
...
Add new chart xychart
2023-10-06 09:32:55 +00:00
Nikolay Rozhkov
936319b9ad
Merge branch 'develop' into feature/4269_add_xychart
2023-10-06 12:13:21 +03:00
Sidharth Vinod
49a197eaa8
chore: Update pnpm-lock
2023-10-06 11:12:50 +05:30
Sidharth Vinod
3abe7cfc45
Merge branch 'develop' into next
...
* develop: (61 commits)
Revert "fix: Reduce gantt exclude days length"
Commented out broken test (#4913 )
fix: Reduce gantt exclude days length
Update docs
Fix lint issue
Fix release version
Fix TopBar
Add MC to integrations
Add TopBar
Fix docs
Docs: Add Product Hunt info (#4900 )
Update docs
Merge branch 'release/10.5.0'
Mermaid release v10.5.0
docs: typo fixed
docs: typo fixed
Fix for issue with backticks in ids in classDiagrams
more fixes
fix typo
more link fixes
...
2023-10-06 11:11:34 +05:30
Sidharth Vinod
157c90eeac
Revert "fix: Reduce gantt exclude days length"
...
This reverts commit 2bde5ad667
.
2023-10-06 10:49:09 +05:30
Sidharth Vinod
54d7b57f59
Merge pull request #4891 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-10-06 05:03:51 +00:00
Nikolay Rozhkov
c63ea3e987
Commented out broken test ( #4913 )
...
* Commented out bronken test
* Skip test instead of commenting out
* Fix
* Update cypress/integration/rendering/gantt.spec.js
Co-authored-by: Alois Klink <alois@aloisklink.com >
---------
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-10-06 04:45:13 +00:00
Sidharth Vinod
2bde5ad667
fix: Reduce gantt exclude days length
2023-10-05 21:37:57 +05:30
Nikolay Rozhkov
3a0ce43252
Merge branch 'develop' into feature/4269_add_xychart
2023-10-05 14:44:55 +03:00
Guy Pursey
97487acbc3
Updated GitGraph doc amendment based on feedback in PR.
2023-10-05 12:13:12 +01:00
guypursey
80af0e7ec7
Update docs
2023-10-04 14:43:00 +00:00
Guy Pursey
395ee5ef06
Update notes on orientation in GitGraph documentation
...
Attempt to make the documentation around left-right and top-down orientation clearer than it currently is, addressing issue #4885 .
2023-10-04 15:37:50 +01:00
Sidharth Vinod
1d9ce74f64
Merge branch 'master' into develop
...
* master:
Update docs
Fix lint issue
Fix release version
Fix TopBar
Add MC to integrations
Add TopBar
Docs: Add Product Hunt info (#4900 )
2023-10-04 14:36:31 +05:30
sidharthv96
22b783e31d
Update docs
2023-10-04 09:01:57 +00:00
Sidharth Vinod
345d0d0bd2
Fix lint issue
2023-10-04 14:26:03 +05:30
Sidharth Vinod
f49e8c5784
Fix release version
2023-10-04 14:19:19 +05:30
Sidharth Vinod
a6bb1ea28c
Fix TopBar
2023-10-04 14:09:34 +05:30
Sidharth Vinod
cda7a61526
Add MC to integrations
2023-10-04 14:07:08 +05:30
Sidharth Vinod
d17c752229
Add TopBar
2023-10-04 14:06:43 +05:30
Sidharth Vinod
6ef2b1ce1e
Fix docs
2023-10-04 13:06:07 +05:30
Steph
459f5a58a3
Docs: Add Product Hunt info ( #4900 )
...
* update card and announcements page
* update integrations link and add product hunt badge
* Revert navbar link change
---------
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-10-04 07:32:30 +00:00
subhash-halder
7f9dfa17f3
Update docs
2023-10-02 15:27:16 +00:00
Subhash Halder
0d64d8d8e7
Merge branch 'develop' into feature/4269_add_xychart
2023-10-02 20:52:47 +05:30
Subhash Halder
42f8990834
Changed requested by code review
2023-10-02 20:48:04 +05:30
0xflotus
0239e49d92
docs: fixed typo
2023-10-02 11:16:51 +02:00
Knut Sveidqvist
c9d6769dcd
Merge remote-tracking branch 'origin/master' into develop
2023-10-02 10:26:43 +02:00
knsv
b83fff2fa0
Update docs
2023-10-02 08:24:42 +00:00
Knut Sveidqvist
279c1ee6ba
Merge branch 'master' into develop
2023-10-02 10:22:21 +02:00
Knut Sveidqvist
e6bbc71f86
Merge branch 'release/10.5.0'
2023-10-02 10:19:52 +02:00
Knut Sveidqvist
9644df4021
Merge branch 'release/10.5.0'
2023-10-02 10:18:33 +02:00
Knut Sveidqvist
bb0d549d0d
Mermaid release v10.5.0
2023-10-02 10:00:13 +02:00
Alois Klink
1bd87e33f0
Merge pull request #4883 from FirstTimeInForever/docs/update-jetbrains-integration
...
Update link for the Mermaid integration in JetBrains IDEs
2023-09-30 17:43:48 +00:00
Alois Klink
ee78123949
Merge pull request #4887 from dennis0324/develop
...
docs: fix typo
2023-09-30 17:39:51 +00:00
Dennis Ko
595c63973f
docs: typo fixed
2023-09-30 23:34:48 +09:00
Dennis Ko
f931c30f0a
docs: typo fixed
2023-09-30 23:33:51 +09:00
Subhash Halder
0d348b7994
Updated code review changes
2023-09-29 18:59:05 +05:30
Subhash Halder
8b04c2ce88
Merge branch 'develop' into feature/4269_add_xychart
2023-09-29 18:12:21 +05:30
Knut Sveidqvist
47acc1e423
Fix for issue with backticks in ids in classDiagrams
2023-09-29 13:38:00 +02:00
Knut Sveidqvist
7ad2ca7b0a
Merge pull request #4871 from mermaid-js/add-git-graph-blog
...
Docs: update Latest News section (Git Graph blog post)
2023-09-29 10:39:27 +02:00
steph
f1895ac599
more fixes
2023-09-28 23:52:53 -07:00
steph
564cfbee5b
fix typo
2023-09-28 23:46:32 -07:00
steph
2cb1a88913
more link fixes
2023-09-28 23:37:59 -07:00
steph
874ccfb5a7
fix links
2023-09-28 23:28:33 -07:00
Ivan Posti
f8a3807b32
Update link for the Mermaid integration in JetBrains IDEs
2023-09-28 12:58:33 +02:00
Sidharth Vinod
f96d351fdc
fix: Sequence loop rendering
2023-09-28 13:09:56 +05:30
Sidharth Vinod
ee58743a04
fix: Use log instead of console
2023-09-26 19:24:39 +05:30
Sidharth Vinod
63f4a56ec5
chore: Add test for gantt rendering
2023-09-26 19:21:14 +05:30
Sidharth Vinod
7cb1c2e0aa
fix(gantt): Set max exclude interval length to 5 years
2023-09-26 19:21:05 +05:30
Sidharth Vinod
5f5b216428
fix: Performance issue in Gantt diagram
2023-09-26 19:15:44 +05:30
Sidharth Vinod
a3456ec933
fix: Sequence diagram loop rendering
2023-09-26 18:36:05 +05:30
Alois Klink
99beeba261
ci(pr-labeler): add required template
option
...
This value is unused, but it's required, so we have to add it.
Fixes: a1673d3aca
2023-09-25 18:20:54 +01:00
renovate[bot]
fd2c2f7af3
chore(deps): update all patch dependencies
2023-09-25 07:43:56 +00:00
Sidharth Vinod
2049915c2a
Merge pull request #4869 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-09-25 07:21:51 +00:00
Sidharth Vinod
789a38bece
Merge pull request #4870 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-09-25 07:21:38 +00:00
renovate[bot]
b7bdbf8054
chore(deps): update all minor dependencies
2023-09-25 01:17:07 +00:00
renovate[bot]
7553d0a720
chore(deps): update all patch dependencies
2023-09-25 01:16:33 +00:00
Alois Klink
a1673d3aca
ci(pr-labeler): replace TimonVS/pr-labeler-action
...
Replace the `TimonVS/pr-labeler-action` with
`release-drafter/release-drafter` as it has an [`autolabeler`][1]
option that can autolabel PRs for us.
This should fix labeling PRs from forks,
see https://github.com/TimonVS/pr-labeler-action/issues/25 .
I've kept the `.github/pr-labeler.yml` configuration file, so that
links to it from the https://mermaid.js.org website continue to work.
I've also kept everything in the same
`.github/workflows/pr-labeler.yml` GitHub Actions workflow to make the
`git diff` easier to review, and to keep the GitHub Actions permissions
the same.
[1]: ff929b5ceb/README.md (autolabeler)
2023-09-24 19:18:56 +01:00
Alois Klink
672a289909
style(pr-labeler): format .github/pr-labeler.yml
...
Change the formatting of .github/pr-labeler.yml to make `git diff`'s
easier to understand in a future commit.
2023-09-24 19:18:01 +01:00
Alois Klink
dc22189eef
docs(ci/pr-labeler): warn about security issues
...
Using `pull_request_target` is pretty dangerous, since it heavily
increases the risk of malicious PRs getting access to the mermaid-js
repo.
What we're doing currently is safe, but we should add a warning
message just to ensure that we're very careful when we make changes.
See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
See: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
2023-09-24 19:17:03 +01:00
Alois Klink
5f740312fe
ci(release-draft): handle new release-drafter name
...
https://github.com/toolmantim/release-drafter has been renamed to
https://github.com/release-drafter/release-drafter .
2023-09-24 19:16:57 +01:00
Alois Klink
123d53c265
ci(release-drafter): remove unused branch
config
...
`branch` is not a valid configuration option for release-drafter,
see
https://github.com/release-drafter/release-drafter#configuration-options
There's is a similar [`references` option][1], but it does nothing when
using GitHub Actions (it's only there for GitHub apps).
There's also `commitish`, but it defaults to the target/branch the
GitHub Action job runs on, so we don't need to set that.
[1]: https://github.com/release-drafter/release-drafter#references
2023-09-24 19:16:51 +01:00
Alois Klink
b928e60d8b
ci(pr-labeler): limit GITHUB_TOKEN permissions
...
Limit the `GITHUB_TOKEN` permissions for `TimonVS/pr-labeler-action`
to the minimum required permissions.
2023-09-24 19:16:38 +01:00
Alois Klink
9688269027
ci(release-draft): limit GITHUB_TOKEN permissions
...
Limit the `GITHUB_TOKEN` permissions for `toolmantim/release-drafter`
to the minimum required permissions.
2023-09-24 19:16:33 +01:00
Sidharth Vinod
b054766388
Merge pull request #4841 from mermaid-js/sidv/LEBeta
...
Publish Live Editor previews for the `develop` & `next` branches
2023-09-24 05:50:47 +00:00
Sidharth Vinod
7825b59399
Merge pull request #4862 from janjonas/patch-2
...
Add new Atlassian integrations
2023-09-24 05:45:35 +00:00
Sidharth Vinod
095394dbef
docs: Correct words
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-24 11:13:50 +05:30
Jan Jonas
b6134a3d6c
Update integrations.md
2023-09-23 17:46:50 +02:00
Jan Jonas
62afe01634
Merge branch 'develop' into patch-2
2023-09-23 17:30:25 +02:00
Jan Jonas
54c56ba119
Update integrations.md
2023-09-23 17:29:56 +02:00
Jan Jonas
866cf4ea8c
Update integrations.md
2023-09-23 17:21:37 +02:00
Jan Jonas
4be829412c
Update integrations.md
2023-09-23 17:21:02 +02:00
Alois Klink
a19b0cf768
Merge pull request #4859 from Yokozuna59/chore/shorten-flow-huge-test-case
...
chore: shorten `flow-huge.spec.js` test case using `.repeat`
2023-09-23 13:42:54 +00:00
Steph
a0e9b0c96d
add git graph blog post
2023-09-22 10:09:05 -07:00
Jan Jonas
a31606aa82
Merge branch 'develop' into patch-2
2023-09-22 12:43:44 +02:00
Reda Al Sulais
ca960c4f5f
Merge branch 'mermaid-js:develop' into chore/shorten-flow-huge-test-case
2023-09-22 13:31:25 +03:00
Reda Al Sulais
bd861977ca
chore: shorten huge.html
using repeat
2023-09-22 13:16:15 +03:00
Knut Sveidqvist
fbe8d1085c
Merge pull request #4817 from mermaid-js/update-ecosystem-section
...
Docs: update Ecosystem section
2023-09-22 08:45:34 +02:00
Sidharth Vinod
0534d758ce
Merge pull request #4860 from dreathed/bug/4849_center_axis_labels
...
bug/4849_center_axis_labels
2023-09-22 05:59:18 +00:00
Sidharth Vinod
2f6c1972e1
Update cypress/integration/rendering/quadrantChart.spec.js
2023-09-22 05:37:49 +00:00
Sidharth Vinod
d69fee382d
Merge branch 'develop' into sidv/LEBeta
...
* develop:
docs: Wrap email in <>
chore(dev-deps): update @typescript-eslint to v6
chore(deps): update all patch dependencies
test(e2e): wait for theme-directives.html
test(e2e): remove unused code in theme-directives
test(e2e): wait for marker_unique_id.html e2e test
2023-09-22 10:47:48 +05:30
Sidharth Vinod
4946813ac6
chore: Build only mermaid
2023-09-22 10:47:06 +05:30
Sidharth Vinod
882350311b
chore: Append commit hash to version
2023-09-22 10:40:42 +05:30
Sidharth Vinod
60d0dba648
Print commit ref
2023-09-22 10:25:42 +05:30
Sidharth Vinod
ab7fcb26d7
Update URLs.
2023-09-22 10:20:16 +05:30
Sidharth Vinod
b0da3fb786
docs: Wrap email in <>
2023-09-21 22:37:37 +05:30
Hans Blankenhaus
de770e4c3c
changed name of test
2023-09-21 15:42:36 +02:00
Hans Blankenhaus
05e94b430a
add image snapshot test for quadrantchart
2023-09-21 15:25:51 +02:00
Hans Blankenhaus
2d0b22892d
added requested changes
2023-09-21 12:24:24 +02:00
Jan Jonas
43873fbe4a
Add new Atlassian integrations
2023-09-21 10:57:11 +02:00
Hans Blankenhaus
d7591fbeda
changed condition on which axis labels are centered
2023-09-21 10:55:09 +02:00
Hans Blankenhaus
5c39e99e32
Revert "center labels: removed condition"
...
This reverts commit a83fab28e1
.
2023-09-21 10:35:18 +02:00
Sidharth Vinod
74c503204d
Merge pull request #4857 from aloisklink/build/update-@typescript-eslint-to-v6
...
chore(dev-deps): update `@typescript-eslint/*` plugins to v6 (major)
2023-09-21 06:17:18 +00:00
Reda Al Sulais
6f05bf0846
chore: implement actual huge code correctly
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-21 01:26:40 +03:00
Reda Al Sulais
048dc07a90
chore: add comment on why we skip flow
huge
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-21 01:23:00 +03:00
Hans Blankenhaus
a83fab28e1
center labels: removed condition
2023-09-20 22:56:45 +02:00
Reda Al Sulais
91eb824c21
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-09-20 17:55:20 +03:00
Subhash Halder
f56796c7cf
Fix a review request in the docs
2023-09-20 19:57:48 +05:30
Reda Al Sulais
fc3a8902c0
chore: shorten flow-huge test case using repeat
2023-09-20 16:59:55 +03:00
Subhash Halder
f01f2dfcef
Fix formatting in doc file
2023-09-19 21:18:06 +05:30
Subhash Halder
e56effa029
Merge branch 'develop' into feature/4269_add_xychart
2023-09-19 21:16:52 +05:30
Subhash Halder
e061489b84
Added review changes
2023-09-19 21:09:31 +05:30
Alois Klink
d4289e8db7
chore(dev-deps): update @typescript-eslint to v6
...
Update the `@typescript-eslint/eslint-plugin` and
`@typescript-eslint/parser` plugin to v6.
The full list of changes needed can be found in the
[Announcing typescript-eslint v6 blog post][1], but the ones that
affect us are:
- Dropped support for Node.JS v14.
This isn't a big deal for us, since Mermaid uses a version of
`eslint-plugin-jsdoc` that does not support Node.JS v14 either,
see 120029913d
(chore(deps): update dependency eslint-plugin-jsdoc to v46, 2023-06-27)
- Changes to the `plugin:@typescript-eslint/recommended` configuration.
I've manually changed the following two rules to match their old
`@typescript-eslint/parser` v5 settings, to avoid turning ESLint
warnings into errors:
- `@typescript-eslint/no-explicit-any` to `warn`
- `@typescript-eslint/no-unused-vars` to `warn`
[1]: https://main--typescript-eslint.netlify.app/blog/announcing-typescript-eslint-v6
2023-09-19 15:51:51 +01:00
Sidharth Vinod
8be8736131
Merge pull request #4851 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-09-19 13:03:26 +00:00
renovate[bot]
6bab2f6693
chore(deps): update all patch dependencies
2023-09-19 11:27:03 +00:00
Sidharth Vinod
e8347cedf3
Merge pull request #4846 from aloisklink/test/fix-theme-directives-e2e-test
...
Wait for `theme-directives.html` E2E test to render before taking a screenshot
2023-09-19 11:18:15 +00:00
Sidharth Vinod
d6f1c11559
Merge pull request #4847 from aloisklink/test/wait-for-4825-e2e-test-to-finish
...
Wait for `marker_unique_id.html` E2E test to render before taking a screenshot
2023-09-19 11:17:34 +00:00
Alois Klink
17f5052a6f
test(e2e): wait for theme-directives.html
...
The `theme-directives.html` test currently sometimes takes a screenshot
before all of the Mermaid diagrams have completed rendering.
We can use the `urlSnapshopTest()` helper function, which waits until
a `.rendered` property exists on the page.
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-09-17 18:56:20 +01:00
Alois Klink
518e277cb2
test(e2e): remove unused code in theme-directives
...
We don't use any font-awesome icons, or custom fonts in this file.
2023-09-17 18:55:54 +01:00
Alois Klink
335ba40dd0
test(e2e): wait for marker_unique_id.html e2e test
...
Sometimes, Cypress takes the screenshot for marker_unique_id.html early,
before mermaid has finished rendering the diagrams.
Fixes: 924c9e913b
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-09-17 18:32:52 +01:00
Sidharth Vinod
c64e2106cf
docs: Add LiveEditor Beta
2023-09-15 13:53:07 +05:30
Reda Al Sulais
3c90894e38
Merge branch 'develop' into next
2023-09-15 01:57:20 +03:00
Sidharth Vinod
ad596086ea
10.5.0-rc.2
2023-09-15 01:24:02 +05:30
Subhash Halder
adb3cd16df
Merge branch 'develop' into feature/4269_add_xychart
2023-09-14 20:50:27 +05:30
Sidharth Vinod
271b779995
refactor: Simplify TokenBuilder and ValueConverter
2023-09-14 17:32:44 +05:30
Knut Sveidqvist
9d1c109612
Merge branch 'develop' into release/10.5.0
2023-09-14 11:59:57 +02:00
Sidharth Vinod
4201e4775d
fix: Arrow markers in flowchart-elk
2023-09-14 14:52:39 +05:30
Sidharth Vinod
52b33f6f47
chore: Fix pnpm-lock
2023-09-14 14:25:22 +05:30
Sidharth Vinod
5aee43d05b
Merge branch 'develop' into next
...
* 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.
2023-09-14 14:19:31 +05:30
Sidharth Vinod
46a5b9543e
Bump version
2023-09-14 14:06:15 +05:30
Knut Sveidqvist
d539f7050f
Merge pull request #4825 from chadfawcett/bug/1871_fix_duplicate_marker_ids
...
Give markers unique id's per graph
2023-09-14 08:03:01 +00:00
Sidharth Vinod
983cf45b2f
Merge branch 'develop' into pr/chadfawcett/4825
...
* develop:
chore: Fix type in 'getLineFunctionsWithOffset'
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
2023-09-14 13:06:35 +05:30
Sidharth Vinod
ce78ff116e
chore: Fix type in 'getLineFunctionsWithOffset'
2023-09-14 13:05:21 +05:30
Knut Sveidqvist
ed9159cece
Merge pull request #4830 from mermaid-js/fix/flowchartElkArrow
...
Fix: flowchartElk Arrow overlap
2023-09-14 06:41:56 +00:00
Sidharth Vinod
f208631a16
Merge branch 'develop' into fix/flowchartElkArrow
2023-09-13 22:30:57 +05:30
Sidharth Vinod
6219aa55f7
Merge pull request #4819 from mermaid-js/sidv/4818_supportClassDefsExternally
...
Support ClassDefs in external diagrams
2023-09-13 16:16:32 +00:00
Sidharth Vinod
feeb0073f2
Merge branch 'develop' into sidv/4818_supportClassDefsExternally
2023-09-13 19:49:31 +05:30
Knut Sveidqvist
d70c8cdb4c
Merge pull request #4826 from mermaid-js/sidv/cleanupUtils
...
refactor: Fix typings in utils.ts
2023-09-13 07:36:55 +00:00
Chad Fawcett
bceae92d30
Update cypress/platform/marker_unique_id.html
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-09-12 10:29:39 -07:00
Sidharth Vinod
3c34fbaacd
refactor: Add getLineFunctionsWithOffset function
2023-09-12 14:08:02 +05:30
Sidharth Vinod
78346943a2
refactor: Move EdgeData to types
2023-09-12 14:06:53 +05:30
Sidharth Vinod
6b7a0e1d8e
fix: PointStart marker refX
2023-09-12 14:04:54 +05:30
Chad Fawcett
924c9e913b
Added cypress test
2023-09-11 11:59:28 -07:00
Sidharth Vinod
e561cbd3be
Merge pull request #4828 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-09-11 14:48:52 +00:00
renovate[bot]
11aaee043f
chore(deps): update all patch dependencies
2023-09-11 13:44:53 +00:00
Subhash Halder
6e9eeb78c6
removed string concat to string builder
2023-09-09 16:11:18 +05:30
Steph
3824daea0b
add blog post ( #4822 )
2023-09-09 05:49:28 +00:00
Sidharth Vinod
f3e0d5a20a
refactor: Fix typings in utils.ts
2023-09-09 11:15:55 +05:30
Chad Fawcett
552d3ec2e1
Give markers unique id's per graph
2023-09-08 15:28:41 -07:00
Steph
8a0ca8c43c
update redirect
2023-09-08 10:28:50 -07:00
Sidharth Vinod
7b29a380fc
chore: Fix type
2023-09-08 16:42:08 +05:30
Sidharth Vinod
997c23befa
Merge branch 'develop' into next
...
* 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.
2023-09-08 16:36:45 +05:30
Sidharth Vinod
6eb3337d20
chore: Add @internal to createCSSStyles
2023-09-08 08:20:03 +05:30
Steph
809103ccdd
add link to redirect file
2023-09-07 11:45:24 -07:00
Sidharth Vinod
00d06c7282
Merge pull request #4780 from mermaid-js/jgreywolf-patch-1
...
Update README.md
2023-09-07 18:13:01 +00:00
Subhash Halder
b98217e3c3
Fix YAML themeVariables config
2023-09-07 13:31:52 +05:30
Subhash Halder
fae648c253
Added the file name changes
2023-09-07 13:16:46 +05:30
Subhash Halder
9558cb9b16
Merge branch 'develop' into feature/4269_add_xychart
2023-09-07 12:55:22 +05:30
Sidharth Vinod
e75af86ef2
chore: Bump version
2023-09-07 12:46:58 +05:30
Subhash Halder
7c7d5881b7
Fixed all review comment
2023-09-07 12:45:22 +05:30
Sidharth Vinod
5ff308f0c6
Merge branch 'develop' into sidv/4818_supportClassDefsExternally
...
* develop:
Remove unnecessary tests
chore: Add deprecation notices, improve types
chore: Cleanup gitGraph tests
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
2023-09-07 12:43:18 +05:30
Sidharth Vinod
ef95919691
refactor: Remove unused variables
2023-09-07 12:40:56 +05:30
Knut Sveidqvist
07f460a184
Merge pull request #4759 from sidharthv96/sidv/removeDirectiveGrammar
...
Add directive support to all diagrams by preprocessing
2023-09-07 07:00:44 +00:00
Sidharth Vinod
38123d2f21
fix : #4818 support getClasses
in external diagrams.
2023-09-07 12:01:22 +05:30
Steph
6155b2cc38
update content
2023-09-06 22:04:35 -07:00
Sidharth Vinod
667b17bf66
Remove unnecessary tests
2023-09-07 10:15:58 +05:30
Sidharth Vinod
6fa97a8b71
Merge branch 'pr/RohanHandore/4340' into develop
...
* pr/RohanHandore/4340:
Remove optional chaining
2023-09-07 08:33:20 +05:30
Sidharth Vinod
56aa503ded
Remove optional chaining
2023-09-07 08:31:05 +05:30
Sidharth Vinod
4f2902e0a8
Merge pull request #4340 from RohanHandore/patch-1
...
Refactor `cypress/helpers/util.ts`
2023-09-06 18:00:13 +00:00
Sidharth Vinod
4ce26296d6
Merge branch 'develop' into next
...
* develop:
chore: Update docs
2023-09-06 23:25:57 +05:30
Sidharth Vinod
4e142c438e
Merge branch 'develop' into pr/RohanHandore/4340
...
* develop:
chore: Update docs
2023-09-06 23:25:31 +05:30
Sidharth Vinod
ba66b219e2
chore: Update docs
2023-09-06 23:23:48 +05:30
Sidharth Vinod
f0d388851b
Merge branch 'develop' into pr/RohanHandore/4340
...
* develop:
Update flowchart.md (#4798 )
Update flowchart.md (#4792 )
chore: Fix warning formatting
docs: Disable showValues in sankey example
2023-09-06 23:22:45 +05:30
Sidharth Vinod
7d2b39f69f
refactor: Use ||
instead of ??
2023-09-06 23:21:51 +05:30
Sidharth Vinod
4342759da7
Merge branch 'develop' into next
...
* 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
2023-09-06 23:16:03 +05:30
Sidharth Vinod
19f0308142
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid :
Update flowchart.md (#4792 )
2023-09-06 23:15:41 +05:30
Sidharth Vinod
c12deca02a
Merge branch 'master' into develop
...
* master:
Update flowchart.md (#4798 )
chore: Fix warning formatting
docs: Disable showValues in sankey example
2023-09-06 23:15:25 +05:30
Douglas Blank
2eb9afa2f2
Update flowchart.md ( #4798 )
...
* Update flowchart.md
Fixed typos
* docs: Fix proper doc
* docs: Fix npmjs link
---------
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-09-06 17:44:35 +00:00
Oscar Andersson
53dee70292
Update flowchart.md ( #4792 )
...
* Update flowchart.md
Update from mermaid 8.4.8 to 10.4.0 for jsfiddle
* Update flowchart.md
* Update flowchart.md
2023-09-06 17:34:20 +00:00
Sidharth Vinod
8662b33de9
core: Adapt changes from 3f7bafb2d7
...
Co-authored-by: RohanHandore <110839432+RohanHandore@users.noreply.github.com >
2023-09-06 22:50:32 +05:30
Sidharth Vinod
bf18f25c82
Merge branch 'develop' into pr/RohanHandore/4340
...
* develop: (864 commits)
chore: Update docs
chore: Fix unit tests
chore(deps): update all patch dependencies
chore: Update docs
Update docs
New Mermaid Live Editor for Confluence Cloud (#4814 )
Update link to Discourse theme component (#4811 )
Update flowchart.md (#4810 )
chore: remove unneeded `CommomDB`
chore: Update docs
"CSS" instead of "css" in flowchart.md (#4797 )
Update CONTRIBUTING.md
Update CONTRIBUTING.md
fix: typos (#4801 )
chore: Align with convention
fix: Add support for `~test Array~string~`
chore: Add JSDoc to apply in sequenceDB
refactor: Tidy up direction handling
chore: Fix flowchart arrow
chore: Add test to verify activate
...
2023-09-06 22:49:35 +05:30
Sidharth Vinod
fd39ea8049
Update cypress/helpers/util.js
2023-09-06 17:07:08 +00:00
Sidharth Vinod
773abbe7e2
Merge pull request #4701 from jonashaag/jonashaag-patch-1
...
Use utf8 encoding in Jupyter example
2023-09-06 16:44:06 +00:00
Sidharth Vinod
bcd03151e8
chore: Update docs
2023-09-06 22:09:15 +05:30
Sidharth Vinod
18079a44be
chore: Add deprecation notices, improve types
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-06 22:06:05 +05:30
Sidharth Vinod
32729f82b9
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (26 commits)
chore: Fix unit tests
chore(deps): update all patch dependencies
Update docs
chore: remove unneeded `CommomDB`
fix: Add support for `~test Array~string~`
chore: Add JSDoc to apply in sequenceDB
refactor: Tidy up direction handling
chore: Fix flowchart arrow
chore: Add test to verify activate
chore: Update tests snapshot
fix : #4691 Align arrowheads properly in sequenceDiagram
chore: move `commonDb` into `diagrams/common/commonDb`
Update docs
run prettier fix
Apply suggestions from code review
chore: Add comments in edge handling
chore: Make aggregation arrow transparent
chore: Remove structuredClone
chore: Make extension arrow transparent
chore: Align edge markers properly in class
...
2023-09-06 18:36:02 +05:30
Sidharth Vinod
c212490248
Merge pull request #4778 from vertxxyz/feature/4771_tickInterval-support-for-sec-and-ms
...
Added support for millisecond and second to gantt tickInterval
2023-09-06 13:03:05 +00:00
Sidharth Vinod
25f2d224f1
Merge branch 'develop' into next
...
* develop:
fix: Add support for `~test Array~string~`
2023-09-06 16:53:18 +05:30
Knut Sveidqvist
abcf2a2eab
Merge pull request #4805 from mermaid-js/sidv/FixTilde
...
fix: Add support for `~test Array~string~` back in Class
2023-09-06 02:26:29 +00:00
Reda Al Sulais
0abb4f8c6f
Merge branch develop into next
2023-09-06 02:16:25 +03:00
Sidharth Vinod
a0e33bee71
chore: Cleanup gitGraph tests
2023-09-05 21:57:05 +05:30
Sidharth Vinod
ebaabbf19a
Merge pull request #4786 from mermaid-js/sidv/2685_supportMember
...
Support member definition to initialize class
2023-09-05 16:16:15 +00:00
Sidharth Vinod
fd7406b94a
chore: Fix unit tests
2023-09-05 21:41:49 +05:30
Sidharth Vinod
e5e44dbd39
Merge pull request #4802 from Yokozuna59/move-commondb-to-common-dir
...
chore: move `commonDb` into `diagrams/common/commonDb`
2023-09-05 14:19:54 +00:00
Sidharth Vinod
7cc76505a8
Merge branch 'develop' into move-commondb-to-common-dir
2023-09-05 14:15:09 +00:00
Sidharth Vinod
c38478f6c3
Merge branch 'develop' into sidv/2685_supportMember
2023-09-05 13:58:53 +00:00
Knut Sveidqvist
3cf7649682
Merge pull request #4788 from mermaid-js/sidv/classEdgeMarkers
...
fix: Allow hollow markers on edges
2023-09-05 12:47:22 +00:00
Knut Sveidqvist
12d4386fd3
Merge pull request #4804 from mermaid-js/fix/4691_sequenceArrowHeads
...
Align arrows on sequence diagram
2023-09-05 12:40:49 +00:00
Sidharth Vinod
4f0abab91f
Merge pull request #4809 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-09-05 11:47:44 +00:00
renovate[bot]
ce7783414b
chore(deps): update all patch dependencies
2023-09-05 11:23:25 +00:00
Sidharth Vinod
1503306651
Merge pull request #4776 from tomperr/fix/4775_allow-leading-underscore-entity-name
...
fix(er): allow underscore as leading char
2023-09-05 11:16:57 +00:00
Sidharth Vinod
88d1885cdc
Merge branch 'develop' into fix/4775_allow-leading-underscore-entity-name
2023-09-05 11:04:52 +00:00
Sidharth Vinod
4ab47a2ce7
Merge pull request #4781 from mermaid-js/jgreywolf-patch-2
...
Update classDiagram.md
2023-09-05 11:03:53 +00:00
Sidharth Vinod
5ed155508a
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (31 commits)
chore: Update docs
New Mermaid Live Editor for Confluence Cloud (#4814 )
Update link to Discourse theme component (#4811 )
Update flowchart.md (#4810 )
chore: Update docs
"CSS" instead of "css" in flowchart.md (#4797 )
Update CONTRIBUTING.md
Update CONTRIBUTING.md
fix: typos (#4801 )
chore: Align with convention
add additional test case
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
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
...
2023-09-05 14:33:40 +05:30
Sidharth Vinod
8f3bcf401d
Merge branch 'develop' into move-commondb-to-common-dir
2023-09-05 09:00:16 +00:00
Sidharth Vinod
3959e076cf
chore: Update docs
2023-09-05 14:28:21 +05:30
sidharthv96
bc770c48c7
Update docs
2023-09-05 05:52:03 +00:00
Sidharth Vinod
82404dd0f6
Merge branch 'develop' into move-commondb-to-common-dir
2023-09-05 05:47:11 +00:00
yzf
f707dafcb4
New Mermaid Live Editor for Confluence Cloud ( #4814 )
2023-09-05 05:42:00 +00:00
Gerhard Schlager
a91679db30
Update link to Discourse theme component ( #4811 )
...
Both previously mentioned plugins are out-of-date.
2023-09-05 05:41:12 +00:00
Andriy
916c0b95e7
Update flowchart.md ( #4810 )
2023-09-05 05:40:12 +00:00
Subhash Halder
a344eb48f4
Added cypress test cases
2023-09-03 20:48:52 +05:30
Subhash Halder
c3a9bb9a23
Fixed more edge cases
2023-09-03 20:48:10 +05:30
Reda Al Sulais
bdaf58a322
chore: remove unneeded CommomDB
2023-09-03 17:31:08 +03:00
Sidharth Vinod
900748250c
chore: Update docs
2023-09-03 14:06:12 +05:30
Jake Boone
54b78acb47
"CSS" instead of "css" in flowchart.md ( #4797 )
2023-09-03 08:35:36 +00:00
Sidharth Vinod
a7d5c8492d
Update CONTRIBUTING.md
2023-09-03 08:34:28 +00:00
Sidharth Vinod
caa61df363
Update CONTRIBUTING.md
2023-09-03 08:34:10 +00:00
omahs
06e44f5da8
fix: typos ( #4801 )
...
* fix typos
* fix typo
* fix typo
* fix typo
* fix typos
* fix typos
* fix typos
* fix typos
* fix typos
* fix typo
* fix typo
* chore: Update docs
---------
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-09-03 08:12:13 +00:00
Subhash Halder
cc5190c1ba
Fix some space management issue
2023-09-03 13:38:47 +05:30
Sidharth Vinod
697ac18872
Merge branch 'develop' into next
...
* 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
2023-09-03 12:27:44 +05:30
Sidharth Vinod
49446940f5
Merge branch 'develop' into sidv/FixTilde
...
* develop:
chore: Align with convention
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
2023-09-03 12:27:22 +05:30
Sidharth Vinod
69b4b48f62
Merge pull request #4534 from mermaid-js/UpdateClassMemberHandling
...
Update class member handling
2023-09-03 06:51:37 +00:00
Sidharth Vinod
05c2a11e3d
chore: Align with convention
2023-09-03 12:00:32 +05:30
Sidharth Vinod
650d712bd8
fix: Add support for ~test Array~string~
2023-09-03 11:55:32 +05:30
Sidharth Vinod
d61f9fbe62
Merge branch 'develop' into jgreywolf-patch-2
2023-09-03 05:31:14 +00:00
Sidharth Vinod
fc229cf274
Merge pull request #4803 from aloisklink/refactor/mermaid-config-limit-enum-types
...
[v11] Limit `MermaidConfig` enum TypesScript types to certain values
2023-09-03 05:29:25 +00:00
Sidharth Vinod
be3829232c
chore: Add JSDoc to apply in sequenceDB
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-03 10:54:18 +05:30
Sidharth Vinod
20fd6d35f0
refactor: Tidy up direction handling
2023-09-03 10:46:26 +05:30
Sidharth Vinod
5b724b180f
chore: Fix flowchart arrow
2023-09-03 03:02:58 +05:30
Sidharth Vinod
784e235ff9
chore: Add test to verify activate
2023-09-03 02:34:46 +05:30
Sidharth Vinod
02a0596e3c
chore: Update tests snapshot
2023-09-03 02:33:06 +05:30
Sidharth Vinod
498f75eece
fix : #4691 Align arrowheads properly in sequenceDiagram
2023-09-03 02:32:28 +05:30
Alois Klink
b48136d994
refactor!: remove MermaidConfig type enum fallback
...
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.
2023-09-02 19:33:40 +01:00
Alois Klink
77ba7c987a
test: rewrite some config
vals to tighten types
...
We're planning on limiting some of MermaidConfig's types to specific
values (e.g. `0 | 1` instead of `number`).
2023-09-02 19:33:40 +01:00
Reda Al Sulais
84f3baf013
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-09-02 18:57:00 +03:00
Subhash Halder
060d961f39
Fixed directive related issue
2023-09-02 21:15:21 +05:30
Subhash Halder
fc9ff6c6f3
Added documentations
2023-09-02 20:48:11 +05:30
Reda Al Sulais
a61887f5a2
chore: move commonDb
into diagrams/common/commonDb
2023-09-02 17:51:33 +03:00
Subhash Halder
e0418eb661
Made the axis title optional
2023-09-02 18:08:59 +05:30
Subhash Halder
de2aa9d740
Fixed lint issue
2023-09-02 16:33:29 +05:30
Subhash Halder
f57b5271df
Merge branch 'develop' into feature/4269_add_xychart
2023-09-02 16:02:27 +05:30
Subhash Halder
f9a91730aa
Small minor changes
2023-09-02 15:45:30 +05:30
Subhash Halder
7bdf4c3dbb
Added themes config to all the themes
2023-09-02 13:03:30 +05:30
Subhash Halder
b2669aaca9
Fixed some space management issue
2023-09-01 21:27:10 +05:30
Subhash Halder
54f2c63db1
Addressed all the new comment on jison
2023-09-01 20:57:05 +05:30
jgreywolf
44a6a6758e
Update docs
2023-09-01 13:16:16 +00:00
Justin Greywolf
a12864d9e4
run prettier fix
2023-09-01 06:10:41 -07:00
Sidharth Vinod
bbbae7d59f
Apply suggestions from code review
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-30 05:19:12 +00:00
Sidharth Vinod
e84ee32408
Merge branch 'develop' into feature/4771_tickInterval-support-for-sec-and-ms
2023-08-29 18:38:44 +00:00
Sidharth Vinod
cca9662365
chore: Add comments in edge handling
2023-08-29 23:49:00 +05:30
Sidharth Vinod
f30a23f41e
chore: Make aggregation arrow transparent
2023-08-29 23:35:21 +05:30
Sidharth Vinod
58cb827839
chore: Remove structuredClone
2023-08-29 23:32:10 +05:30
Sidharth Vinod
7de1abbcc2
chore: Make extension arrow transparent
2023-08-29 23:28:45 +05:30
Sidharth Vinod
26e32665a4
chore: Align edge markers properly in class
2023-08-29 23:18:55 +05:30
Sidharth Vinod
c3df18fc5b
feat: #2685 Support class member initialization by member definition
2023-08-28 18:57:34 +05:30
Sidharth Vinod
eca0cea339
refactor: Fir classDB types
2023-08-28 18:54:30 +05:30
Justin Greywolf
efa6cb3434
Update classDiagram.md
2023-08-28 06:20:49 -07:00
Justin Greywolf
5839e0de87
add additional test case
2023-08-28 06:13:30 -07:00
Thomas Ingram
4efac6721d
Added missing integration tests and release version in docs.
2023-08-28 20:17:15 +10:00
Sidharth Vinod
44b93c039a
Merge pull request #4727 from Yokozuna59/add-info-langium-parser
...
feat: add `@mermaid-js/parser` package and `info` langium parser
2023-08-28 08:10:30 +00:00
Sidharth Vinod
4d5313699e
chore: Add comment for yy
.
2023-08-28 13:39:37 +05:30
Sidharth Vinod
cd198290d7
Merge branch 'next' into pr/Yokozuna59/4727
...
* 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
2023-08-28 13:32:27 +05:30
Sidharth Vinod
6e51f8fd98
Merge pull request #4782 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-28 07:37:22 +00:00
Sidharth Vinod
9823834a56
Merge pull request #4783 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-08-28 07:37:09 +00:00
Sidharth Vinod
02517e8a7d
chore: Fix warning formatting
2023-08-28 12:31:40 +05:30
Sidharth Vinod
f6325f6906
docs: Disable showValues in sankey example
2023-08-28 12:30:39 +05:30
renovate[bot]
6b0e0e21ac
chore(deps): update all patch dependencies
2023-08-28 05:09:59 +00:00
renovate[bot]
19aaf459a5
chore(deps): update all minor dependencies
2023-08-28 00:12:53 +00:00
Justin Greywolf
6aa20ed64b
Update classDiagram.md
2023-08-27 16:22:38 -07:00
Justin Greywolf
12f11c6721
added test case
2023-08-27 15:47:22 -07:00
Justin Greywolf
75737544c8
Update classDiagram.md
2023-08-27 15:39:07 -07:00
Justin Greywolf
b6d5497f51
Update README.md
...
Quick fix to remove namespace from readme class definition since github has not been update to the version that uses namespaces
2023-08-27 15:23:59 -07:00
Thomas Ingram
8f340094d9
Added support for millisecond and second to gantt tickInterval
2023-08-27 16:08:47 +10:00
Tom PERRILLAT-COLLOMB
264f7920f0
fix(er): allow underscore as leading char
2023-08-27 00:15:50 +02:00
Justin Greywolf
b513169f12
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-26 14:01:42 -07:00
Justin Greywolf
87880fdf40
add sanitize text
2023-08-26 14:01:14 -07:00
Sidharth Vinod
60ed7d3273
chore: Increase heap size when building
2023-08-26 23:43:27 +05:30
Sidharth Vinod
066e0967de
refactor: Move setWrap to individual diagrams as necessary.
2023-08-26 23:27:25 +05:30
Sidharth Vinod
9bcfba6620
Merge branch 'develop' into next
...
* 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
2023-08-26 23:09:05 +05:30
Sidharth Vinod
04ce5d6a9a
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (22 commits)
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
Reverted docker compose to develop branch
Run GA
Update docs
Update docs
fix(er): bug if relationship is declared first
update latest news
Removed all n00b file names and added redirects
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
...
2023-08-26 23:08:36 +05:30
Reda Al Sulais
7ea3c64268
chore: increase test-util.ts
converage by returning undefined
2023-08-26 14:37:36 +03:00
Reda Al Sulais
2b6a34e9e0
chore: add vitest
imports to test-util.ts
2023-08-26 14:20:22 +03:00
Reda Al Sulais
458b90c78d
chore: run pnpm lint:fix
2023-08-26 14:06:41 +03:00
Reda Al Sulais
dd284c0986
Merge branch 'add-info-langium-parser' of https://github.com/Yokozuna59/mermaid into add-info-langium-parser
2023-08-26 14:02:19 +03:00
Nikolay Rozhkov
ed819e96d5
Merge pull request #4758 from tomperr/feat/4746_add_er_alias
...
feat(er): add entity name alias
2023-08-26 11:02:15 +00:00
Reda Al Sulais
21539dfb6a
create noErrorsOrAlternatives
parser helper function
2023-08-26 14:01:56 +03:00
Reda Al Sulais
91785b8284
Merge branch 'next' into add-info-langium-parser
2023-08-26 13:48:31 +03:00
Reda Al Sulais
f202770b70
Merge branch develop into next
2023-08-26 13:44:24 +03:00
Reda Al Sulais
8186a54962
chore: export InfoModule
from infoModule.ts
2023-08-26 13:39:17 +03:00
Justin Greywolf
5a2b3db14c
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-25 13:21:57 -07:00
jgreywolf
fa6198b4ce
Update docs
2023-08-25 20:13:40 +00:00
Justin Greywolf
3678ad4e9d
modifications to generic parser
2023-08-25 13:08:51 -07:00
Sidharth Vinod
979dcb073d
Merge pull request #4774 from Yokozuna59/bug/4772_align-slices-and-legend-orders
...
fix(pie): align slices and legend orders
2023-08-25 19:58:52 +00:00
Sidharth Vinod
ecf14cd4e3
docs: Fix link
2023-08-26 01:33:15 +05:30
Sidharth Vinod
92d9f35f89
Update docs
2023-08-26 01:20:17 +05:30
Justin Greywolf
8e64995047
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-25 10:58:49 -07:00
Justin Greywolf
8b96282c48
improvements to parseGenericTypes
2023-08-25 10:58:20 -07:00
Sidharth Vinod
15c7c37227
Merge pull request #4723 from GingerNinjaNicko/fix-fontawesome-class
...
Fix Twitter fontawesome class in flowchart.md
2023-08-25 13:51:02 +00:00
Reda Al Sulais
267935713c
fix(pie): align slices and legend orders
2023-08-25 16:12:26 +03:00
Knut Sveidqvist
8ef5f38861
Merge remote-tracking branch 'origin/develop' into develop
2023-08-25 14:26:27 +02:00
Knut Sveidqvist
47af4760bc
Merge branch 'master' into develop
2023-08-25 14:26:21 +02:00
Knut Sveidqvist
8e5275d844
Mermaid version v10.4.0
2023-08-25 14:19:00 +02:00
Knut Sveidqvist
c51afa4dd2
Merge branch 'release/10.4.0'
2023-08-25 14:16:18 +02:00
Knut Sveidqvist
671ad82ad3
unique batches every time, if not repeated tests end up in the same batch
2023-08-25 14:13:11 +02:00
Sidharth Vinod
1bfa1a8c88
Merge pull request #4767 from nirname/docs/2910_renaming-docs-and-fixes
...
Docs/2910 Remove n00b and fix some docs
2023-08-25 11:32:00 +00:00
Nikolay Rozhkov
ab140a0fc7
Added missed .md
2023-08-25 14:27:06 +03:00
Nikolay Rozhkov
7d395e176e
Increase JS heap
2023-08-25 12:55:26 +03:00
Nikolay Rozhkov
3d35015ee9
More tests for redirects + prettier
2023-08-25 12:37:29 +03:00
Nikolay Rozhkov
2676130146
Fixed redirects inside vitepress, extended tests
2023-08-25 12:35:07 +03:00
Sidharth Vinod
fb3814bf85
chore: Explain redirect.ts clearly
2023-08-25 14:56:20 +05:30
Sidharth Vinod
1e0918c2ff
refactor: Remove directives from grammar
2023-08-25 12:55:58 +05:30
Sidharth Vinod
f0883be0e3
refactor: Update DBs to remove directive handling
2023-08-25 12:55:35 +05:30
Sidharth Vinod
276fd7ad84
refactor: Move directive processing before parsing
...
Directives and fronmatter will be preprocessed
and removed from the text before parsing.
2023-08-25 12:54:44 +05:30
Sidharth Vinod
2dd1415849
docs: Fix npmjs link
2023-08-25 12:43:31 +05:30
Sidharth Vinod
866909b803
Merge branch 'develop' into next
...
* develop:
chore: Update editor.bash to build latest version
chore: Build after clone
chore: Force install npm to avoid cache.
fix: live editor exists error
chore: Add netlify.toml
chore: Update editor script
chore: Add live editor build script for previews
docs: Fix sankey demo
feat(sankey): Show values (#4674 )
2023-08-25 10:07:46 +05:30
Sidharth Vinod
9fa6dc23ca
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 04:35:40 +00:00
Sidharth Vinod
9dccf4d9c9
chore: Update editor.bash to build latest version
2023-08-25 10:04:53 +05:30
Sidharth Vinod
f248a22c71
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 04:14:24 +00:00
Sidharth Vinod
6563a6ea26
chore: Build after clone
2023-08-25 09:43:53 +05:30
Sidharth Vinod
87d2899e4e
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 04:07:38 +00:00
Sidharth Vinod
a3a6eb9bf5
chore: Force install npm to avoid cache.
2023-08-25 09:37:22 +05:30
Sidharth Vinod
c28c285711
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 03:48:11 +00:00
Sidharth Vinod
5f8f79fc3e
fix: live editor exists error
2023-08-25 09:15:21 +05:30
Sidharth Vinod
a4ba192aad
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 03:06:47 +00:00
Sidharth Vinod
f553fa5eb8
Merge pull request #4769 from mermaid-js/sidv/liveEditor
...
chore: Preview PRs with mermaid-live-editor on Netlify
2023-08-25 03:00:42 +00:00
Sidharth Vinod
c3939d3fb3
chore: Add netlify.toml
2023-08-25 08:26:34 +05:30
Sidharth Vinod
32d1783390
chore: Update editor script
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-25 08:22:24 +05:30
Nikolay Rozhkov
58afdd1baa
Reverted docker compose to develop branch
2023-08-25 01:49:36 +03:00
Justin Greywolf
0881619fcb
Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling
2023-08-24 14:05:19 -07:00
Nikolay Rozhkov
eba5fcca6b
Run GA
2023-08-24 22:26:20 +03:00
nirname
52cbf9fd28
Update docs
2023-08-24 19:07:14 +00:00
nirname
fc19bf93aa
Update docs
...
Fixed link to mermaid-js.github.io after review
Update docs
Fixed link again
2023-08-24 22:01:35 +03:00
Sidharth Vinod
54de763a66
chore: Add live editor build script for previews
2023-08-25 00:12:14 +05:30
Tom PERRILLAT-COLLOMB
56419f7459
fix(er): bug if relationship is declared first
2023-08-24 16:16:40 +02:00
Sidharth Vinod
2537152c7a
Merge pull request #4768 from mermaid-js/latest-news
...
Docs: update Latest News section
2023-08-24 10:32:58 +00:00
Steph
14c1c1cc59
update latest news
2023-08-23 23:11:58 -07:00
Nikolay Rozhkov
108c25f19f
Removed all n00b file names and added redirects
2023-08-23 23:32:33 +03:00
Justin Greywolf
3ec32521f8
Update packages/mermaid/src/diagrams/class/svgDraw.js
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-08-23 05:22:23 -07:00
Knut Sveidqvist
72b4a74bee
Merge branch 'master' of github.com:mermaid-js/mermaid
2023-08-23 10:24:56 +02:00
Sidharth Vinod
408910e6e8
Merge branch 'develop' into next
...
* develop:
Fixed docs according review
chore: Fix type imports
Fixed links
Split development documentation in several separate pages, fixes for the sidebar menu
2023-08-23 13:19:12 +05:30
Knut Sveidqvist
c3160b2693
Merge pull request #4748 from mermaid-js/feature/4674_sankeyValues
...
feat(sankey): Show values
2023-08-23 07:42:30 +00:00
Knut Sveidqvist
2ab393cd16
Merge pull request #4763 from mermaid-js/sidv/fixTypeImports
...
chore: Enforce type imports
2023-08-23 07:37:45 +00:00
Sidharth Vinod
bd98da16a0
Merge pull request #4744 from nirname/docs/2910_split-development-documentation
...
Split development documentation into several pages
2023-08-23 06:36:46 +00:00
Nikolay Rozhkov
cee2a458f1
Fixed docs according review
...
Update docs
2023-08-23 00:30:17 +03:00
Reda Al Sulais
24c8e575f4
docs(parser): create packages/parser
README.md file
2023-08-22 20:39:19 +03:00
Tom PERRILLAT-COLLOMB
4a06bc1a68
test(er): add cypress test on entity name alias
2023-08-22 13:53:37 +02:00
Reda Al Sulais
8d0ca2c876
build: build .langium
file using generate
from langium-cli
2023-08-22 13:38:23 +03:00
Reda Al Sulais
fc96ebefd4
build: update langium
and langium-cli
to v2.0.1
2023-08-22 13:19:52 +03:00
Reda Al Sulais
394330175f
Merge remote-tracking branch 'upstream/next' into add-info-langium-parser
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-08-22 13:13:03 +03:00
Tom PERRILLAT-COLLOMB
a7ae1b6890
feat(er): use square brackets to add aliases
2023-08-22 11:05:09 +02:00
Sidharth Vinod
ce6992ea9b
docs: Fix sankey demo
2023-08-22 14:06:46 +05:30
Sidharth Vinod
0114a87f15
Merge branch 'develop' into feature/4674_sankeyValues
...
* develop:
chore: Remove circular dependency
2023-08-22 13:58:55 +05:30
Sidharth Vinod
f946c3da06
Merge branch 'develop' into next
...
* 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`
2023-08-22 13:58:24 +05:30
Sidharth Vinod
adfed1e432
Merge pull request #4750 from mermaid-js/feature/frontmatterConfig
...
feat: Support config in frontmatter.
2023-08-22 08:22:59 +00:00
Sidharth Vinod
11b599d77c
chore: Fix type imports
2023-08-22 13:44:11 +05:30
Sidharth Vinod
3944e9ac00
chore: Remove circular dependency
2023-08-22 13:36:32 +05:30
Sidharth Vinod
37aa6632aa
Merge branch 'feature/frontmatterConfig' into feature/4674_sankeyValues
...
* feature/frontmatterConfig:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:32:25 +05:30
Sidharth Vinod
156fbd1958
Merge branch 'develop' into next
...
* develop:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:31:59 +05:30
Sidharth Vinod
7e251ee8bc
Merge remote-tracking branch 'origin/develop' into feature/frontmatterConfig
...
* origin/develop:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:30:36 +05:30
Knut Sveidqvist
6e0f41180f
Merge pull request #4761 from mermaid-js/sidv/RemoveCircularDeps
...
Remove Circular Dependencies
2023-08-22 07:37:32 +00:00
Sidharth Vinod
52f05552a1
chore: Remove duplicate CI action
2023-08-22 11:42:12 +05:30
Sidharth Vinod
bb01b3972d
chore: Add circular dependency check in CI
2023-08-22 11:38:55 +05:30
Sidharth Vinod
1a50a326cb
refactor: Remove circular dependencies
2023-08-22 11:38:25 +05:30
Sidharth Vinod
7dd0d126e2
Merge branch 'develop' into next
...
* develop:
deps: Update unocss and webpack to address vulnerability.
chore(deps): update all patch dependencies
ci(release-drafter): add more release notes categories
2023-08-22 10:21:13 +05:30
Tom PERRILLAT-COLLOMB
cc8b4572d5
docs(er): add release version for entity name aliases
2023-08-22 00:30:33 +02:00
Tom PERRILLAT-COLLOMB
e5315f2933
feat(er): add entity name alias
2023-08-21 23:33:42 +02:00
Sidharth Vinod
d21eb29672
Merge branch 'feature/frontmatterConfig' into feature/4674_sankeyValues
...
* feature/frontmatterConfig:
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
deps: Update unocss and webpack to address vulnerability.
chore: Fix type in assignWithDepth
refactor: Move `sanitizeDirective` into `addDirective`
refactor: Rename and cleanup `directiveSanitizer`
chore(deps): update all patch dependencies
ci(release-drafter): add more release notes categories
2023-08-21 20:23:08 +05:30
Sidharth Vinod
fd45dbfc14
Merge branch 'develop' into feature/frontmatterConfig
2023-08-21 14:18:12 +00:00
sidharthv96
5c9eafabae
Update docs
2023-08-21 09:36:24 +00:00
Sidharth Vinod
2b9dc0ea80
docs: Add frontmatter config demos
2023-08-21 15:02:29 +05:30
Sidharth Vinod
8ac7dc81e0
docs: Add frontmatter config docs
2023-08-21 15:02:05 +05:30
Sidharth Vinod
2967b3c1bb
fix: XSS vulnerability
2023-08-21 14:25:25 +05:30
Sidharth Vinod
534fd85339
chore: Minor typo fixes
2023-08-21 12:53:29 +05:30
Sidharth Vinod
7298008374
Merge branch 'feature/frontmatterConfig' of https://github.com/mermaid-js/mermaid into feature/frontmatterConfig
...
* 'feature/frontmatterConfig' of https://github.com/mermaid-js/mermaid :
Update docs
2023-08-21 12:30:23 +05:30
Sidharth Vinod
844a175039
chore: Add test with both frontmatter and directive
2023-08-21 12:30:04 +05:30
sidharthv96
fd35a54735
Update docs
2023-08-21 06:43:15 +00:00
Sidharth Vinod
a6e6c3fb18
feat: Add support for config in frontmatter
2023-08-21 12:09:38 +05:30
Sidharth Vinod
31c0a0cbab
deps: Update unocss and webpack to address vulnerability.
2023-08-21 10:26:41 +05:30
Sidharth Vinod
767baa4ec6
chore: Fix type in assignWithDepth
2023-08-21 10:18:23 +05:30
Sidharth Vinod
f422a66dde
refactor: Move sanitizeDirective
into addDirective
2023-08-21 10:17:55 +05:30
Sidharth Vinod
fae976e994
refactor: Rename and cleanup directiveSanitizer
2023-08-21 10:13:48 +05:30
Sidharth Vinod
f4c62436ea
Merge pull request #4753 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-21 03:53:05 +00:00
renovate[bot]
21d0998db8
chore(deps): update all patch dependencies
2023-08-21 03:01:21 +00:00
Sidharth Vinod
0899f7918a
Merge pull request #4752 from mermaid-js/chore/add-more-release-notes-categories
...
ci(release-drafter): add more release notes categories
2023-08-21 02:55:59 +00:00
Reda Al Sulais
205360c109
fix: fix if statment logic checks if parser
is not undefined
2023-08-21 03:09:05 +03:00
Reda Al Sulais
984a0e6d06
chore: add a comment illustrate why we build packages sequentially
2023-08-21 03:05:23 +03:00
Reda Al Sulais
eb63568ceb
chore: refactore &&
into if
in populateCommonDb
2023-08-21 03:04:39 +03:00
Reda Al Sulais
cc6f896b69
chore: remove ./*
part from exports
in parser/package.json
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-21 03:03:50 +03:00
Reda Al Sulais
83e47a7216
fix: use execFileSync
instead of execSync
in generateLangium
2023-08-21 02:54:30 +03:00
Reda Al Sulais
1d64549cce
fix(mermaid): mark mermaid-parser
dependecy with ^
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-21 02:54:13 +03:00
Alois Klink
7a547abd89
ci(release-drafter): add more release notes categories
...
Add the following new categories to the release notes:
- **BREAKING CHANGES**
- Performance
- Documentation
I've also made the `feature`, `fix`, and `chore` label point to
their appropriate section.
2023-08-20 23:42:18 +01:00
Sidharth Vinod
4d84f1cd71
feat(sankey): Show values ( #4674 )
2023-08-20 21:18:09 +05:30
Reda Al Sulais
4ae361bd1f
reorder packages/parser
after packages/mermaid/src/vitepress
2023-08-20 18:45:05 +03:00
Reda Al Sulais
6502496a2c
Merge remote-tracking branch 'upstream/next' into add-info-langium-parser
2023-08-20 18:41:32 +03:00
Sidharth Vinod
8678ceeb3c
Merge pull request #4749 from Yokozuna59/remove-duplicate-dev-dependency
...
remove duplicate `@types/d3-scale` dev dependency
2023-08-20 15:38:50 +00:00
Reda Al Sulais
9cb62f4d2e
remove duplicate @types/d3-scale
dev dependency
2023-08-20 18:20:06 +03:00
Reda Al Sulais
6c0ef54e18
Merge branch 'next' into add-info-langium-parser
2023-08-20 18:01:37 +03:00
Sidharth Vinod
fd731c5ccd
Merge branch 'develop' into next
...
* 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
...
2023-08-20 20:28:52 +05:30
Sidharth Vinod
72fa3488b5
Merge pull request #4501 from Yokozuna59/standardized-pie-definitions
...
standardized pie definitions
2023-08-20 14:56:42 +00:00
Reda Al Sulais
cbe9490dc0
feat!: integrate info
parser into mermaid
package
...
BREAKING CHANGE: remove `showInfo` from `infoDb`.
2023-08-20 17:25:49 +03:00
Reda Al Sulais
82054bfabc
chore: make parser
as optional in ParserDefinition
2023-08-20 17:22:13 +03:00
Reda Al Sulais
963dd75c39
chore(parser): build parser
package using esbuild
and vite
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-08-20 17:16:12 +03:00
Subhash Halder
2b4c2e4ca9
Fixed lint and used selectSvgElement
2023-08-20 18:22:34 +05:30
Subhash Halder
5a64cec9ca
Merge branch 'develop' into feature/4269_add_xychart
2023-08-20 18:09:51 +05:30
Reda Al Sulais
1c24617f98
feat(parser): create info
parser with exporting parser internals
2023-08-20 15:38:46 +03:00
Reda Al Sulais
1559c2ca21
feat(parser): create common
directory for langium parsers
2023-08-20 15:36:02 +03:00
Reda Al Sulais
6141722b1f
feat: create parser
package in packages
directory
2023-08-20 15:31:40 +03:00
Subhash Halder
6c2bd33f36
Addressed all requested changes
2023-08-20 17:51:53 +05:30
Sidharth Vinod
cfffba2817
chore: Add comments on redirectMaps
2023-08-20 00:59:58 +05:30
Reda Al Sulais
222d8eed4e
Merge remote-tracking branch 'upstream/develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-08-19 16:20:13 +03:00
Reda Al Sulais
e7ee3eb9ea
Merge branch 'develop' into standardized-pie-definitions
2023-08-19 01:07:55 +03:00
Nikolay Rozhkov
7b45dbea1a
Fixed links
2023-08-18 03:14:12 +03:00
Nikolay Rozhkov
341130856f
Split development documentation in several separate pages, fixes for the sidebar menu
...
United similar sections at the intro page
Fix spelling
Update docs
2023-08-18 02:17:15 +03:00
Nikolay Rozhkov
b85c011cd1
Merge pull request #4742 from nirname/docs/2910_small-fixes
...
Fixes to Docs sidebar, main page and badges
2023-08-17 17:59:12 +00:00
Nikolay Rozhkov
aec97d68cc
Fixed wrong collapsible option at the left menu, updated vue
...
Fixed badges
Rely on classes instead of DOM structure
Prettier
Update docs
2023-08-17 16:37:22 +03:00
Sidharth Vinod
718d52a72c
chore: Move liveReload code into script.
2023-08-17 14:30:47 +05:30
Sidharth Vinod
fe1a06271a
Fix minify undefined
2023-08-17 12:55:25 +05:30
Sidharth Vinod
bd2370555b
Merge branch 'develop' into next
...
* develop:
chore: Move SVG import to comment.
build docs
Remove whitespace on empty line
Documentation for #2509
2023-08-17 12:18:40 +05:30
Sidharth Vinod
86c9ee4e90
Merge pull request #4733 from mermaid-js/sidv/splitChunks
...
Split chunks into individual dirs
2023-08-17 06:47:23 +00:00
Sidharth Vinod
7b7e281ec7
Merge pull request #4740 from jason-curtis/issue-2509-subgraph-direction-limitation
...
Documentation for #2509
2023-08-17 04:57:56 +00:00
Sidharth Vinod
35cc34d422
chore: Move SVG import to comment.
2023-08-17 10:28:50 +05:30
Jason Curtis
edb6ceae43
build docs
2023-08-17 03:48:00 +00:00
Jason Curtis
ef8b75a6da
Remove whitespace on empty line
2023-08-17 03:32:42 +00:00
Sidharth Vinod
b26bcf1343
chore: Fix minify
2023-08-17 08:22:00 +05:30
Sidharth Vinod
5d5c6275f9
Merge branch 'develop' into next
...
* 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
2023-08-17 08:20:11 +05:30
Reda Al Sulais
02daf5417b
Merge branch 'standardized-pie-definitions' of https://github.com/Yokozuna59/mermaid into standardized-pie-definitions
2023-08-17 02:22:12 +03:00
Reda Al Sulais
77d8e15dc4
remove chart
from pie.spec.ts
description
2023-08-17 02:21:15 +03:00
Yokozuna59
62142089f1
Update docs
2023-08-16 22:47:51 +00:00
Reda Al Sulais
defe40692a
change defaultConfig
type to RequiredDeep
and use it in pieDb
2023-08-17 01:42:41 +03:00
Jason Curtis
337ff3c32b
Documentation for #2509
2023-08-16 21:12:32 +00:00
Sidharth Vinod
9c1a47d1fc
Merge pull request #4729 from mermaid-js/sidv/esbuildV11
...
Use ESBuild (replaces UMD with IIFE bundle)
2023-08-16 12:06:07 +00:00
Reda Al Sulais
744cc792f4
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 23:27:03 +03:00
Justin Greywolf
3f327196fd
return comment
2023-08-15 11:07:21 -07:00
Justin Greywolf
bbaab54ec9
add tsdoc comments
2023-08-15 11:02:06 -07:00
Justin Greywolf
9a9abac5b1
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-15 10:08:42 -07:00
Justin Greywolf
6ed0c9bc36
update tests
2023-08-15 10:02:31 -07:00
Reda Al Sulais
99978da55b
Merge pull request #4724 from Yokozuna59/chore/convert-svgDrawCommon-to-ts
...
convert `diagrams/common/svgDrawCommon.js` to ts
2023-08-15 16:41:11 +00:00
Reda Al Sulais
50eb3cf1c9
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-15 19:37:02 +03:00
Reda Al Sulais
c1b9c54fc9
use DiagramStylesProvider
in pieStyles.ts
2023-08-15 17:56:18 +03:00
Reda Al Sulais
0d179c501e
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 14:01:09 +03:00
Sidharth Vinod
085e8f78b3
Merge pull request #4731 from mermaid-js/renovate/patch-all-patch
...
Update all patch dependencies (patch)
2023-08-14 11:05:49 +00:00
Sidharth Vinod
f9d4a62609
Merge pull request #4732 from mermaid-js/renovate/all-minor
...
Update all minor dependencies (minor)
2023-08-14 11:04:27 +00:00
Sidharth Vinod
13852b7f4e
Fix import
2023-08-14 09:24:34 +05:30
Sidharth Vinod
4fd7a88a15
chore: Fix outfile names
2023-08-14 08:52:56 +05:30
renovate[bot]
2a8374312f
Update all minor dependencies
2023-08-14 03:07:45 +00:00
Sidharth Vinod
5c2a6b5eb1
chore: Add analyzer comment
2023-08-14 08:37:02 +05:30
Sidharth Vinod
9cbebbb8a0
chore: Split chunks into folders
2023-08-14 08:35:49 +05:30
Sidharth Vinod
e26d987c4e
chore: Split chunks into folders
2023-08-14 08:34:11 +05:30
Sidharth Vinod
53669efaf8
chore: Add defaultOptions to server
2023-08-14 08:30:51 +05:30
Sidharth Vinod
b68f45ef59
chore: Split chunks into folders
2023-08-14 08:27:14 +05:30
renovate[bot]
b60410161d
Update all patch dependencies
2023-08-14 02:02:28 +00:00
Sidharth Vinod
8f44de651b
chore: IIFE to cSpell
2023-08-14 00:55:48 +05:30
Sidharth Vinod
2ede244da0
chore: Minor comments
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-14 00:55:48 +05:30
Sidharth Vinod
77a181978e
chore: Replace Date.now with console.time
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-14 00:55:48 +05:30
Sidharth Vinod
170bbce0d3
chore: Build at start
2023-08-14 00:55:41 +05:30
Sidharth Vinod
fc99d9be41
chore: Add build times to live reload
2023-08-14 00:55:41 +05:30
Sidharth Vinod
9fb9bed806
chore: Add live-reload
2023-08-14 00:55:34 +05:30
Sidharth Vinod
01b2f80a95
chore: Remove @vitest/coverage-c8
2023-08-14 00:54:33 +05:30
Sidharth Vinod
da7ff777d1
chore: Add esbuild (Breaking change)
...
mermaid.min.js and mermaid.js will now be IIFE instead of UMD.
2023-08-14 00:52:45 +05:30
Subhash Halder
526de36c86
Updated code to use latest config system
2023-08-13 22:56:50 +05:30
Reda Al Sulais
d219f92a19
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-13 17:45:37 +03:00
Reda Al Sulais
3f3a7340e3
remove setConfig
and resetConfig
in pie
2023-08-12 21:18:07 +03:00
Reda Al Sulais
cb5f70c139
add structuredClone
in pie getConfig
2023-08-12 21:09:14 +03:00
Reda Al Sulais
99c1758490
make more RectData
required and remove optional assignment
2023-08-12 20:25:10 +03:00
Sidharth Vinod
43217e1395
Merge branch 'master' into develop
...
* master:
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
#2139 Applying user defined classes properly when calculating shape width
chore: Ignore localhost
Update packages/mermaid/src/docs/community/development.md
Update docs/community/development.md
docs: Add development example page.
2023-08-12 17:04:25 +05:30
Sidharth Vinod
aa34b99203
Merge remote-tracking branch 'origin/release/10.3.1'
...
* origin/release/10.3.1: (85 commits)
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
use default export in `error` diagram
create `ParserDefinition` type
standardized `error` diagram'
#2139 Applying user defined classes properly when calculating shape width
style: format packages/mermaid/src/config.type.ts
build(types): use prettier conf on config.types.ts
Syntax Update CONTRIBUTING.md
docs: Correct detectType filename
chore: Minor cleanups
chore: remove comment
chore: Remove comments, cleanup
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
...
2023-08-12 17:04:06 +05:30
Reda Al Sulais
541ee1eade
Merge remote-tracking branch 'upstream/develop' into chore/convert-svgDrawCommon-to-ts
2023-08-11 23:07:45 +03:00
Reda Al Sulais
f01ad644e3
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-08-11 22:44:05 +03:00
Reda Al Sulais
9538233573
use lineBreakRegex in svgDrawCommon
2023-08-11 21:16:53 +03:00
Reda Al Sulais
5a2ea7c297
fix svgDrawCommon import by adding .js
2023-08-11 21:13:17 +03:00
Reda Al Sulais
22b172d873
add types to svgDrawCommon.ts
2023-08-11 20:56:00 +03:00
Reda Al Sulais
92098e23eb
convert svgDrawCommon
to TS
2023-08-11 20:54:39 +03:00
Sidharth Vinod
591cb794eb
Merge pull request #4717 from Yokozuna59/chore/convert-assignWithDepth-to-ts
...
convert `assignWithDepth` to TS
2023-08-11 17:32:40 +00:00
Reda Al Sulais
f9d978859e
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 19:56:22 +03:00
Reda Al Sulais
6170538c47
Merge branch 'develop' into chore/convert-assignWithDepth-to-ts
2023-08-11 19:54:57 +03:00
Reda Al Sulais
c37c494a1e
Update assignWithDepth.ts
2023-08-11 19:54:37 +03:00
Nicko J. Ruddock
65c93807d8
Fix Twitter fontawesome class in flowchart.md
2023-08-11 15:23:16 +01:00
Knut Sveidqvist
8ed9ddc7aa
Merge branch 'release/10.3.1'
2023-08-11 14:21:10 +02:00
Knut Sveidqvist
a0b80f5490
Version update and adjusted error diagram
2023-08-11 14:03:56 +02:00
Knut Sveidqvist
493023118f
Fix for broker error diagram related #4178
2023-08-11 13:59:16 +02:00
Knut Sveidqvist
c5e7e6040c
Adding new flowchart tests related to issue #2139
2023-08-11 13:58:19 +02:00
Knut Sveidqvist
c938c7a438
Fix for interim issue with classes in state diagrams
2023-08-11 13:57:26 +02:00
Knut Sveidqvist
c7bcf72c69
Merge branch 'develop' into release/10.4.0
2023-08-11 11:46:30 +02:00
Sidharth Vinod
da602add5d
Merge pull request #4697 from mermaid-js/sidv/fixTripleParsing
...
fix: Remove triple parsing of diagrams
2023-08-11 15:14:33 +05:30
Knut Sveidqvist
9049a99c8d
Merge pull request #4722 from mermaid-js/2139-handling-styling-properly-when-calculating-width
...
#2139 Applying user defined classes properly when calculating shape width
2023-08-11 09:58:29 +02:00
Knut Sveidqvist
60957519c8
Merge branch 'develop' into release/10.4.0
2023-08-11 09:43:58 +02:00
Reda Al Sulais
8a8e062342
cleanAndMerge pieConfig
2023-08-11 03:55:04 +03:00
Reda Al Sulais
1721282182
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:46:33 +03:00
Reda Al Sulais
d8dd68cad2
redeclare config
parameter add default value for each variable
2023-08-11 01:42:26 +03:00
Reda Al Sulais
9b9ad1da7d
Merge pull request #4718 from Yokozuna59/chore/standardized-error-definitions
...
standardized `error` diagram
2023-08-10 22:35:02 +00:00
Reda Al Sulais
0d380bb2c7
Merge branch 'develop' into chore/standardized-error-definitions
2023-08-11 01:24:47 +03:00
Reda Al Sulais
120bdabee1
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:04:06 +03:00
Reda Al Sulais
9ab048c7e9
use default export in error
diagram
2023-08-11 00:55:31 +03:00
Reda Al Sulais
a5a3ffc768
Merge pull request #2 from mermaid-js/sidv/cleanMerge
...
Sidv/clean merge
2023-08-11 00:49:38 +03:00
Sidharth Vinod
1078b1c8f6
Merge pull request #4719 from Yokozuna59/chore/create-ParserDefinition-type
...
create `ParserDefinition` type
2023-08-10 21:35:57 +00:00
Sidharth Vinod
dfeb25127b
remove cleanClone
2023-08-11 02:50:24 +05:30
Sidharth Vinod
396bda8d95
feat: Add cleanAndMerge and tests
2023-08-11 02:47:46 +05:30
Sidharth Vinod
cc70d37166
chore: Rename utils.spec.ts
2023-08-11 02:38:57 +05:30
Reda Al Sulais
3f5da06bb0
move db assignment from beforeEach
to beforeAll
2023-08-10 22:43:39 +03:00
Reda Al Sulais
be106befff
create structuredCleanClone
helper function
2023-08-10 23:10:06 +03:00
Reda Al Sulais
980a5ac8b5
create ParserDefinition
type
2023-08-10 22:26:04 +03:00
Reda Al Sulais
d5f11fc80a
convert assignWithDepth
to TS
2023-08-10 22:09:14 +03:00
Reda Al Sulais
46de343785
standardized error
diagram'
...
* remove empty `styles.js`
* use named imports/exports instead of default
* remove unnecessary data in diagram definition
2023-08-10 22:07:39 +03:00
Reda Al Sulais
c4113541e1
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-10 21:44:29 +03:00
Reda Al Sulais
fb49f25eef
add more types to pieRenderer
2023-08-10 21:36:39 +03:00
Reda Al Sulais
a9681d1b1c
add resetConfig
to clear
in pieDb
2023-08-10 21:19:56 +03:00
Reda Al Sulais
545d361d3f
rename reset
to resetConfig
2023-08-10 21:01:32 +03:00
Sidharth Vinod
66b579cd89
Merge pull request #4715 from aloisklink/chore/use-our-prettier-config-for-types
...
Use our prettier config on the `packages/mermaid/src/config.type.ts` file
2023-08-10 14:36:03 +00:00
Knut Sveidqvist
c55a0947be
#2139 Applying user defined classes properly when calculating shape width
2023-08-10 13:15:16 +02:00
Alois Klink
0b9f6d1ff9
style: format packages/mermaid/src/config.type.ts
...
Run `pnpm run --filter mermaid types:build-config` to format
the `packages/mermaid/src/config.type.ts` file with the new prettier
config.
2023-08-09 19:22:30 +01:00
Alois Klink
7742a6c485
build(types): use prettier conf on config.types.ts
...
Currently, the `packages/mermaid/src/config.type.ts` types file
(auto-generated via `pnpm run --filter mermaid types:build-config`)
uses the default prettier config.
Instead, we should use the prettier config in the Mermaid repo, as it's
slightly different from the default prettier config.
2023-08-09 19:15:09 +01:00
Nikolay Rozhkov
3e598f4e8e
Merge pull request #4714 from mermaid-js/sidv/exampleDev
...
docs: Add development example page.
2023-08-09 17:08:29 +03:00
Sidharth Vinod
eb397fdb04
Merge branch 'sidv/exampleDev' of https://github.com/mermaid-js/mermaid into sidv/exampleDev
...
* 'sidv/exampleDev' of https://github.com/mermaid-js/mermaid :
Update packages/mermaid/src/docs/community/development.md
Update docs/community/development.md
2023-08-09 19:00:01 +05:30
Sidharth Vinod
6c1afb7a8d
chore: Ignore localhost
2023-08-09 18:59:55 +05:30
Sidharth Vinod
fee6f459a8
Update packages/mermaid/src/docs/community/development.md
2023-08-09 17:44:49 +05:30
Sidharth Vinod
e128a11f3b
Update docs/community/development.md
2023-08-09 17:44:24 +05:30
Reda Al Sulais
38dc17f426
use structedClone
in pieDb
2023-08-09 14:12:08 +03:00
Reda Al Sulais
453c67e5ea
remove PieDiagramConfig
and import generated one
2023-08-09 13:47:08 +03:00
Reda Al Sulais
a69a97fdd9
remove unnecessary lines in pie files
2023-08-09 13:41:01 +03:00
Reda Al Sulais
820cc48c11
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-09 13:31:34 +03:00
Sidharth Vinod
06e4a6398c
docs: Add development example page.
2023-08-09 14:59:50 +05:30
Sidharth Vinod
85a988c31c
Merge pull request #4713 from soomrozaid/soomrozaid-patch-1
...
Syntax Update CONTRIBUTING.md
2023-08-09 07:58:58 +00:00
Zaid Soomro
776035553a
Syntax Update CONTRIBUTING.md
2023-08-09 01:04:04 -06:00
Reda Al Sulais
ca1cdb1d94
remove unused HTML
import in pieRenderer
2023-08-08 19:00:27 +03:00
Reda Al Sulais
5485517b27
remove SVG import logs in setupGraphViewbox
2023-08-08 18:55:46 +03:00
Reda Al Sulais
96380600d9
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-08 15:02:23 +03:00
Sidharth Vinod
da8112afa5
Merge branch 'develop' into sidv/fixTripleParsing
...
* develop: (59 commits)
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
Add underscore to unit test on special Chars
Revert to old docs concerning quotations marks in string
Refactor unit tests and remove repetition
Correct idStringToken definition to include all individual special tokens
Add unit tests for node ids with special Chars
Create lychee.toml
create `selectSvgElement`
change `svgElem` to `SVG` in `configureSvgSize`
add `configureSvgSize` in infoRenderer
run docs:build
remove info sandbox test case
Remove replaceAll method in addLink
Modify HREF token regex to contain space
Add unit tests for stange node names
Remove escaped quotes with backslash feature
...
2023-08-08 13:37:02 +05:30
Sidharth Vinod
bae9a7c1b8
docs: Correct detectType filename
2023-08-08 11:13:45 +05:30
Sidharth Vinod
776b219c03
chore: Minor cleanups
2023-08-08 00:31:17 +05:30
Sidharth Vinod
4471001ef2
chore: remove comment
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-08 00:24:38 +05:30
Sidharth Vinod
bcb0817ecd
Merge pull request #4705 from danshuitaihejie/fix_zenuml_style_leakage
...
fix!(deps): fix zenuml style leakage.
2023-08-07 18:50:03 +00:00
Sidharth Vinod
646f7662d0
chore: Remove comments, cleanup
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
Co-authored-by: Nikolay Rozhkov <nironame@gmail.com >
Co-authored-by: Yokozuna59 <u.yokozuna@gmail.com >
2023-08-07 15:12:37 +05:30
Reda Al Sulais
9563b22132
refactor pieRenderer
2023-08-06 21:23:42 +03:00
danshuitaihejie
6df76d93e5
fix!(deps): fix zenuml style leakage.
...
update @zenuml/core to ^3.0.6 to fix the style leakage.
2023-08-07 00:21:57 +08:00
Reda Al Sulais
e6a18eea91
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-06 18:30:51 +03:00
Reda Al Sulais
7da38b9afe
Merge pull request #4514 from Yokozuna59/resolve-info-html-assignment
...
resolve info `HTML` and `Document` assignment
2023-08-06 15:16:00 +00:00
Jonas Haag
d2ed52461e
Use utf8 encoding in Jupyter example
...
mermaid.ink can render some UTF-8 characters
2023-08-06 13:44:09 +02:00
Subhash Halder
6c2faf0bda
Simplified the jison file
2023-08-06 16:11:47 +05:30
Reda Al Sulais
71205f5bd6
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-05 21:33:03 +03:00
Reda Al Sulais
1802f5d0c0
Update selectSvgElement.ts
2023-08-05 20:45:23 +03:00
Reda Al Sulais
ef29388d68
Merge branch 'develop' into resolve-info-html-assignment
2023-08-05 19:03:35 +03:00
Nikolay Rozhkov
e1379ee048
Merge pull request #4657 from ibrahimWassouf/bug/4645_graph_node_containing_keyword
...
Bug/4645 graph node containing keyword
2023-08-05 15:56:32 +00:00
Reda Al Sulais
4845635f48
create Group
type
2023-08-05 16:00:06 +03:00
Ibrahim Wassouf
34bf618ecb
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-03 20:25:51 -04:00
Ibrahim Wassouf
c9db0ee749
Add specialChars in textNoTagsToken, alphaNumToken
...
This will ensure that alphaNumToken does not lose any of
the previously used tokens in its definition. The same
tokens were added to textNoTagsToken explicitly, because it used to
have alphaNumToken in its definition before I removed it.
Previously, textNoTagsToken and alphaNumToken had many tokens in
common in their definition. To avoid grammar conflicts, the
alphaNumStatement grammar was created. However, I found this
unintuitive and was an extra step just to avoid repetition in
the definitions.
I opted to have repetition in the definitions of textNoTagsToken
and alphaNumToken and it be explicitly clear right away, rather than
have extra grammar statements like alphaNumStatement which don't look
like they do anything at first glance
2023-08-03 21:05:41 -03:00
Ibrahim Wassouf
850513fa3d
Return Unicode Text to idStringToken definition
2023-08-03 20:58:37 -03:00
Ibrahim Wassouf
aaf333676c
Add underscore to unit test on special Chars
2023-08-03 20:15:11 -03:00
Ibrahim Wassouf
5a165e4c1d
Revert to old docs concerning quotations marks in string
2023-08-03 20:11:50 -03:00
Ibrahim Wassouf
ee6fa94aa2
Refactor unit tests and remove repetition
2023-08-03 20:05:11 -03:00
Reda Al Sulais
23b6d53f80
Merge branch 'standardized-pie-definitions' of https://github.com/Yokozuna59/mermaid into standardized-pie-definitions
2023-08-04 01:33:29 +03:00
Reda Al Sulais
f4671e4e3a
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-04 01:32:12 +03:00
Ibrahim Wassouf
971215e353
Correct idStringToken definition to include all individual special tokens
2023-08-03 19:15:23 -03:00
Ibrahim Wassouf
199fdce982
Add unit tests for node ids with special Chars
2023-08-03 18:59:39 -03:00
Reda Al Sulais
90c8dd1dab
Merge branch 'develop' into resolve-info-html-assignment
2023-08-04 00:42:55 +03:00
Sidharth Vinod
f8ebfeefec
Merge pull request #4699 from mermaid-js/lychee-config
...
Lychee config
2023-08-03 19:13:59 +00:00
Matthieu MOREL
8db2fb8f90
Create lychee.toml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-08-03 19:04:24 +00:00
Reda Al Sulais
e2fac72166
create selectSvgElement
2023-08-03 21:34:22 +03:00
Reda Al Sulais
c954e0eb1d
rename styles.ts
into pieStyles.ts
2023-08-03 21:00:22 +03:00
Reda Al Sulais
de37efefd7
add type
for PieStyleOptions
2023-08-03 20:58:39 +03:00
Reda Al Sulais
bdfd8974d4
change default useWidth
in pie to 984
2023-08-03 20:56:18 +03:00
Sidharth Vinod
95efc1786f
fix: unitTests after tripleParsing removal
2023-08-03 23:21:49 +05:30
Reda Al Sulais
0c55e4c2ad
Merge branch 'develop' into resolve-info-html-assignment
2023-08-03 20:44:29 +03:00
Sidharth Vinod
10d5b5d1d6
fix: Remove triple parsing of diagrams
2023-08-03 22:54:37 +05:30
Sidharth Vinod
23fea41fb4
Merge branch 'master' into develop
...
* master:
fix : #4676 redirect fix
fix style in contributors section of intro
add latest blog post
2023-08-03 22:16:17 +05:30
Reda Al Sulais
a4f778f4de
change svgElem
to SVG
in configureSvgSize
2023-08-03 15:55:05 +03:00
Reda Al Sulais
bb6664a2c6
add configureSvgSize
in infoRenderer
2023-08-03 15:47:31 +03:00
Sidharth Vinod
939d082a8e
Merge pull request #4668 from mermaid-js/latest-news
...
Docs: add latest blog post
2023-08-02 23:52:50 +05:30
Steph
b26449f338
Merge branch 'master' into latest-news
2023-08-02 11:18:28 -07:00
Reda Al Sulais
b99eb8b624
run docs:build
2023-08-02 16:30:55 +03:00
Reda Al Sulais
ffdfe11f10
Merge branch 'develop' into resolve-info-html-assignment
2023-08-02 16:26:15 +03:00
Reda Al Sulais
7465384e1d
remove info sandbox test case
2023-08-02 16:18:21 +03:00
Reda Al Sulais
aecf451ed1
update pnpm-lock.yaml
2023-08-02 15:55:02 +03:00
Reda Al Sulais
7d69ad2d5b
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-02 15:54:23 +03:00
Reda Al Sulais
74fa9956a3
run pnpm lint:fix
2023-08-02 15:46:18 +03:00
Reda Al Sulais
e33340331a
add type-fest to mermaid dev deps
2023-08-02 15:44:44 +03:00
Sidharth Vinod
bdd9394d0b
Merge pull request #4693 from mermaid-js/sidv/fix/4676
...
fix : #4676 redirect fix
2023-08-02 09:40:37 +05:30
Sidharth Vinod
7ebfc272e4
fix : #4676 redirect fix
2023-08-02 09:36:40 +05:30
Sidharth Vinod
b87f1f2098
Merge pull request #4692 from mermaid-js/dependabot/npm_and_yarn/pnpm-8.6.8
...
build(deps-dev): bump pnpm from 8.3.1 to 8.6.8
2023-08-02 03:08:17 +00:00
Sidharth Vinod
c9c2f6c121
Merge pull request #4677 from djadmin/chore_dompurify_unpin_dependency
...
chore(deps): unpin the dompurify dependency
2023-08-02 03:06:18 +00:00
Sidharth Vinod
585834c561
Merge pull request #4689 from Incognito/chore/4678_misleading-ts-ignore-comment
...
chore: ts-ignore comment was misleading, JISON doesn't support types
2023-08-02 03:05:51 +00:00
Ibrahim Wassouf
dc57fcf7e7
Remove replaceAll method in addLink
2023-08-01 16:46:37 -03:00
dependabot[bot]
8b79060829
build(deps-dev): bump pnpm from 8.3.1 to 8.6.8
...
Bumps [pnpm](https://github.com/pnpm/pnpm ) from 8.3.1 to 8.6.8.
- [Release notes](https://github.com/pnpm/pnpm/releases )
- [Commits](https://github.com/pnpm/pnpm/compare/v8.3.1...v8.6.8 )
---
updated-dependencies:
- dependency-name: pnpm
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-01 17:07:15 +00:00
Ibrahim Wassouf
daf43f8d34
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 11:07:25 -04:00
Brian Graham
4cdb43f791
ts-ignore comment was misleading, JISON doesn't support types
2023-08-01 14:30:58 +02:00
Sidharth Vinod
660162686b
Merge pull request #4681 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-01 12:16:41 +00:00
Sidharth Vinod
6e2bf00a43
Merge pull request #4688 from Incognito/docs/4659_new-diagrams-no-directives
...
Docs: Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 12:16:20 +00:00
Brian Graham
cc01ff9129
Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 14:08:41 +02:00
Ibrahim Wassouf
7dc985712a
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 06:59:12 -04:00
Ibrahim Wassouf
e3c5e6f095
Modify HREF token regex to contain space
...
This attempts to maintain the current behaviour.
Previously, because HREF contained a space and called
a state, the href token was able to be placed in the
beginning of node ids (because it wouldn't conflict
without the space). We require the space to keep that
behaviour.
2023-08-01 07:54:48 -03:00
Ibrahim Wassouf
ef4f22841f
Add unit tests for stange node names
2023-08-01 07:54:32 -03:00
renovate[bot]
c292c897a1
chore(deps): update all patch dependencies
2023-08-01 08:42:21 +00:00
Alois Klink
cc7fd337ac
Merge pull request #4687 from mermaid-js/dependabot/npm_and_yarn/vite-4.3.9
...
build(deps-dev): bump vite from 4.3.3 to 4.3.9
2023-08-01 08:28:15 +00:00
Alois Klink
6b41420ddd
Merge pull request #4686 from mermaid-js/dependabot/npm_and_yarn/braintree/sanitize-url-6.0.1
...
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
2023-08-01 08:27:58 +00:00
Alois Klink
351b229c37
Merge pull request #4685 from mermaid-js/dependabot/npm_and_yarn/json5-2.2.3
...
build(deps-dev): bump json5 from 2.2.1 to 2.2.3
2023-08-01 08:27:48 +00:00
dependabot[bot]
266a5e8133
build(deps-dev): bump vite from 4.3.3 to 4.3.9
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.3 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-01 06:38:37 +00:00
dependabot[bot]
55963107d0
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
...
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url ) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md )
- [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-01 06:38:16 +00:00
dependabot[bot]
a7e37d0c8b
build(deps-dev): bump json5 from 2.2.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-01 06:36:36 +00:00
Sidharth Vinod
ead48600be
Merge pull request #4682 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-08-01 06:28:51 +00:00
Ibrahim Wassouf
834c67ecaa
Remove escaped quotes with backslash feature
2023-07-31 22:47:05 -03:00
renovate[bot]
1a99825ab2
chore(deps): update all minor dependencies
2023-07-31 01:25:54 +00:00
Ibrahim Wassouf
b5456813e8
Show escaped quotes in docs using old and new method
2023-07-29 22:44:18 -03:00
Ibrahim Wassouf
ed4feaebf2
Remove required space from TAGEND token regex
...
Originally, I thought this was necessary to prevent parsing
the token as part of an edge. I forgot that the token will always
be separated from the link/edge by the node id. Added an unit test
for an edge case to be certain.
2023-07-29 22:27:31 -03:00
Ibrahim Wassouf
844f9d96e7
Update and add new imgSnapshotTest
2023-07-29 22:16:28 -03:00
Ibrahim Wassouf
bed05ce061
Disallow any vertex shape start or end token in any text state
2023-07-29 21:23:05 -03:00
Ibrahim Wassouf
f269f8cc5b
Refactor unit tests for vertex shape
2023-07-29 21:14:02 -03:00
Ibrahim Wassouf
e25763d645
Modified docs to mention escaping quotes with backslash
2023-07-28 21:19:30 -03:00
Dheeraj Joshi
6c12bbb80f
chore(deps): unpin the dompurify dependency
2023-07-28 16:02:17 +05:30
Ibrahim Wassouf
d8897426cd
Correct edge strings to have same configuration as vertex strings
2023-07-27 09:29:26 -03:00
Ibrahim Wassouf
9eed2e278b
Add imgSnapshotTest for escaped quotes
2023-07-27 09:29:26 -03:00
Ibrahim Wassouf
1df68f9a5f
Remove class statement to show application of default class
2023-07-27 09:29:26 -03:00
Sidharth Vinod
1397a873c2
Merge pull request #4670 from keer4n/docs/fix-style-in-contributors-section-of-intro
...
fix style in contributors section of intro
2023-07-27 17:27:36 +05:30
Ibrahim Wassouf
1dfb400a46
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-26 16:59:54 -04:00
Knut Sveidqvist
35299978a4
Merge branch 'master' into develop
2023-07-26 09:49:59 +02:00
Knut Sveidqvist
165e0b6c68
Merge pull request #4669 from mermaid-js/release/10.3.0
...
Release/10.3.0
2023-07-26 09:49:15 +02:00
Kiran
304d8844f0
fix style in contributors section of intro
2023-07-26 00:19:50 -06:00
Ibrahim Wassouf
9655ba9e63
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-25 20:57:14 -03:00
Ibrahim Wassouf
fd461b7860
Reimplement old alphaNumToken
2023-07-25 20:56:08 -03:00
Ibrahim Wassouf
30a9b5574d
Correct classDef and class grammar
...
Previously, you were allowed to define a class called 'default'
but were not allowed to use it because the classStatement grammar
expected an alphanum, which did not include the word DEFAULT
2023-07-25 20:35:08 -03:00
Steph
edf94790f2
add latest blog post
2023-07-25 10:22:17 -07:00
Ibrahim Wassouf
20cd685ae3
Allow escaped quotations in strings
2023-07-24 22:43:55 -03:00
Ibrahim Wassouf
47c100809b
Add unit tests for all cases of TEXT and STR combinations
2023-07-24 21:46:28 -03:00
Ibrahim Wassouf
651274bc6f
Only allow quotes to wrap entire string
2023-07-24 21:23:21 -03:00
Ibrahim Wassouf
4cfbd0d380
Remove unused definitions
2023-07-24 21:05:17 -03:00
Ibrahim Wassouf
45d92769aa
Change rest of grammar statements to use variable name instead of position
2023-07-24 21:04:36 -03:00
Ibrahim Wassouf
474e0b9c82
Refactor vertex grammars to use name values instead of position in production
2023-07-23 21:54:42 -03:00
Ibrahim Wassouf
087738df78
Refactor statement grammars to use name values instead of positions in production
2023-07-23 21:39:21 -03:00
Ibrahim Wassouf
fa8e02721a
Refactor directive grammar to use name instead of position in production
2023-07-23 21:32:52 -03:00
Ibrahim Wassouf
4b9773a272
Refactor token precedence that concern vertex text states
2023-07-23 21:25:19 -03:00
Ibrahim Wassouf
fd88b424b4
Add unit test for vertex and edge having both strings and text
2023-07-22 15:09:24 -03:00
Ibrahim Wassouf
3ab0e9998d
Remove href state and give call higher precedence
...
Similar to what was done in the class diagram parser,
this will allow string tokens to appear in any state.
This is especially helpful, because it will simplify the
code and any future refactoring
2023-07-22 14:39:45 -03:00
Ibrahim Wassouf
f48a9c8696
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-21 21:12:16 -03:00
Ibrahim Wassouf
eea0ea5e07
Add unit tests for node id strings with keywords
2023-07-21 21:10:37 -03:00
Ibrahim Wassouf
20011c6882
Add unit tests for edge text
2023-07-21 20:44:37 -03:00
Ibrahim Wassouf
0cc8f89115
Add edgeText states
2023-07-21 19:40:04 -03:00
Ibrahim Wassouf
8ff06e88ce
Correct expected error message in unit test
2023-07-21 18:27:20 -03:00
Ibrahim Wassouf
3fa3ed7b18
Remove grammar and unit test that expects HEX token
...
This was never really used and had many things wrong with it.
I believe that if a hex was provided in the diagram specification,
the alphanum grammar would break it up into a BRKT and NUM token
and use the first line with the addVertex() function.
Second, the styleLink grammar provides the exact same functionality
with the linkStyle keyword.
Third, updateLink() expects an array of nums, not a hex digit.
Fourth, no documentation is provided on this grammar statement existing.
Fifth, the unit test does not work in version 10.2.4
2023-07-21 18:15:43 -03:00
Ibrahim Wassouf
0a4e5f5f6b
Slightly alter unit test node idString
2023-07-21 18:15:27 -03:00
Ibrahim Wassouf
0d7cc748b8
Replace alphanum with idString where appropriate
2023-07-21 17:33:33 -03:00
Subhash Halder
6e98759ee7
Improve plot color selection
2023-07-21 22:42:46 +05:30
Ibrahim Wassouf
69c91ae5ed
Add unit test for edge case with lean_right/left vertices
2023-07-21 00:06:18 -03:00
Ibrahim Wassouf
7adb1bccb3
Replace alphanum with NODE_STRING for most usecases
...
What this allows is for idStrings that are separated by
dashes or underscores to be considered one whole string
rather than a bunch of tokens mixed together.
This is necessary for examples such as a-node-graph[text].
Now, the last part of the idString 'graph' will be read as
part of the NODE_STRING token rather than attempting to add
a GRAPH token to the idString.
2023-07-20 23:49:43 -03:00
Ibrahim Wassouf
5b987dee93
Put parser in stable state
2023-07-20 13:05:18 -03:00
Ibrahim Wassouf
3496f275bc
Re-implement markdown as its own text type
2023-07-19 22:56:53 -03:00
Ibrahim Wassouf
b46c28425e
Add text state and tests
2023-07-19 22:49:39 -03:00
Subhash Halder
c38cdcf2b2
Introduced theme config to configure cosmetics
2023-07-19 22:41:41 +05:30
Subhash Halder
5fd4ca2d41
added updated lock file
2023-07-19 20:52:34 +05:30
Subhash Halder
da1f46aada
Blank commit as commit is not reflecting in the main repo
2023-07-19 20:49:04 +05:30
Subhash Halder
958f63ecd2
Improved parsing to work for minimal configuration possible.
2023-07-19 20:49:04 +05:30
Subhash Halder
1c8497474a
Fixed prettier issues
2023-07-19 20:49:04 +05:30
Subhash Halder
89cfa17b07
Fixed some merge related issue and eslint issue
2023-07-19 20:49:04 +05:30
Subhash Halder
355263a4fb
Fixed some issue related to rendering and space management
2023-07-19 20:45:44 +05:30
Subhash Halder
553be985ae
Improved space management for text
2023-07-19 20:45:44 +05:30
Subhash Halder
597f7a8e87
Rendering the chart with all the property from chart config
2023-07-19 20:45:44 +05:30
Subhash Halder
ebd329149b
Able to draw till axis from chart configuration
...
- there is some issue with drawing the plot from chart data
2023-07-19 20:45:44 +05:30
Subhash Halder
1d98ead5c2
Added support for Diagram title
2023-07-19 20:44:21 +05:30
Subhash Halder
d69a8aeb63
Added full jison for bar and line chart
2023-07-19 20:44:21 +05:30
Subhash Halder
29ab2dec59
Now jison can parse xAxis and yAxis
2023-07-19 20:44:21 +05:30
Subhash Halder
0a731e1ee1
Added support for horizontal drawing
2023-07-19 20:44:21 +05:30
Subhash Halder
547a22edef
Added support for bar plot
2023-07-19 20:44:21 +05:30
Subhash Halder
cc1d6af232
Added axis tick and plot border
2023-07-19 20:44:21 +05:30
Subhash Halder
183bc0a978
Rendered axis with basic line chart
2023-07-19 20:44:21 +05:30
Subhash Halder
93697b74f4
Generated the base architecture
2023-07-19 20:44:21 +05:30
Subhash Halder
14e290bf1a
Added base structure for xychart
2023-07-19 20:44:21 +05:30
Justin Greywolf
02acf9d7d9
Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling
2023-07-03 09:40:52 -07:00
Justin Greywolf
e29d2b29a9
apply suggesitons
2023-07-03 09:40:25 -07:00
Justin Greywolf
c001520e54
Update packages/mermaid/src/diagrams/class/classTypes.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-07-02 18:11:25 -07:00
Justin Greywolf
8435330534
Update packages/mermaid/src/diagrams/class/classTypes.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-07-02 18:10:53 -07:00
Justin Greywolf
1d391d9408
Merge branch 'develop' into UpdateClassMemberHandling
2023-07-02 17:45:30 -07:00
Justin Greywolf
6abf0f1d19
Merge branch 'develop' into UpdateClassMemberHandling
2023-06-29 08:55:37 -07:00
Justin Greywolf
7b2ef1110a
update tests and db name
2023-06-28 12:37:32 -07:00
Justin Greywolf
3718274a1c
Merge branch 'develop' into UpdateClassMemberHandling
2023-06-28 08:26:33 -07:00
Yokozuna59
38ba45f735
run lint:fix
2023-06-28 01:35:27 +03:00
Yokozuna59
925e76e283
Merge branch 'develop' into resolve-info-html-assignment
2023-06-28 01:29:14 +03:00
Yokozuna59
760548335c
Merge branch 'develop' into standardized-pie-definitions
2023-06-27 01:45:35 +03:00
Yokozuna59
0a6fc1b582
Merge branch 'mermaid-js:develop' into resolve-info-html-assignment
2023-06-26 19:06:19 +03:00
Justin Greywolf
b32da2b1b1
Fix tests
2023-06-25 15:07:47 -07:00
Yokozuna59
30a66533bc
use backtick for cleaner variable string and the DOM document for default values
2023-06-23 23:26:45 +03:00
Yokozuna59
41c5152015
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-06-21 15:23:21 +03:00
Yokozuna59
b0ae0708e1
Merge branch 'mermaid-js:develop' into resolve-info-html-assignment
2023-06-21 15:23:11 +03:00
Yokozuna59
796a761a7d
remove unnecessary types in pieRenderer
2023-06-21 00:32:14 +03:00
Yokozuna59
09c4a26509
rename PieDb interface and more types with null sefety
2023-06-21 00:22:56 +03:00
Yokozuna59
e5907ec5ea
add info in sandbox cypress test case
2023-06-20 17:53:33 +03:00
Yokozuna59
daa98a2f54
use body of document instead of document itself in infoRenderer
2023-06-20 17:52:50 +03:00
Yokozuna59
99da3d7cd5
validate that height
in putInfoIframe
is defined
2023-06-20 17:49:07 +03:00
Yokozuna59
ce9d0e2e6a
use global useMaxWidth until making setConfig updates pie setConfig
2023-06-19 22:07:15 +03:00
Yokozuna59
ae8860eec3
add undefined
to getConfig return type until handle other diagrams
2023-06-19 21:56:35 +03:00
Yokozuna59
67d287f85e
use local config instead of glolal one in pieRenderer
2023-06-19 21:51:38 +03:00
Yokozuna59
9c2b95fc3c
add config functions to DiagramDB interface
2023-06-19 20:13:15 +03:00
Yokozuna59
3a22d4a501
shorten vitest pie.spec.ts by removing one time use variables
2023-06-19 17:57:39 +03:00
Yokozuna59
cecf759b0b
add showData unit test case
2023-06-19 17:52:28 +03:00
Yokozuna59
35c6b671de
add config unit test cases for pie chart
2023-06-19 17:46:19 +03:00
Yokozuna59
c894c1f5b5
add Required
and RequiredDeep
to pieDb, add config functions
2023-06-19 17:45:38 +03:00
Yokozuna59
a92571d588
add type-fest to mermaid dev deps
2023-06-19 17:40:01 +03:00
Yokozuna59
34a47706fd
update pnpm-lock.yaml
2023-06-19 13:41:36 +03:00
Yokozuna59
906d909d87
Merge branch develop into standardized-pie-definitions
2023-06-19 13:39:41 +03:00
Yokozuna59
1d0aa763de
document pie useWidth and update other pie config attributes
2023-06-18 17:53:28 +03:00
Yokozuna59
f6dc089ddf
add D3Sections type with variable renaming
2023-06-18 17:39:15 +03:00
Yokozuna59
95e01b4935
move PieDiagramConfig
into pieTypes
2023-06-18 01:45:21 +03:00
Yokozuna59
9145a9e69e
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-06-17 15:21:39 +03:00
Yokozuna59
6941814729
update pnpm-lock.yaml
2023-06-17 15:01:20 +03:00
Yokozuna59
32d3001e2a
Merge branch 'develop' into standardized-pie-definitions
2023-06-17 14:54:44 +03:00
Yokozuna59
452e543e77
Merge branch 'develop' into standardized-pie-definitions
2023-06-17 14:43:51 +03:00
Yokozuna59
23a5832fc9
add null safety in pieRenderer
2023-06-17 04:05:07 +03:00
Yokozuna59
8794fa0b38
clean up pieRenderer.ts
2023-06-17 03:28:08 +03:00
Yokozuna59
f2338f5b66
remove vanilla-extract from dev dependencies
2023-06-17 00:42:29 +03:00
Yokozuna59
5aba2fed8b
remove cy.get of info diagram
2023-06-17 00:01:54 +03:00
Yokozuna59
bd6795032f
return pieRender back to original and update it partially
2023-06-16 23:58:56 +03:00
Yokozuna59
c17b723295
convert pie.spec.js to ts, remove cy.get and useless comment, add showData unit test case
2023-06-16 23:45:13 +03:00
Yokozuna59
231a9630df
do deep cloning on section field in pie clear
2023-06-16 23:30:41 +03:00
Yokozuna59
bdb967e0a8
fix renderer import in pieDiagram
2023-06-16 23:09:10 +03:00
Yokozuna59
ea3fbbd58d
initial converting pie files
2023-06-16 23:05:06 +03:00
Yokozuna59
afea3e8f37
clean up demos/pie.html
2023-06-16 23:03:42 +03:00
Yokozuna59
4e7dbf76cc
add SVG type in configureSvgSize
function
2023-06-16 23:03:07 +03:00
Yokozuna59
a3901f691a
add @types/d3-scale
and @types/d3-shape` to mermaid dev deps
2023-06-16 22:47:40 +03:00
Justin Greywolf
a9ee184551
spec changes
2023-06-12 14:23:36 -07:00
Justin Greywolf
164605b442
update classes to handle , in generic
2023-06-12 11:31:29 -07:00
Justin Greywolf
f4ffd5c965
Merge branch 'develop' into UpdateClassMemberHandling
2023-06-09 16:01:15 -07:00
Justin Greywolf
b0b3c7f410
Update and add tests
2023-06-02 03:08:53 -07:00
Justin Greywolf
0aa09bfca5
Create new type for member handling
2023-05-30 10:43:44 -07:00
RohanHandore
3f7bafb2d7
I refactored the code to improve its time complexity by removing unnecessary code and optimizing the existing code.
...
Here are the changes I made:
Removed unnecessary variables and assignments
Removed unnecessary object property assignments
Removed redundant code by consolidating similar conditionals
Removed unused parameters and default values
Simplified some conditionals with boolean expressions
Removed unused variables and imports
Extracted common code into a reusable function
By optimizing the code in these ways, we can reduce the time complexity of the code and improve its performance.
2023-04-24 12:14:40 +05:30