Commit Graph

2088 Commits

Author SHA1 Message Date
Knut Sveidqvist 47acc1e423 Fix for issue with backticks in ids in classDiagrams 2023-09-29 13:38:00 +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 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
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
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
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 4be829412c
Update integrations.md 2023-09-23 17:21:02 +02:00
Steph a0e9b0c96d add git graph blog post 2023-09-22 10:09:05 -07: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
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
Hans Blankenhaus 2d0b22892d added requested changes 2023-09-21 12:24:24 +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
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
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
renovate[bot] 6bab2f6693
chore(deps): update all patch dependencies 2023-09-19 11:27:03 +00: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 4201e4775d
fix: Arrow markers in flowchart-elk 2023-09-14 14:52:39 +05:30
Sidharth Vinod 46a5b9543e
Bump version 2023-09-14 14:06:15 +05:30
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
Sidharth Vinod f208631a16
Merge branch 'develop' into fix/flowchartElkArrow 2023-09-13 22:30:57 +05:30
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
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
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 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
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 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 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 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
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
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 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
renovate[bot] ce7783414b
chore(deps): update all patch dependencies 2023-09-05 11:23:25 +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 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 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
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
Jake Boone 54b78acb47
"CSS" instead of "css" in flowchart.md (#4797) 2023-09-03 08:35:36 +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 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 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
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
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 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 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 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 12f11c6721 added test case 2023-08-27 15:47:22 -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 066e0967de
refactor: Move setWrap to individual diagrams as necessary. 2023-08-26 23:27:25 +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
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
Justin Greywolf 5a2b3db14c Merge branch 'develop' into UpdateClassMemberHandling 2023-08-25 13:21:57 -07: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
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 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
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 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