Commit Graph

2229 Commits

Author SHA1 Message Date
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
Nikolay Rozhkov f346c3f511
Merge branch 'develop' into patch-1 2023-10-06 12:42:56 +03:00
Martin Pedersen 41c7b08c99 prevent-inherited-lineheights-on-edgeterminal-4083 2023-10-05 16:52:15 +02:00
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
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
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
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 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 279c1ee6ba Merge branch 'master' into develop 2023-10-02 10:22:21 +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
Dennis Ko 595c63973f
docs: typo fixed 2023-09-30 23:34:48 +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
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 faa1fda7ba
refactor: Unify the edgeMarker adding logic 2023-09-14 15:25:52 +05:30
Sidharth Vinod 29e5e66481
refactor: Unify the edgeMarker adding logic 2023-09-14 15:20:21 +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
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 a4ba192aad
Merge branch 'develop' into feat/4746_add_er_alias 2023-08-25 03:06:47 +00:00
Justin Greywolf 0881619fcb Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling 2023-08-24 14:05:19 -07: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
Tom PERRILLAT-COLLOMB 56419f7459 fix(er): bug if relationship is declared first 2023-08-24 16:16:40 +02: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 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
Tom PERRILLAT-COLLOMB a7ae1b6890 feat(er): use square brackets to add aliases 2023-08-22 11:05:09 +02:00
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 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 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
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
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
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 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 4d84f1cd71
feat(sankey): Show values (#4674) 2023-08-20 21:18:09 +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
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
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 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 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 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 ef8b75a6da Remove whitespace on empty line 2023-08-17 03:32:42 +00:00
Reda Al Sulais 77d8e15dc4 remove `chart` from `pie.spec.ts` description 2023-08-17 02:21:15 +03: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
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 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
renovate[bot] 2a8374312f
Update all minor dependencies 2023-08-14 03:07:45 +00:00
renovate[bot] b60410161d
Update all patch dependencies 2023-08-14 02:02:28 +00:00
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