Commit Graph

6154 Commits

Author SHA1 Message Date
Ashley Engelund (weedySeaDragon @ github) 3c0727c744 diagram-v2 spec: added tests for labels, composite; fix typos, 2022-10-11 10:16:57 -07:00
Basti Ortiz 7391baae34
fix: ensure that `ParseErrorFunction` type alias is compile-time only 2022-10-12 01:14:09 +08:00
Basti Ortiz 4b31112bcb
fix: apply new types to the Mermaid API 2022-10-12 01:07:17 +08:00
Basti Ortiz 17ff584d15
feat: account for the fact that an error may be a `DetailedError` 2022-10-12 01:06:31 +08:00
Ashley Engelund (weedySeaDragon @ github) 79f4eb2e32 stateDb: methods for classDef, (style) classes; update extract(); code cleanup + DRY 2022-10-11 09:53:45 -07:00
Basti Ortiz e8cd3c0baf
fix: use `ParseErrorFunction` alias for mocks 2022-10-12 00:53:10 +08:00
Basti Ortiz 15f31f9d95
feat: make `parseError` function more type-safe 2022-10-12 00:32:41 +08:00
Ashley Engelund (weedySeaDragon @ github) 370806365f parser: idStatement returns stmt: 'state'...; add classDef, class statements 2022-10-11 08:36:04 -07:00
Ashley Engelund (weedySeaDragon @ github) 15dd60ab85 state demo: add more diagrams, add explanatory text 2022-10-11 08:34:30 -07:00
Ashley Engelund (weedySeaDragon @ github) d1f3b889d6 add cypress tests for classDefs and applying classes to states 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 7b7db4f60e (minor) API: removed unused flowRenderer import; add comment 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 965eae5f45 add spec for stateDB addStyleClass 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 278a19f87a state demo add classDefs to example with explanations; add some headers; update composite from docs 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 56f3fa6495 API: getClasses() with the diagram renderer (not flowchart renderer); add const 2022-10-11 08:33:43 -07:00
Knut Sveidqvist 551b37f969 #3252 Handling for trailing whitespaces in subgraph titles 2022-10-11 12:29:39 +02:00
Sidharth Vinod 9660b0e9fb
docs: Fix initial install step 2022-10-11 11:48:52 +05:30
Dima Kurilo f05f07e44f add the way to add notes to class diagram 2022-10-10 20:53:09 -04:00
Michael Maier 7e8631dd19 fix: vertex property `props` is overwritten instead of being merged with new value
Fixes #3263
2022-10-10 17:59:29 +02:00
Sidharth Vinod 8ffa7e6334
docs: Update twitter link 2022-10-10 20:47:34 +08:00
Sidharth Vinod 2fb1876023
Merge pull request #3627 from mermaid-js/renovate/configure
Configure Renovate
2022-10-10 20:43:26 +08:00
Sidharth Vinod f5692e742b
chore: renovate lint 2022-10-10 20:39:25 +08:00
Knut Sveidqvist d7e7498fea
Merge pull request #3630 from mermaid-js/sidv/node18
chore: Node 18
2022-10-10 14:25:58 +02:00
Matthieu MOREL 8ea1a1a077
Update renovate.json 2022-10-10 14:22:04 +02:00
Knut Sveidqvist 7cd281eea8
Merge pull request #3628 from mermaid-js/sidv/volta
chore: Add volta
2022-10-10 14:18:53 +02:00
Sidharth Vinod 1570eb7b73
chore: Bump node to v18 2022-10-10 20:13:50 +08:00
Knut Sveidqvist 5060c9f390
Merge pull request #3596 from mermaid-js/sidv/fixImportDoc
docs: Add mermaid version to script URL
2022-10-10 14:11:34 +02:00
Sidharth Vinod 1fea43e125
chore: Set node v16 2022-10-10 20:10:23 +08:00
Sidharth Vinod ef47cc5b6f
chore: Add volta 2022-10-10 20:07:59 +08:00
Knut Sveidqvist e876c35ef9
Merge pull request #3591 from mermaid-js/sidv/fixDetectDiagram
fix Detect diagram fallback
2022-10-10 13:43:41 +02:00
renovate[bot] 800cb65706
chore(deps): add renovate.json 2022-10-10 11:27:41 +00:00
Sidharth Vinod 25ff005dd7
Merge pull request #3614 from Aniket1026/Aniket
Contribution.md updates
2022-10-10 14:15:15 +08:00
jasmaa 98f4c2d3ae
Update pie docs to reflect label order change 2022-10-09 22:20:59 -04:00
Aniket 72c266b242 Contrbution steps updated 2022-10-10 01:25:59 +05:30
lemontreejs 2bb0cf17d1 refactor: use `posix.join()` instead of replacing `\` 2022-10-09 21:03:57 +05:30
Aniket 828f69f011 Link added for local setup 2022-10-09 20:54:51 +05:30
Aniket ad4b079d63 contribution.md updated 2022-10-09 20:54:51 +05:30
Sidharth Vinod d3de78ffce
Merge branch 'develop' into sidv/linkDocsSource
* develop:
  docs: Fix docs path in Contributing.md
2022-10-09 22:30:04 +08:00
Sidharth Vinod 5d4d7c5fbf
Merge pull request #3579 from aryandeelwal/docs_keywords_branch
docs:Improved keywords in index.html
2022-10-09 22:28:47 +08:00
Sidharth Vinod 238b15df9d
Merge branch 'sidv/noVar' into pr/aryandeelwal/3579
* sidv/noVar: (77 commits)
  fix: Fix eslint warnings
  docs: Fix docs path in Contributing.md
  Fix file name during "dev" script
  docs: Sync
  capitalization fix
  format Setup.md
  format cSpell.json
  format docs YAML
  format cSpell.json
  separate words & ignoreWords
  fix: "skin param"
  ignore the changelog
  Revert "fix: "skin param""
  fix: "skin param"
  fix: "corresponding"
  known terms
  known terms
  fix: "JetBrains"
  known terms
  known terms
  ...
2022-10-09 22:13:36 +08:00
Sidharth Vinod 6e2deb1fa7
fix: Fix eslint warnings 2022-10-09 22:08:32 +08:00
Sidharth Vinod 1255c0064b
docs: Fix docs path in Contributing.md 2022-10-09 21:12:14 +08:00
Sidharth Vinod 8e93ffffc6
docs: Fix docs path in Contributing.md 2022-10-09 21:11:22 +08:00
Sidharth Vinod c55add73f6
docs: Add link to docs source 2022-10-09 21:00:02 +08:00
Sidharth Vinod d2300d375b
Merge pull request #3608 from vallsv/patch-1
Fix file name during "pnpm run dev" script
2022-10-09 20:25:21 +08:00
jasmaa 053c966d5f
Order pie chart slices clockwise by order of entries 2022-10-08 16:51:11 -04:00
Valentin Valls 235797a97c
Fix file name during "dev" script 2022-10-08 19:22:55 +02:00
Valentin Valls 1fa84a30c9 Fill inheritance arrow with background color 2022-10-08 19:05:27 +02:00
lemontreejs 622b441eb0 fix: docs path in windows 2022-10-08 20:06:57 +05:30
Sidharth Vinod 508fbccdb4
docs: Add twitter 2022-10-08 19:20:06 +08:00
Sidharth Vinod ad0cb7ff3c
Merge branch 'sidv/fixImportDoc' of https://github.com/mermaid-js/mermaid into sidv/fixImportDoc
* 'sidv/fixImportDoc' of https://github.com/mermaid-js/mermaid:
  Update packages/mermaid/src/docs/n00b-gettingStarted.md
2022-10-08 19:15:08 +08:00