Commit Graph

1541 Commits

Author SHA1 Message Date
Sidharth Vinod f27015fcf8
Merge pull request #4547 from mermaid-js/renovate/major-workbox-monorepo
chore(deps): update dependency workbox-window to v7
2023-06-27 17:23:44 +05:30
Sidharth Vinod d2ff3a63e8
Merge pull request #4524 from mcbeelen/docs/label-color-timelines
docs: Howto on foreground color on timelines
2023-06-27 17:23:24 +05:30
Nikolay Rozhkov 605e8d4a92 Sankey refactoring 2023-06-27 14:11:06 +03:00
Marco Beelen e2f21a2d98
Lint fix 2023-06-27 13:03:31 +02:00
Marco Beelen f606ad2d9d
docs: Howto on foreground color on timelines 2023-06-27 11:23:54 +02:00
renovate[bot] 1730a229a5
chore(deps): update dependency workbox-window to v7 2023-06-27 09:21:55 +00:00
renovate[bot] f48652322d
chore(deps): update dependency jsdom to v22 2023-06-27 07:13:43 +00:00
Sidharth Vinod 2bec82707f
Merge pull request #4528 from Yokozuna59/bug/4527_fix-optional-style-issue
fix not rendered style when style is optional
2023-06-27 11:30:15 +05:30
Tom PERRILLAT-COLLOMB 5a96bd1b9f fix(flowchart): apply style on doublecircle 2023-06-27 00:22:59 +02:00
Yokozuna59 64a28be5e3 rename `getDiagramStyles` type into `DiagramStylesProvider` 2023-06-26 20:34:21 +03:00
Yokozuna59 8b67200717 change `options` paramter to any instead of `unknown` 2023-06-26 19:31:53 +03:00
Yokozuna59 3106ddbd1e add `getDiagramStyles` type and use it in `style.ts` 2023-06-26 19:28:22 +03:00
Yokozuna59 f020f4a292
remove `diagramTheme` arrow function return
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-06-26 19:12:04 +03:00
Yokozuna59 c439424511
Merge branch 'mermaid-js:develop' into bug/4527_fix-optional-style-issue 2023-06-26 19:06:08 +03:00
Sidharth Vinod 2fe5750be1
Merge pull request #4531 from Yokozuna59/fix-cspell-issue-in-md-files
fix cspell issues in *.md files
2023-06-26 21:32:44 +05:30
Nikolay Rozhkov b0825ebb35 Import at the top 2023-06-26 18:37:41 +03:00
Yokozuna59 20eb28e1a4 fix cspell issues in *.md files 2023-06-26 18:21:09 +03:00
Yokozuna59 f2c40271b2 change `diagramTheme` and `themes` to return `string` 2023-06-26 18:06:48 +03:00
renovate[bot] f90a7dc784 fix(deps): update all patch dependencies 2023-06-26 03:12:45 +00:00
Nikolay Rozhkov a38733346f Removed unnecessary configs and extra code 2023-06-25 21:56:14 +03:00
Tom PERRILLAT-COLLOMB 61e5dbeaa6 fix(class): keep members in namespace classes 2023-06-25 00:15:35 +02:00
Nikolay Rozhkov 6a893a758b Styles are optional 2023-06-25 01:07:11 +03:00
Nikolay Rozhkov 1d6074dbfa Sankey: Use [] instead of Array 2023-06-25 00:42:12 +03:00
Nikolay Rozhkov b23e86aea3 Added options for coloring 2023-06-25 00:22:36 +03:00
Nikolay Rozhkov 1674f12b62 Renamed sankey to sankey-beta 2023-06-24 23:11:54 +03:00
Yokozuna59 07f6358a80
fix not rendered style when style is optional 2023-06-24 22:18:00 +03:00
Nikolay Rozhkov 2f281ba228 Improvements for sankey diagram after review 2023-06-24 22:02:18 +03:00
ellenealds b117265fcb
Update Tutorials.md
Added tutorial and application demo for AI generated Mermaid Mind Map
2023-06-23 19:08:13 +01:00
Nikolay Rozhkov d766ac6d20 Prettier 2023-06-22 23:50:11 +03:00
Nikolay Rozhkov 7ace602a6c Fixed linters 2023-06-22 23:24:41 +03:00
Nikolay Rozhkov c75c106490 Put styles back 2023-06-22 23:02:13 +03:00
Nikolay Rozhkov d9036c7af1 Added gradient for sankey and cleaned code 2023-06-22 21:26:39 +03:00
Nikolay Rozhkov 518da3236f Remove unnecessary parsing stage from render and prepare text before parsing 2023-06-22 18:28:02 +03:00
Nikolay Rozhkov 104aece46e Cleanup sankey diagrams according code review 2023-06-22 17:35:46 +03:00
Nikolay Rozhkov 9a29066426 Ensure that sankey keyword does not intefere with csv 2023-06-22 16:53:44 +03:00
Nikolay Rozhkov be9cd480aa Sankey syntax has beed reduced 2023-06-22 15:58:09 +03:00
Nikolay Rozhkov 272615e580 Fixed tests and added node alignment 2023-06-21 03:54:55 +03:00
Nikolay Rozhkov bc33c8210c Merge branch 'develop' into feature/4492_sankey-diagrams 2023-06-21 03:00:27 +03:00
Nikolay Rozhkov 7bc5c1930e Fix specs 2023-06-21 02:58:25 +03:00
Nikolay Rozhkov 24d9f59d69 Fix specs 2023-06-21 02:52:21 +03:00
Nikolay Rozhkov 6c6efb24f4 Fix graph width 2023-06-21 01:58:57 +03:00
Nikolay Rozhkov 362648b74b Trim trailing spaces 2023-06-21 01:37:06 +03:00
Nikolay Rozhkov a2c055ba5d CSV syntax implementation 2023-06-21 01:29:34 +03:00
Nikolay Rozhkov 6077ba5405 Updated syntax and fixed comments from review 2023-06-20 03:06:47 +03:00
Tobie Langel 53eada8028
Fix typo in quadrant chart documentation 2023-06-19 21:33:40 +02:00
renovate[bot] 14582fb13d
fix(deps): update all patch dependencies 2023-06-19 04:53:17 +00:00
Nikolay Rozhkov 1009bb8fb7 Prettify 2023-06-19 04:29:41 +03:00
Nikolay Rozhkov 6722ac7540 Multiple improvements on syntax
Syntax has been simplified
Removed extra initial states
Removed unused groups
Nodes can be wrapped in double qotes
Updated demo page
2023-06-19 04:02:40 +03:00
Nikolay Rozhkov 9dbb9872bc Fix linters 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov 19f858b73b Fixed nodes duplicates 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov d22131e2fb It can read syntax and draw diagram 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov f5add81e29 Simple flow is done 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov c41fc67254 Added nodes and paths 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov 81542142f5 Fix errors 2023-06-19 01:05:33 +03:00
Nikolay Rozhkov afaf87e414 At last something is working 2023-06-19 01:05:20 +03:00
Nikolay Rozhkov 1782f69c8f Increased mem for lint, fixed spell checking, run lint 2023-06-19 01:05:20 +03:00
Nikolay Rozhkov 40f7105ae4 Started renderer development 2023-06-19 01:05:20 +03:00
Nikolay Rozhkov 5eae790740 Sankey stream is ending on node only 2023-06-19 01:05:20 +03:00
Nikolay Rozhkov f71769e07b Attributes within strings 2023-06-19 01:05:09 +03:00
Nikolay Rozhkov b4b535f997 Recognizing attributes 2023-06-19 01:05:09 +03:00
Nikolay Rozhkov d2226604e4 Recognizing attrubutes 2023-06-19 01:05:09 +03:00
Nikolay Rozhkov 567686e140 Implementing new syntax 2023-06-19 01:05:09 +03:00
Nikolay Rozhkov ad95c99cc2 Started sankey syntax 2023-06-19 01:04:45 +03:00
Nikolay Rozhkov 8e001b92f2 Cleared sankey renderer 2023-06-19 01:02:50 +03:00
Nikolay Rozhkov 6b40b394c8 Picked state diagram as a sample for sankey 2023-06-19 01:02:50 +03:00
Nikolay Rozhkov c2417de5f1 Stated sankey backbone 2023-06-19 01:02:50 +03:00
Nikolay Rozhkov 116453d2a7 Desired syntax sankey 2023-06-19 01:02:49 +03:00
Nikolay Rozhkov 7f19e50403 Desired sankey syntax 2023-06-19 01:02:49 +03:00
Nikolay Rozhkov 4018fad416 Ideas about sankey diagram syntax 2023-06-19 01:02:49 +03:00
Sidharth Vinod 0c2b5d0d79
Revert change to if 2023-06-18 13:13:40 +05:30
Sidharth Vinod e3e12bbc78
Update `_id` to `id` 2023-06-18 13:02:35 +05:30
Sidharth Vinod bfa76af434
Merge branch 'develop' into pr/tomperr/3923
* develop: (783 commits)
  chore(deps): update all minor dependencies
  chore: Run codecov based on E2E test status
  change REAMDME.md coverage from coveralls into codecov
  Add codecov.yaml
  Upload E2E
  set normal mode for vitest coverage
  Fix path name
  Add codecov to unit tests
  Add codecov to E2E
  chore: Add coverage scripts
  chore: add excludes
  chore: update deps
  Merge coverages
  Add coverage paths
  Rebuild
  chore: update pnpm
  Add coverage for E2E tests
  rename plugin variable into info in infoDetector.ts
  remove cypress/platform/index.html
  update pnpm-lock.yaml
  ...
2023-06-18 12:45:58 +05:30
renovate[bot] 2ee37752c8 chore(deps): update all minor dependencies 2023-06-18 06:35:43 +00:00
Sidharth Vinod 3011b7a1ea
Merge branch 'develop' into sidv/E2ECoverage
* develop:
  Rebuild
  Fix lint
  Changed C4 stereotype braces to «»
2023-06-16 23:23:40 +05:30
Pierrick Wauquier 9efd9e8a45 defer a bit for electron to catch up 2023-06-16 18:01:52 +02:00
Sidharth Vinod 6d4a064df2
Merge pull request #4460 from jonathan-r-young/develop
Changed C4 stereotype braces to «»
2023-06-16 20:38:38 +05:30
Sidharth Vinod ecc4aa734b
Merge branch 'develop' into sidv/E2ECoverage
* develop: (43 commits)
  rename plugin variable into info in infoDetector.ts
  remove cypress/platform/index.html
  update pnpm-lock.yaml
  indent info.html files
  update pnpm-lock.yaml
  remove empty options in cypress info.spec.ts
  format and add theme to cypress info.html
  convert the cypress info.spec.js into ts
  add messing timeline and info demoes links
  change infoDb db export
  remove default export in info files
  resolve db import in info.spec.ts
  remove assigned variables to their variables and export db without default
  use object destructuring for getConfig in infoRenderer
  move default_info_db into infoDbOF
  remove id and diagram assigning in info loader
  assign returned variables to their variables
  remove handled `ts-ignore` in info diagram
  handle optional `.styles`
  add info fields interface
  ...
2023-06-16 20:31:52 +05:30
Sidharth Vinod 547358fc7e
Add coverage for E2E tests 2023-06-16 20:25:40 +05:30
Pierrick Wauquier aa1b998fbf always resolve in the end 2023-06-16 16:32:57 +02:00
steph 9a692b3437 update latest news section 2023-06-15 16:20:22 -07:00
Yokozuna59 95bba56bd8 rename plugin variable into info in infoDetector.ts 2023-06-16 00:07:06 +03:00
Yokozuna59 2b388ec6ec
Merge branch 'develop' into standardized-diagrams-definitions 2023-06-15 11:38:41 +03:00
Sidharth Vinod cae612dfff
Merge branch 'master' into develop
* master:
  Use script instead of npm package.
  feat: Add plausible
  update cSpell
  update latest news section
2023-06-15 12:27:47 +05:30
Sidharth Vinod 7cd62bd052
Revert patch changes 2023-06-15 12:25:56 +05:30
Sidharth Vinod 66116ef8a0
Add docker 2023-06-15 12:08:54 +05:30
Sidharth Vinod 08c1071382
Ignore localhost links 2023-06-15 12:06:29 +05:30
Sidharth Vinod 186de337b4
Remove duplication from Contributing.md 2023-06-15 12:04:37 +05:30
Sidharth Vinod ecec4d9e4c
Update development.md 2023-06-15 10:31:16 +05:30
Sidharth Vinod 1a6fd69f65
Merge branch 'develop' into pr/weedySeaDragon/3814
* develop: (815 commits)
  Move filetype Recommendations to the top
  Update docs
  Update integrations.md per review
  Disable coveralls
  Update coveralls
  Ignore bundlephobia
  Update docs
  strawman extension and mime type docs
  Update docs
  Rename info to note
  Rename "info" to "note"
  Update all patch dependencies
  Fix Directives Documentation
  Run docs:build
  Update tutorial link
  Run build
  Fix link to Tutorials from n00b-overview page
  Correct timeline spelling
  UPdated version to 10.2.3
  Remove old changelog
  ...
2023-06-15 09:49:26 +05:30
Yokozuna59 7e639bec3a convert the cypress info.spec.js into ts 2023-06-15 02:41:07 +03:00
Yokozuna59 689ffbf5a5 change infoDb db export 2023-06-15 01:01:35 +03:00
Yokozuna59 f630fba392 remove default export in info files 2023-06-14 23:27:27 +03:00
Yokozuna59 bf346ea155 resolve db import in info.spec.ts 2023-06-14 22:23:31 +03:00
Yokozuna59 d6bd59c46e remove assigned variables to their variables and export db without default 2023-06-14 22:09:15 +03:00
Yokozuna59 0cc93d38c6 use object destructuring for getConfig in infoRenderer 2023-06-14 22:04:28 +03:00
Yokozuna59 6ff33149e0 move default_info_db into infoDbOF 2023-06-14 22:01:27 +03:00
Yokozuna59 638c3691a8 remove id and diagram assigning in info loader 2023-06-14 21:14:55 +03:00
Yokozuna59 599fb3a728 assign returned variables to their variables 2023-06-14 20:13:22 +03:00
Yokozuna59 4b7ed7845b remove handled `ts-ignore` in info diagram 2023-06-14 17:28:37 +03:00
Yokozuna59 0c449bbd27 handle optional `.styles` 2023-06-14 17:27:04 +03:00
Yokozuna59 8d60ef6d0a add info fields interface 2023-06-14 13:54:09 +03:00
Yokozuna59 6af2438474 add default info db and recreate clear function for info 2023-06-14 13:48:39 +03:00
Sidharth Vinod 921bbd1a9f
Move filetype Recommendations to the top 2023-06-13 21:19:01 +05:30
Yokozuna59 750b1d2223 add HTML type and change svg type generic types 2023-06-13 16:56:31 +03:00
Yokozuna59 ae14f6a947 add parial parts to info graph 2023-06-13 18:50:08 +03:00
Yokozuna59 daee545e78 ignore ts check for renders until handle them 2023-06-13 17:59:41 +03:00
Yokozuna59 ab0eb6c9bf add `@types/d3-selection` to mermaid dev deps 2023-06-13 17:58:25 +03:00
Yokozuna59 2a5b122d0c standardize ts-ignore for info graph 2023-06-13 15:32:00 +03:00
Nicholas Bollweg e2a32e5040
Update integrations.md per review 2023-06-13 06:57:16 -05:00
Yokozuna59 f0b1529727 rename `inf` into `toggle` for better readability in infoDb 2023-06-13 13:27:15 +03:00
Yokozuna59 171d7a04f4 caps `DB` part in `DiagramDb` and `InfoDb` 2023-06-13 12:24:10 +03:00
Yokozuna59 d0e8074de7 remove empty styles in info diagram 2023-06-12 23:15:24 +03:00
Yokozuna59 e7b9b5a0a9 set styles as optional in `DiagramDefinition` 2023-06-12 23:10:20 +03:00
Yokozuna59 f35e0cafdf fix `TODs` type in erDiagram 2023-06-12 23:09:26 +03:00
Yokozuna59 c78ad7dbac create `ParseDirectiveDefinition` type for parsing directives 2023-06-12 21:11:34 +03:00
Yokozuna59 4320fe7839 return draw function export in info renderer 2023-06-12 20:46:18 +03:00
Yokozuna59 5b4356bd43 remove unnecessary typeof Error in info diagram renderer 2023-06-12 20:34:41 +03:00
Yokozuna59 98d9205e6f update info @ts-ignore comments deception 2023-06-12 19:49:37 +03:00
Yokozuna59 dfdfa63009 add `type` keyword for import for info diagram files 2023-06-12 19:44:36 +03:00
Yokozuna59 e6a48f8baf standardize info diagram definition
* create types
* remove unnessery db attributes
* convert js files to ts
* remove empty styles.js
2023-06-12 19:41:37 +03:00
Yokozuna59 372b57d540 create `DrawDefinition` function type 2023-06-12 19:36:54 +03:00
Nicholas Bollweg 64558ffa9c strawman extension and mime type docs 2023-06-12 09:09:29 -05:00
Yokozuna59 9573f336c3 standardize detectors loeader function definition with `DiagramLoader` type 2023-06-12 15:28:45 +03:00
Yokozuna59 6ced1673b0 standardize detector function definition with `DiagramDetector` type 2023-06-12 15:21:43 +03:00
Yokozuna59 e688138167 pref: change detectors from `.match` into `.test`
there is no need for matching, capturing results, and validating nullablity
just using `.test` would be enough and significantly faster

for more info, see https://stackoverflow.com/10940138/16476610
2023-06-12 14:45:08 +03:00
Yokozuna59 b11c511c5c remove unnecessary `@ts-ignore` and `@ts-nocheck` 2023-06-12 13:27:40 +03:00
Sidharth Vinod 8cbe1a9046
Fix lint 2023-06-12 15:23:43 +05:30
Sidharth Vinod 4a200473c9
Merge pull request #4467 from adamazing/patch-1
Correct "Bronze" spelling in timeline docs
2023-06-12 15:04:24 +05:30
Oliver Kopp ea138ef29f
Rename info to note 2023-06-12 09:48:28 +02:00
Oliver Kopp 355b471ca0
Merge branch 'develop' into patch-1 2023-06-12 09:09:29 +02:00
renovate[bot] a754f7b699
Update all patch dependencies 2023-06-12 05:43:36 +00:00
Adam Henley d32d935c44
Fix Directives Documentation
Signed-off-by: Adam Henley <adamazing@gmail.com>
2023-06-10 23:31:34 +12:00
Stanley Lim 19fab1f6a7 Update tutorial link 2023-06-09 16:52:49 -07:00
Sidharth Vinod 88bda42e74
Use script instead of npm package. 2023-06-10 01:37:39 +05:30
Sidharth Vinod 9b6f2ecf42
feat: Add plausible 2023-06-10 01:20:48 +05:30
Stanley Lim 6e657e56a0
Fix link to Tutorials from n00b-overview page 2023-06-09 10:41:54 -07:00
steph a51e6e06f7 update latest news section 2023-06-08 21:55:20 -07:00
Adam Henley 768e0122e2
Correct timeline spelling
Spotted a spelling mistake while browsing the docs. 

s/Broze/Bronze/
2023-06-09 16:40:28 +12:00
Laura Valentine Tscharner b79f9bdced docs(sequence): actor creation and destruction #1838 2023-06-08 17:44:36 +01:00
Laura Valentine Tscharner d06bb05c5f feat(sequence): actor creation and destruction #1838 2023-06-08 17:17:31 +01:00
Knut Sveidqvist 75f9de3d4a UPdated version to 10.2.3 2023-06-08 16:24:25 +02:00
Knut Sveidqvist 81e86bc87c Merge branch '10.2.2' into develop 2023-06-08 15:07:31 +02:00
Sidharth Vinod 0ad084182a
Remove old changelog 2023-06-08 11:42:14 +05:30
Sidharth Vinod 88b94dea66
Merge branch 'develop' into pr/MikeJeffers/4416
* develop: (45 commits)
  Add nextra to cSpell
  Update docs: Added Nextra to Blogs category on integrations page
  Render empty lines correctly
  Restore classes on edges for elk
  Update diagram proposal
  Update docs
  Added CKEditor and GitHub Writer to available integrations.
  Fix exceptions for empty lines
  chore(deps): update all patch dependencies
  build(deps): fix broken pnpm-lock.yaml file
  Mermaid version 10.2.0
  Mermaid Version 10.2.0-rc.4
  Label background fix
  Test commit
  Fix for regression error in sequenceDiagrams
  Update all minor dependencies
  Update all patch dependencies
  Update docs
  Add contributors profile url
  ignore ZenUML types
  ...
2023-06-08 00:16:49 +05:30
Sidharth Vinod ad09d63f65
only split if string is over length. 2023-06-08 00:07:33 +05:30
微笑 eef6745272
Update docs: Added Nextra to Blogs category on integrations page 2023-06-07 16:06:52 +08:00
mikejeffers 0cb6df1ef8 refactor text width computing func 2023-06-06 23:11:07 -04:00
Jonathan Young ab627802a8 Changed C4 stereotype braces to «» 2023-06-05 12:01:37 +01:00
Sidharth Vinod f20ff4d580
Merge pull request #4436 from slab/zh-mermaid-empty-text
Fix exceptions for empty lines
2023-06-05 11:43:43 +05:30
Zihua Li 2a6603b33a Render empty lines correctly 2023-06-04 16:24:41 +08:00
Yoav Sternberg da1beb36bf Restore classes on edges for elk 2023-06-02 22:10:39 +03:00
Knut Sveidqvist d2409dc163 Setting version to 10.2.2 2023-06-02 08:50:59 +02:00
Sidharth Vinod d148a65967
Merge branch 'develop' into sidv/zenuml
* develop: (22 commits)
  Update docs
  Added CKEditor and GitHub Writer to available integrations.
  chore(deps): update all patch dependencies
  build(deps): fix broken pnpm-lock.yaml file
  Mermaid version 10.2.0
  Mermaid Version 10.2.0-rc.4
  Label background fix
  Test commit
  Fix for regression error in sequenceDiagrams
  Fix visibility issue for fields
  fix parsing issue with class diagrams
  fix: Use unicode arrows in quadrant chart axis
  fix: Use unicode arrows in quadrant chart axis
  fix lint command
  Bump version
  Back to JS with jsdoc types
  Add unsupported text
  Reduce changes in test
  Fix deps
  Fix lockfile
  ...
2023-06-02 11:59:12 +05:30
Knut Sveidqvist 55092f532f #4446 Improved regular expression 2023-06-01 17:39:54 +02:00
Knut Sveidqvist 7b6cb4f974 #4446 Updating the cleanup criteria 2023-06-01 16:30:57 +02:00
Knut Sveidqvist 98e75959cc #4438 Reverted to the changes from #4285 2023-06-01 12:53:21 +02:00
Sidharth Vinod 0cec854f3b
Fix download 2023-05-31 19:33:30 +05:30
Sidharth Vinod abcae14fa7
Fix compile error in docs. 2023-05-31 19:10:42 +05:30
Sidharth Vinod 641098e602
Fix Contributor link in homepage 2023-05-31 19:06:36 +05:30
Anna Tomanek 180c695f2f
Added CKEditor and GitHub Writer to available integrations. 2023-05-31 12:15:40 +02:00
Zihua Li ce9bdcc53f Fix exceptions for empty lines 2023-05-29 21:00:37 +08:00
renovate[bot] 38d9ebc5da chore(deps): update all patch dependencies 2023-05-29 05:19:50 +00:00
Sidharth Vinod 5fd5de10b5
Merge pull request #4400 from mermaid-js/sidv/quadrantArrows
Quadrant chart unicode arrows
2023-05-26 17:21:26 +05:30
Knut Sveidqvist bd1343648e Merge branch 'master' into develop 2023-05-24 19:20:47 +02:00
Knut Sveidqvist 8d43b87200 Mermaid version 10.2.0 2023-05-24 19:03:22 +02:00
Knut Sveidqvist 9c12c42a26 Mermaid Version 10.2.0-rc.4 2023-05-24 18:18:54 +02:00
Knut Sveidqvist 5bfe32524d Label background fix 2023-05-24 12:53:28 +02:00
Knut Sveidqvist 9fb25310e8 Fix for regression error in sequenceDiagrams 2023-05-24 11:27:17 +02:00
Sidharth Vinod 102b9bc8c3
Merge branch 'develop' into sidv/zenuml
* develop:
  Update all minor dependencies
  Update all patch dependencies
2023-05-23 10:36:02 +05:30
Sidharth Vinod 9cec5ae1c4
Merge branch 'sidv/zenuml' of https://github.com/mermaid-js/mermaid into sidv/zenuml
* 'sidv/zenuml' of https://github.com/mermaid-js/mermaid:
  Update docs
  Add contributors profile url
  ignore ZenUML types
  fixed typo and update peerDependencies version
  update pnpm-lock.yaml
  Address mermaid-zenuml PR comments
  Update all minor dependencies
  Update all patch dependencies
  Fix vitepress build
2023-05-23 10:34:08 +05:30
renovate[bot] ac23787084 Update all minor dependencies 2023-05-22 07:53:27 +00:00
renovate[bot] ad61f4c6b1 Update all patch dependencies 2023-05-22 06:06:37 +00:00
mikejeffers 496585b543 handle trailing whitespace on lines 2023-05-20 16:04:58 -04:00
mikejeffers f535640c1e Fixes #4408: solve infinite loop on words that exceed width constraint with word break 2023-05-20 14:59:04 -04:00
Alois Klink acc19db5bb Merge branch 'develop' into sidv/zenuml
Conflicts:
	pnpm-lock.yaml
2023-05-17 19:59:58 +01:00
dontry a00616863d Add contributors profile url 2023-05-17 19:26:43 +01:00
dontry 49c97dad4c ignore ZenUML types 2023-05-17 19:26:43 +01:00
Alois Klink e984b34af4 Merge branch 'develop' into sidv/zenuml
* develop: (66 commits)
  Update docs
  Update docs
  Improve the wording of security level values
  Added quadrantChart to the side bar
  Added e2e test cases with some fixes
  Added documentation for the quadrantChart
  Restructured the build function and addressed more review comment
  Fixed some parser issue and added test cases for the parser
  Fixed review comment
  Update docs
  Converted files to typescript and added proper types
  Fix blog linting
  Debug fetch-contributors
  Fix lockfile
  Revert "Replace esno & ts-node with tsx"
  [draft] Added support for quadrant chart
  Fix lockfile
  Fix build
  Update pnpm-lock
  Replace esno & ts-node with tsx
  ...

Merge conflicts:
  - pnpm-lock.yaml
2023-05-17 19:25:29 +01:00
Dong Cai 27e59e5adc fixed typo and update peerDependencies version 2023-05-17 19:10:19 +01:00
Dong Cai bb400d53b9 Address mermaid-zenuml PR comments 2023-05-17 19:09:48 +01:00
renovate[bot] 9eeeb97e15 Update all patch dependencies 2023-05-17 09:17:43 +00:00
Sidharth Vinod 0ef115f69a
Fix vitepress build 2023-05-17 11:28:17 +05:30
Sidharth Vinod 6a89ef94f7
Cleanup 2023-05-17 11:21:03 +05:30
Sidharth Vinod 97be4983f0
Merge branch 'develop' into sidv/zenuml
* develop: (66 commits)
  Update docs
  Update docs
  Improve the wording of security level values
  Added quadrantChart to the side bar
  Added e2e test cases with some fixes
  Added documentation for the quadrantChart
  Restructured the build function and addressed more review comment
  Fixed some parser issue and added test cases for the parser
  Fixed review comment
  Update docs
  Converted files to typescript and added proper types
  Fix blog linting
  Debug fetch-contributors
  Fix lockfile
  Revert "Replace esno & ts-node with tsx"
  [draft] Added support for quadrant chart
  Fix lockfile
  Fix build
  Update pnpm-lock
  Replace esno & ts-node with tsx
  ...
2023-05-16 23:26:35 +05:30
Dong Cai 82eccb70fa fixed typo and update peerDependencies version 2023-05-16 23:41:53 +10:00
Justin Greywolf 78efac2c51 Fix visibility issue for fields 2023-05-16 06:13:37 -07:00
Justin Greywolf 58ec2686da Merge branch 'release/10.2.0' of https://github.com/mermaid-js/mermaid into release/10.2.0 2023-05-16 04:12:27 -07:00
Justin Greywolf 3a5c4a149f fix parsing issue with class diagrams 2023-05-16 04:12:03 -07:00
Dong Cai cce5505662 Address mermaid-zenuml PR comments 2023-05-16 20:30:25 +10:00
Sidharth Vinod b925849893
fix: Use unicode arrows in quadrant chart axis 2023-05-15 13:36:35 +05:30
Sidharth Vinod d86d1e7887
fix: Use unicode arrows in quadrant chart axis 2023-05-15 13:32:59 +05:30
Knut Sveidqvist 132ce2fb4b Merge branch 'develop' into release/10.2.0 2023-05-15 09:50:02 +02:00
Knut Sveidqvist 458ac84749
Merge pull request #4383 from amsubhash/feature/4282_add_quadrant_chart
Added support for quadrant chart
2023-05-15 09:49:23 +02:00
Knut Sveidqvist fa3e800802 Merge remote-tracking branch 'origin/release/10.2.0' into release/10.2.0 2023-05-15 08:52:13 +02:00
Knut Sveidqvist c755e45961
Merge pull request #4349 from danielcompton/patch-1
Indent subgraph sections
2023-05-15 08:46:38 +02:00
Gusted a991c32732
Improve the wording of security level values
- The current wording can be misinterpreted because, for some people
'tags' might not be associated with HTML tags.
- Improve the wording to make it clear that HTML tags are intended.
2023-05-13 20:25:04 +02:00
Subhash Halder c4aebe6d57 Added quadrantChart to the side bar 2023-05-13 20:28:49 +05:30
Subhash Halder 0f354ff974 Added e2e test cases with some fixes 2023-05-13 19:45:45 +05:30
Subhash Halder b2a5ddcd85 Added documentation for the quadrantChart 2023-05-13 17:33:31 +05:30
Subhash Halder 816800adcd Restructured the build function and addressed more review comment 2023-05-12 20:16:26 +05:30
Subhash Halder fe9c109837 Fixed some parser issue and added test cases for the parser 2023-05-12 17:09:14 +05:30
Subhash Halder 1253733962 Fixed review comment 2023-05-11 12:19:59 +05:30
Subhash Halder 9a7dbab5ed Converted files to typescript and added proper types 2023-05-09 20:17:04 +05:30
Sidharth Vinod 93370a8e11
Merge branch 'develop' into release/10.2.0
* develop:
  Updated url
  Updated url
  Updated url
  Updated url
  add blog post to blog page
  add the latest blog post
2023-05-09 10:24:38 +05:30
Sidharth Vinod 4e3c2adffc
Merge branch 'master' into develop
* master:
  Updated url
  Updated url
  Updated url
  Updated url
  add blog post to blog page
  add the latest blog post
2023-05-09 10:24:14 +05:30
Sidharth Vinod 75e73a4f03
Bump version 2023-05-09 10:20:33 +05:30
Sidharth Vinod 17c798a1b3
Merge branch 'develop' into release/10.2.0
* develop: (49 commits)
  Debug fetch-contributors
  Fix lockfile
  Revert "Replace esno & ts-node with tsx"
  Fix lockfile
  Fix build
  Update pnpm-lock
  Replace esno & ts-node with tsx
  chore(deps): update all minor dependencies
  chore(deps): update all patch dependencies
  Fix missing `await` in usage document
  Add integrations
  test: fix classDiagramGrammer unit test
  restore path calculation for grammar test
  Allow overlapping notes
  remove spellcheck warnings
  Fix path in test
  fix import issue
  requested update
  Reject ridiculous years in Gantt charts.
  Remove unnecessary dependencies
  ...
2023-05-09 10:13:15 +05:30
Sidharth Vinod bd53e9d449
Debug fetch-contributors 2023-05-09 09:56:40 +05:30
Sidharth Vinod 3677d44a58
Revert "Replace esno & ts-node with tsx"
This reverts commit 75337287ea.
2023-05-08 22:08:11 +05:30
Subhash Halder 272ccded93 [draft] Added support for quadrant chart 2023-05-08 19:23:58 +05:30
Sidharth Vinod 1b48c19897
Merge branch 'develop' into sidv/contributors
* develop:
  chore(deps): update all minor dependencies
  requested update
  Update packages/mermaid/src/docs/syntax/flowchart.md
  Update docs
  Docs: Flowchart - minor verbiage update
2023-05-08 18:51:10 +05:30
Sidharth Vinod 2dc780a766
Merge pull request #4315 from mermaid-js/huynhicode-docs-flowchart
Docs: Flowchart - minor verbiage update
2023-05-08 18:49:47 +05:30
Sidharth Vinod 8e9d1bfc35
Merge branch 'develop' into sidv/contributors
* develop:
  chore(deps): update all patch dependencies
2023-05-08 18:46:39 +05:30
Sidharth Vinod 75337287ea
Replace esno & ts-node with tsx 2023-05-08 18:46:14 +05:30
renovate[bot] d7e140a829 chore(deps): update all patch dependencies 2023-05-08 10:08:10 +00:00
Knut Sveidqvist 25a7164df2
Merge branch 'develop' into sidv/contributors 2023-05-08 09:17:49 +02:00
Knut Sveidqvist a226b073a0
Merge pull request #4374 from remcohaszing/add-integrations
Add integrations
2023-05-08 09:13:16 +02:00
Knut Sveidqvist d1690a03db
Updated url 2023-05-08 09:09:32 +02:00
Knut Sveidqvist d8c67cd2c9
Updated url 2023-05-08 09:08:18 +02:00
Knut Sveidqvist ccc87be462
Merge branch 'develop' into Overlap-notes-messages 2023-05-08 09:04:19 +02:00
Knut Sveidqvist f8b029de0e
Merge pull request #4376 from rhysd/doc/missing_await
Fix missing `await` in usage document
2023-05-08 09:01:22 +02:00
rhysd c6c3b07c33 Fix missing `await` in usage document 2023-05-08 13:44:40 +09:00
Remco Haszing 7df21c01ec
Add integrations
This adds the projects `mermaid-isomorphic`, `rehype-mermaidjs`, and
`gatsby-remark-mermaid` to the integrations page.

This also removes `remark-mermaid`. This project is outdated and
unmaintained.
2023-05-07 21:00:17 +02:00
Alois Klink a1e64c2102 test: fix classDiagramGrammer unit test
The classDiagramGrammer.spec.ts unit test had some bad filepath
manipulation that fails on UNIX platforms.

Instead, we can use the recommended method from the Node.JS
documentation, see https://nodejs.org/api/esm.html#importmetaurl.

Fixes: 221640aa25
2023-05-07 18:05:43 +01:00
Knut Sveidqvist 7f9ebcf2c6
Merge pull request #4361 from tcbuzor/feature-4146-eraggregation
add master detail relationship support
2023-05-07 08:04:07 +02:00
Justin Greywolf 7e240dac22 restore path calculation for grammar test 2023-05-04 09:15:21 -07:00
Justin Greywolf 06fdb95389 Allow overlapping notes 2023-05-03 22:15:59 -07:00
Justin Greywolf 43819f1bd8 Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop 2023-05-03 17:01:43 -07:00
Justin Greywolf 221640aa25 Fix path in test 2023-05-03 17:01:27 -07:00
Justin Greywolf 5f1a507820
Merge pull request #4206 from ksilverwall/feature/class-namespace
Implement `package` on class diagram
2023-05-03 16:58:08 -07:00
Justin Greywolf 61e31b3fe6 fix import issue 2023-05-03 16:29:57 -07:00
Justin Greywolf e903f06f75 Merge branch 'develop' into svgDrawRefactor 2023-05-03 16:18:17 -07:00
Steph 35051f1946 add blog post to blog page 2023-05-02 23:50:14 -07:00
Steph a5e0630e21 requested update 2023-05-02 23:41:14 -07:00
Atul Varma 725b80831e Reject ridiculous years in Gantt charts. 2023-05-02 09:46:59 -04:00
Sidharth Vinod cb3982de7e
Remove unnecessary dependencies
Co-authored-by: Alois Klink <alois.klink@gmail.com>
2023-05-02 14:16:35 +05:30
Steph b30e9620f4
Update packages/mermaid/src/docs/syntax/flowchart.md
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-05-01 23:04:04 -07:00
Steph 4c9e35e269 add the latest blog post 2023-05-01 22:48:29 -07:00
eopaant 18571052ad added style to reflect true aggregation 2023-05-01 22:34:36 -05:00
Kazuki Tsunemi 0d373f3a6a Modify jsdoc of addClasses 2023-05-01 19:12:39 +09:00
Kazuki Tsunemi 70a52da393 namespace rect is not filled 2023-05-01 19:06:46 +09:00
eopaant 3549ffc4ac add master detail relationship support 2023-04-30 13:19:35 -05:00
Oliver Kopp df1095166e Add hint on "flowchart" and "graph" (and some more styling) 2023-04-30 20:16:24 +02:00
raghvendra 38efaf93c8 updating es6 rules in flowchart diagram 2023-04-29 16:06:17 +05:30
Sidharth Vinod dfa65c5fc8
remove nr 2023-04-29 11:30:11 +05:30
Sidharth Vinod 32928224e5
Remove contributor-names from git 2023-04-29 10:55:24 +05:30
Sidharth Vinod 4456c2a267
Fix user-avatar copying 2023-04-29 10:55:06 +05:30
Sidharth Vinod 9e0410e0d3
Simplify contributors 2023-04-29 10:51:03 +05:30
Sidharth Vinod cdc68d99fe
Cleanup 2023-04-29 10:50:30 +05:30
Sidharth Vinod baf5e8f6b2
Fix docs, mmd -> mermaid 2023-04-29 10:13:00 +05:30